I am submitting my R package to CRAN, and am receiving a warning from the CRAN servers that does not appear when I run R CMD CHECK --as-cran
locally on the package tarball prior to uploading to CRAN. This causes my package to fail the automatic CRAN check.
This is the warning:
* checking DESCRIPTION meta-information ... WARNING
Dependence on R version '3.4.3' not with patchlevel 0
My DESCRIPTION file contains this line:
Depends: R (>= 3.4.3)
What does this warning mean? Thanks!
devtools::create_description
default to patchlevel 0? Ideally without usingoptions(devtools.desc = list(Depends = "3.5.0"))
, which would make my code obsolete as soon as 3.6.0 is released. Thanks... sorry, should have googled a bit more.sessionInfo()$R.version$minor
returns the value I need. – Prostitute