Learn R Programming

dmdScheme (version 1.3.5)

make_new_package: 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 = ".")

Value

invisibly NULL

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.

Examples

Run this code
make_new_package(
  path = tempdir()
)

Run the code above in your browser using DataLab