Learn R Programming

switchr (version 0.14.8)

manifestFromCheckoutDir: Create Manifest from 'checkedout' directory containing many pkg dirs

Description

This function is useful when a developer has a 'checkout' directory where the sources for multiple packages live. Particularly, it allows one to work on multiple interlocking packages at the same time and have a manifest which will install them all together automatically when time for testing.

Usage

manifestFromCheckoutDir(pdir, recursive = FALSE, excl_pat = NULL)

Value

A Package manifest with 'local' type entries for each package found within pdir.

Arguments

pdir

character(1). Parent directory which contains package source directories.

recursive

logical(1). Should directories within pdir be searched recursively to find package source directories. Defaults to FALSE for efficiency reasons.

excl_pat

character(1) or NULL. A regular expression for directories/packages to exclude from the manifest.

Examples

Run this code
if (FALSE) {
manifestFromCheckoutDir(".")
}

Run the code above in your browser using DataLab