manifestFromCheckoutDir: Create Manifest from 'checkedout' directory containing many...

View source: R/manifestFromLocal.R

manifestFromCheckoutDirR Documentation

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)

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.

Value

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

Examples

## Not run: 
manifestFromCheckoutDir(".")

## End(Not run)

gmbecker/switchr documentation built on Feb. 24, 2023, 12:59 p.m.