View source: R/get_minimal_r_version.R
| get_minimal_r_version | R Documentation |
This function detects the minimal required R version for the project based
on minimal required R version of its dependencies. It can be used to update
the Depends field of the DESCRIPTION file.
get_minimal_r_version(pkg = NULL)
pkg |
A character of length 1. The name of a CRAN package or |
A character with the minimal required R version.
Other utilities functions:
get_all_dependencies(),
get_all_functions(),
get_licenses()
## Not run:
## Update dependencies ----
add_dependencies()
## Minimal R version of a project ----
get_minimal_r_version()
## Minimal R version of a CRAN package ----
get_minimal_r_version("usethis")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.