Create anew package skelleton to add functiuonality to the currently active scheme.
Source:R/make_new_package.R
make_new_package.Rd
This function is not for the user of a scheme, but for the development process of a new scheme.
Details
A new metadata scheme can be created by using the function
scheme_make
. This function will create a package to add
functionality to the currently used scheme as a package which will depend on
scheme_active()
. This function uses the function package.skeleton()
from the utils
package to create a new directory for the new metadata
scheme, and adds a function aaa.R
which loads the current package
whenever the new package is loaded as well as some fields to the
DESCRIPTION
file.
For a documentation of the workflow to create a new scheme, see the vignette Howto Create a new scheme.
Examples
make_new_package(
path = tempdir()
)
#> Creating directories ...
#> Creating DESCRIPTION ...
#> Creating NAMESPACE ...
#> Creating Read-and-delete-me ...
#> Copying code files ...
#> Making help files ...
#> Done.
#> Further steps are described in '/tmp/RtmpEEeCUq/dmdScheme/Read-and-delete-me'.