This blog is updated daily.
A general description is here.
‘R CMD build’ now runs build-time ‘\Sexpr’ expressions.
‘R CMD check’ will skip the check for non-ascii characters in code or
data if the environment variables ‘_R_CHECK_ASCII_CODE_’ or
‘_R_CHECK_ASCII_DATA_’ are respectively set to ‘FALSE’. (Suggestion of
Vince Carey.)
‘R CMD check’ has a new argument ‘--extra-arch’ to confine tests to those needed to check an additional sub-architecture.
Its check for “Subdirectory 'inst' contains no files” is more thorough: it looks for files, and warns if there are only empty directories.
Environment variables such as ‘R_LIBS’ and those used for customization can be set for the duration of checking _via_ a file ‘~/.R/check.Renviron’ (in the format used by ‘.Renviron’, and with sub-architecture specific versions such as ‘~/.R/check.Renviron.i386’ taking precedence).
There are new options ‘--multiarch’ to check the package under all of the installed sub-architectures and ‘--no-multiarch’ to confine checking to the sub-architecture under which ‘check’ is invoked. If neither option is supplied, a test is done of installed sub-architectures and those which can be run on the current OS are used.
Unless multiple sub-architectures are selected, the install done by ‘check’ for testing purposes is only of the current sub-architecture (_via_ ‘R CMD INSTALL --no-multiarch’.
It will skip the check for non-ascii characters in code or data if the environment variables ‘_R_CHECK_ASCII_CODE_’ or ‘_R_CHECK_ASCII_DATA_’ are respectively set to ‘FALSE’. (Suggestion of Vince Carey.)
‘R CMD build’ no longer creates an ‘INDEX’ file (‘R CMD INSTALL’ does so), and ‘--force’ removes (rather than overwrites) an existing ‘INDEX’ file.
It supports file ‘~/.R/build.Renviron’ analogously to ‘check’.
It no longer cleans the supplied directory but rather a copy used to create the tarball.
It now runs build-time ‘\Sexpr’ expressions.