Scott Kostyshak
2014-Oct-12 05:11 UTC
[Rd] Turn warnings or notes into errors on CMD check ?
Hi, I am using a local patch to have CMD check exit with error if there is a note or warning. Am I missing an already existing way to do this? If not, Is there any interest in having an option or environment variable for this upstream? I would be interested in making a patch. If so, option or environment variable? Any suggestions for the name? Should this be two options or one option with "1" means only turn warnings into errors and "2" means turn both warnings and notes into errors? Scott -- Scott Kostyshak Economics PhD Candidate Princeton University
Hadley Wickham
2014-Oct-12 14:44 UTC
[Rd] Turn warnings or notes into errors on CMD check ?
And maybe turning warnings into errors should be the default for --as-cran? Hadley On Sun, Oct 12, 2014 at 12:11 AM, Scott Kostyshak <skostysh at princeton.edu> wrote:> Hi, > > I am using a local patch to have CMD check exit with error if there is > a note or warning. Am I missing an already existing way to do this? > > If not, Is there any interest in having an option or environment > variable for this upstream? I would be interested in making a patch. > If so, option or environment variable? Any suggestions for the name? > Should this be two options or one option with "1" means only turn > warnings into errors and "2" means turn both warnings and notes into > errors? > > Scott > > > -- > Scott Kostyshak > Economics PhD Candidate > Princeton University > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel-- http://had.co.nz/