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

Jarrett Phillips ph||||p@j@rrett1 @end|ng |rom gm@||@com
Fri Jul 26 16:09:27 CEST 2019


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

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list