Description Usage Arguments Examples
View source: R/create-meta-package.R
Inspired by the package tidyverse, this function helps you easily create your own 'verse' or 'Meta' package to facilitate easy installation and loading of multiple, related packages. Plus, you'll get a nice 'tidyverse' style startup message.
1 | create_meta_package(name, imports, dev)
|
name |
The meta package name |
imports |
A character vector of the packages you're bundling |
dev |
If any of the packages included are development versions (e.g. on GitHub and not on CRAN), supply a vector of TRUE/FALSE indicating the development version should be used. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
create_meta_package(name = "myPackageName",
imports = c("publishedPackage1",
"publishedPackage2")
)
create_meta_package(name = "myPackageName",
imports = c("publishedPackage1",
"devPackage",
"publishedPackage2",
),
dev = c(FALSE,
TRUE,
FALSE)
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.