Description Usage Arguments Examples
View source: R/package_version_control.R
Update one or many packages in a single, local folder to ease version control when working on the cluster or elsewhere remotely. Will only update the packages that are determined to be out of date to avoid wasting time re-downloading packages that are already current.
1 | update_package(package, folder, github_repo = NA)
|
package |
Name of the package as a string |
folder |
Folder (directory) where all the packages are stored |
github_repo |
Specifies the Github repo the package is hosted at. Defaults to NA for packages hosted on the CRAN |
1 2 3 4 5 6 7 | folder <- "H:/packages"
update_package("data.table", folder)
update_package("ihme", folder = folder, github_repo = "ShadeWilson/ihme")
some_packages <- packages[5:8]
update_package_all(some_packages, folder)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.