This blog is updated daily.
A general description is here.
‘model.matrix.default()’ now catches and names an unsuitable factor before calling ‘contrasts<-’ (PR#19148), and no longer warns about unused elements of ‘contrasts.arg’ (PR#18313, obviating an all too common workaround using ‘suppressWarnings’).
‘as.vector’ gains methods for classes ‘Date’, ‘POSIXct’, and ‘difftime’ that call methods for ‘as.list’ or ‘as.character’ when ‘mode="list"’ or ‘"character"’. The method for class ‘POSIXlt’ is changed to do the same and for all other modes work via class ‘POSIXct’, a corollary being that ‘as.vector(., mode="double")’ now works as ‘as.double(.)’ rather than signalling an error.
Fix for ‘contourLines()’ and ‘contour()’ with negative z values (PR#19279). Thanks to Kevin Ushey.
‘as.environment(x)’ and ‘pos.to.env(x)’ returned a list rather than an environment for numeric ‘x’ of length greater than one. Now they signal an error. Thanks to Adam Berkeš for the report (PR#19306).
