This blog is updated daily.
A general description is here.
‘sample()’ and ‘sample.int()’ have additional sanity checks on their ‘size’ and ‘n’ arguments.
‘all.equal.numeric()’ gains a sanity check on its ‘tolerance’ argument - calling ‘all.equal(a, b, c)’ for three numeric vectors is a surprisingly common error.
‘mean(na.rm =)’, ‘rank(na.last =)’, ‘barplot(legend.text =)’, ‘boxplot()’, ‘contour(drawlabels =)’, ‘polygon(border =)’ and ‘methods::is(class2 =)’ have more robust sanity checks on some of their arguments.
‘R CMD Rd2pdf’ (used by ‘R CMD check’) has a more robust sanity check on the format of ‘\alias{}’ commands.
‘data()’ now checks that its (rarely used) ‘list’ argument is a character vector - a couple of packages passed other types and gave incorrect results.
‘which()’ now checks its ‘arr.ind’ argument is TRUE rather coercing to logical and taking the first element - which gave incorrect results in package code.