Currently the check_version option of devtools::check() defaults to FALSE. When FALSE, it sets _R_CHECK_CRAN_INCOMING_ to false, which does a lot more than just turning off the version checks: it also turns off a bunch of style checks which can cause a package to be rejected by CRAN. Those style checks are quick, unlike the version number check, which can be quite slow.
I've just added a new environment variable to R-devel (as of revision r70944) called _R_CHECK_CRAN_INCOMING_REMOTE_ which is a more appropriate variable to set false by default. It keeps the quick local checks, but turns off the remote ones, including the version check. (The style checks will still only be run if _R_CHECK_CRAN_INCOMING_ is true, e.g. if --as-cran is given as a check option.)
It's not clear yet whether this will make it into R-patched, so for now it should only be used if
getRversion() >= "3.4.0" && as.numeric(R.version[["svn rev"]]) >= 70944
Currently the
check_versionoption ofdevtools::check()defaults toFALSE. WhenFALSE, it sets_R_CHECK_CRAN_INCOMING_to false, which does a lot more than just turning off the version checks: it also turns off a bunch of style checks which can cause a package to be rejected by CRAN. Those style checks are quick, unlike the version number check, which can be quite slow.I've just added a new environment variable to R-devel (as of revision r70944) called
_R_CHECK_CRAN_INCOMING_REMOTE_which is a more appropriate variable to set false by default. It keeps the quick local checks, but turns off the remote ones, including the version check. (The style checks will still only be run if_R_CHECK_CRAN_INCOMING_is true, e.g. if--as-cranis given as a check option.)It's not clear yet whether this will make it into R-patched, so for now it should only be used if