crossref_description {hgutils} | R Documentation |
Set imports for DESCRIPTION file
Description
Update the DESCRIPTION file with all imported packages stated in the source code.
Usage
crossref_description(
skip_prompt = FALSE,
update = TRUE,
use_version_numbers = TRUE,
rversion = "DEPENDENCIES_VERSION"
)
Arguments
skip_prompt |
whether to skip the confirmation prompt to change the DESCRIPTION file. Defaults to |
update |
whether the DESCRIPTION file should be updated. Defaults to |
use_version_numbers |
whether package version numbers should be included in the DESCRIPTION file. Defaults to |
rversion |
version of R to be used in the DESCRIPTION file.
Can be |
Value
Invisibly returns a list with the current R version, the R version obtained from dependencies and packages names (including version numbers).
See Also
Other developer functions:
generic_implementations()
,
load_packages()
,
update_settings()
,
valid_pkgname()
Examples
## Not run: crossref_description(skip_prompt=TRUE)