
v3.2 [Apr 18, 2015]
FEATURES
- utf8ToInt() now checks that its input is valid UTF-8 and returns NA if it is not.
- install.packages() now allows type = "both" with repos = NULL if it can infer the type of file.
- nchar(x, *) and nzchar(x) gain a new argument keepNA which governs how the result for NAs in x is determined. For the R 3.2.x series, the default remains FALSE which is fully back compatible. From R 3.3.0, the default will change to keepNA = NA and you are advised to consider this for code portability.
- news() more flexibly extracts dates from package ‘NEWS.Rd’ files.
- lengths(x) now also works (trivially) for atomic x and hence can be used more generally as an efficient replacement of sapply(x, length) and similar.
- The included version of PCRE has been updated to 8.37, a bug-fix release.
- diag() no longer duplicates a matrix when extracting its diagonal.
- as.character.srcref() gains an argument to allow characters corresponding to a range of source references to be extracted.