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
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: