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 

  '_R_CHECK_FORCE_SUGGESTS_'
       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.

Dirk

-- 
https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to