Description Usage Arguments Value See Also Examples
Download the dependencies of a package.
1 2 3 4 5 6 7 | download_dependencies(
dependencies,
directory,
repository = getOption("repos"),
installed = TRUE,
replace = FALSE
)
|
dependencies |
A dataframe. The dependencies of a package. |
directory |
A string (default = "network"). The directory where the downloaded packages are to be stored. Creates the directory if it does not exist. |
repository |
A string (default = getOption("repos")). The base URL of the repository to use. |
installed |
A boolean or a character vector (default = TRUE). Filter out the packages that are already installed. |
replace |
A boolean (default = FALSE). Control if the existing packages in the directory should be replaced. |
A two-column matrix of names and destination file names for the packages successfully downloaded.
get_dependencies
, plot_dependencies
,
download_dependencies
, install_dependencies
1 2 3 4 5 | ## Not run:
dependencies <- get_dependencies(package = "shiny")
download_dependencies(dependencies = dependencies, directory = "packages")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.