
Update package versions in the DESCRIPTION
file
Source: R/update_pkg_versions.R
update_pkg_versions.Rd
update_pkg_versions()
updates the version of packages listed in the
DESCRIPTION
file of an R package with their installed versions.
If the package comes with an typical installation of R (e.g., base, utils), the function will update the version to the previous minor version of the current R version. This is made to avoid errors with CI/CD.
Usage
update_pkg_versions(
file = here::here("DESCRIPTION"),
old_r_version = bump_back_r_version()
)
See also
Other R package functions:
raw_data_1()
,
raw_data_2()
,
update_pkg_year()