Skip to content
Prev 4229 / 12125 Next

[R-pkg-devel] (Not) Reporting minimum R version in DESCRIPTION Depends Field

Hello,

Numerous CRAN packages report minimum R versions within the Depends field
of the DESCRIPTION file.

Is this reporting always necessary?

Hadley Wickham's book "R Packages" states:

"You can also use Depends to require a specific version of R, e.g. Depends: R
(>= 3.0.1) . As with packages, it?s a good idea to play it safe and require
a version greater than or equal to the version you?re currently using.
devtools::create()  will do this for you."

devtools::check() doesn't warn about not specifying R version, so I am just
curious.


Thanks.

Cheers,

Jarrett