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]]

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to