create a skeleton for a package using RcppShark
1 2 3 4 5 | RcppShark.package.skeleton(name = "anRpackage", list = character(),
environment = .GlobalEnv, path = ".", force = FALSE,
code_files = character(), example_code = TRUE, author = "Your Name",
maintainer = if (missing(author)) "Your Name" else author,
email = "your@email.com", license = "GPL (>= 2)")
|
name |
character string: the package name and directory name for your package. |
list |
character vector naming the R objects to put in the package. Usually, at most one of "list", "environment", or "code_files" will be supplied. See "Details" of package.skeleton. |
environment |
an environment where objects are looked for. See "Details" of package.skeleton. |
path |
path to put the package directory in. |
force |
If "FALSE" will not overwrite an existing directory. |
code_files |
a character vector with the paths to R code files to build the package around. See "Details" of package.skeleton. |
example_code |
add example code to package? |
author |
author in the created DESCRIPTIONS file |
maintainer |
maintainer in the created DESCRIPTIONS file |
email |
email in the created DESCRIPTIONS file |
license |
licence in the created DESCRIPTIONS file |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.