Description Usage Arguments Details Author(s) Examples
View source: R/archivePackages.R
The function moves older versions of packages into a CRAN-style archive folder.
1 2 | archivePackages(repopath = getOption("dratRepo", "~/git/drat"),
type = "source", pkg)
|
repopath |
Character variable with the path to the repo; defaults to the value of the “dratRepo” option with “"~/git/drat"” as fallback |
type |
Character variable for the type of repository, so far “source” |
pkg |
Optional character variable specifying a package name(s), whose older versions should be archived. If missing (the default), archiving is performed on all packages. |
This function is still undergoing development and polish and may change in subsequent versions.
Thomas J. Leeper
1 2 3 4 5 | ## Not run:
archivePackages() # archive all older package versions
archivePackages(pkg = "drat") # archive older copies of just one package
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.