Create a package
packr(pkg_name, packages, author = NULL, email = NULL, auto = FALSE, overwrite = FALSE)
pkg_name | the name of the package which is to be created |
---|---|
packages | packages wrapped in this group |
author | author of the new package |
email of the author |
|
auto | logical. whether to build and install the new package automatically |
overwrite | logical. whether to overwrite the package with the same name if it already installed |
a folder with a package skeleton
pkg_name <- paste0(tempdir(), "/wow") packr(pkg_name, c("mindr", "pinyin", "beginr", "bookdownplus", "steemr", "rmd", "packr"), "Li Lei")#> Error in package %in% dev_packages(): object 'x' not found