addPkg,GRANRepository-method | R Documentation |
Add a package to the manifest for a GRANRepository
## S4 method for signature 'GRANRepository'
addPkg(x, ..., rows = makeManifest(...),
versions = data.frame(name = manifest_df(rows)$name, version =
NA_character_, stringsAsFactors = FALSE), replace = FALSE)
x |
A GRANRepository object |
... |
passed to manifest method for addPkg |
rows |
data.frame or unspecified. passed to manifest method for addPkg |
versions |
data.frame passed to manifest method for addPkg |
replace |
logical. Should the information in |
x
with the specified package(s) added to the associated manifest
man = GithubManifest("gmbecker/switchr")
repo = GRANRepository(man, basedir = tempdir())
repo = addPkg(repo, rows = GithubManifest("gmbecker/rpath"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.