make_new_package: Create anew package skelleton to add functiuonality to the...

View source: R/make_new_package.R

make_new_packageR Documentation

Create anew package skelleton to add functiuonality to the currently active scheme.

Description

This function is not for the user of a scheme, but for the development process of a new scheme.

Usage

make_new_package(path = ".")

Arguments

path

path where the package should be created. Default is the current working directory.

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.

Value

invisibly NULL

Examples

make_new_package(
  path = tempdir()
)

dmdScheme documentation built on Aug. 22, 2022, 9:06 a.m.