This blog is updated daily.
A general description is here.
‘matrix(x, n,m)’ now warns in more cases where ‘length(x)’ is larger than ‘n * m’; suggested by Abby Spurdle and Wolfgang Huber in Feb. 2021 on the R-devel mailing list.
‘qnbinom(p, size, mu)’ for large ‘size/mu’ is corrected for a range of cases (PR#18095); similarly for the ‘(size, prob)’ parametrization of the negative binomial.
‘qpois()’ and ‘qbinom()’ are better and/or faster for extreme cases.
The underlying C code has been modularized and is common to all four cases of discrete distributions.
‘checkRdContents()’ is now exported from ‘tools’; it and also ‘checkDocFiles()’ have a new option ‘chkInternal’ allowing to check Rd files marked with keyword ‘"internal"’ as well. The latter can be activated for ‘R CMD check’ via environment variable ‘_R_CHECK_RD_INTERNAL_TOO_’.
R now provides a shorthand notation for creating functions, e.g. ‘\(x) x + 1’ is parsed as ‘function(x) x + 1’.
R now provides a simple native forward pipe syntax ‘|>’. The simple form of the forward pipe inserts the left-hand side as the first argument in the right-hand side call. The pipe implementation as a syntax transformation was motivated by suggestions from Jim Hester and Lionel Henry.