ropensci / RNeXML

Implementing semantically rich NeXML I/O in R
https://docs.ropensci.org/RNeXML
Other
13 stars 9 forks source link

Address CRAN request re length of condition on if statements #159

Closed cboettig closed 5 years ago

cboettig commented 7 years ago

You may be aware that recently there was some discussion on the r-devel mailing mailing list whether control statements with condition with greater than one should give error (and not just a warning). This behavior can now optionally be obtained in current development versions of R by setting env var _R_CHECK_LENGTH_1CONDITION to something true. Tomas Kalibera (cc) has run a full CRAN check with this setting, and put the reports and some explanation on

https://github.com/kalibera/rifcond

Please look at the check results for your package(s) in the respective outputs/*.Rcheck directories, as fix your package code as necessary.

Before resubmitting, ideally you would check yourself with current r-devel and the above setting to ensure that there are no more such problems.

cboettig commented 5 years ago

resolved and enforced by testthat tests