View source: R/core_manage_dependencies.R
add_dependencies_to_description | R Documentation |
Scans script files (.R, .Rmd, .Rnw, .Rpres) for external package dependencies indicated by
library()
, require()
or ::
and adds those packages to the Imports field in
the package DESCRIPTION.
add_dependencies_to_description(
path = getwd(),
description_file = "DESCRIPTION",
just_packages = FALSE
)
path |
location of individual file or directory where to search for scripts. |
description_file |
location of description file to be updated. |
just_packages |
just give back a character vector of the found packages. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.