View source: R/cluster_bundle_packages.R
cluster_bundle_packages | R Documentation |
To use this file, unpack it. It contains a top-level folder called packages.
To install a package from this bundle, run
install.packages('mypackagename', repos='file:packages',
type='source')
cluster_bundle_packages(packages = "mda.streams",
github = "USGS-R/mda.streams@develop",
bundlefile = "./cluster_packages.zip", pkgdir = "temp/pkgs",
repos = union(getOption("repos"), "https://owi.usgs.gov/R"))
packages |
character. the package or packages whose dependencies (and the packages themselves) should be obtained. at least for now, all packages and dependencies should have an up-to-date list of dependencies on CRAN or GRAN. It's OK if the GitHub code is ahead of CRAN/GRAN as long as the dependencies list hasn't changed |
github |
character vector of GitHub references (as in
|
bundlefile |
file.path to save the bundled packages |
pkgdir |
directory path where the downloaded and written packages should be saved |
repos |
character vector of repositories with info on the package dependencies |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.