RT @[email protected]

One of the dependencies of your #rstats 📦 is not like the others: R itself!

But did you know you can specify a minimum R version?

In this post by @[email protected] & @[email protected], we review how to choose which R version & how to test it.

https://blog.r-hub.io/2022/09/12/r-dependency/

🐦🔗: https://twitter.com/rhub_/status/1569279184844767233

Minimum R version dependency in R packages - R-hub blog

There have been much talk and many blog posts about R package dependencies. Yet, one special dependency is more rarely mentioned, even though all packages include it: the dependency on R itself. The same way you can specify a dependency on a package, and optionally on a specific version, you can add a dependency to a minimum R version in the DESCRIPTION file of your package. In this post we shall explain why and how.