search for: stopfifnot

Displaying 1 result from an estimated 1 matches for "stopfifnot".

2007 Apr 27
1
How to suppress 'Loading required package ...' via Depends/Imports
...ese in-house packages now use Depends: entries in DESCRIPTION, rather than require() in R/zzz.R. This seems to have at least one undesirable side effect: noise. Using require(), I can choose the 'quietly=TRUE, warn.conflict=FALSE' arguments, and additionally I can wrap the require call in stopfifnot() making it both quiet and failure proof. But I cannot figure out how to tell R via DESCRIPTION how to a) not tell me its loading a package b) keep quiet about the conflicts In other words, how do I get rid of all this: foo:~s> ./someLittlerScript Loading required package: MASS Lo...