Add a package to the manifest for a GRANRepository
# S4 method for GRANRepository
addPkg(x, ..., rows = makeManifest(...),
versions = data.frame(name = manifest_df(rows)$name, version =
NA_character_, stringsAsFactors = FALSE), replace = FALSE)
A GRANRepository object
passed to manifest method for addPkg
data.frame or unspecified. passed to manifest method for addPkg
data.frame passed to manifest method for addPkg
logical. Should the information in ...
/rows
replace existing rows for the same pacakge? Defaults to FALSE, in which case
an error is thrown.
x
with the specified package(s) added to the associated manifest