[R-pkg-devel] Package used unconditionally only in testing

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Fri Jan 8 20:52:19 CET 2021

On 8 January 2021 at 11:32, Henrik Bengtsson wrote:
| R CMD check --as-cran will give an ERROR if not all Suggest:ed
| packages are installed and available when it runs.

This can be overridden with R_CHECK_FORCE_SUGGESTS_=false which may be
helpful if Suggests: has a long tail of dependencies, or a shorter test run
is desired.

The R Internals manual describes the variable as 

       If true, give an error if suggested packages are not available.
       Default: true (but false for CRAN submission checks).

which highlights the different behaviour under --as-cran and without.


https://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org

More information about the R-package-devel mailing list