View source: R/package_setup.R
setup_package | R Documentation |
Creates a new package in, and consistent with, the manydata universe
setup_package(
package = NULL,
name = NULL,
role = NULL,
orcid = NULL,
update = TRUE,
path = getwd()
)
package |
A string giving the desired name of the package, must start with "many" |
name |
A list of vectors giving the package author(s)' name(s). Authors(s)last name(s) and first name(s) are separated by a comma. |
role |
A list of vectors of the roles the package authors have in the project. If there are no roles declared, roles are set contributor. |
orcid |
A vector of strings of all the ORCID numbers of the authors.
Needs |
update |
A logical indicating whether existing files should be overwritten, by default TRUE. |
path |
A string, if missing default is path to the working directory |
The function establishes many of the required files and folder structures required for a manydata-consistent data package.
A new package structure
## Not run:
setup_package("manystates", name = "Hollway, James")
setup_package("manystates",
orcid = c("0000-0002-8361-9647"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.