basically a wrapper around utils::package.skeleton()
pkg_create(
dir,
name,
functions = list(dummy = function() "DUMMY"),
imports = NULL,
depends = NULL,
suggests = NULL,
namespace = FALSE,
roxygen_imports = FALSE,
ignore_hidden_files = TRUE
)the srcpkg instance, invisibly
the directory in which to create the package, as a string
the package name, as a string
a named list of functions to add to the package
the "imports" dependencies
the "depends" dependencies
the "suggests" dependencies
whether to write the namespace file (currently only applicable to the imports. N.B: if the namespace file is generated, roxygen will refuse to update it
whether to write the roxygen statements to defined the imports
whether to create a .Rbuildignore file to ignore hidden files.