Re: [R-pkg-devel] nit-picking about CRAN repository policy

2022-05-11 Thread Neal Fultz
Is there a status code I could use to signal early-stopping due to missing dependencies (eg in test scripts)? I am thinking of writing something like: require(suggested_pkg) || quit(status=13) I checked ?quit which says: Some error status values are used by R itself. The default error

[R-pkg-devel] nit-picking about CRAN repository policy

2022-05-07 Thread Ben Bolker
Folks, CRAN has recently set up an auxiliary 'noSuggests' test platform that tests that packages are using suggested packages conditionally, as recommended in Writing R Extensions, and as (sort of) specified in the CRAN repository policy. Specifically, the CRP (revision 5236) says: