getPkgDir: Construct pockage directory path

View source: R/Utilities.R

getPkgDirR Documentation

Construct pockage directory path

Description

Construct pockage directory path

Usage

getPkgDir(basepath, name, subdir, scm_type, branch)

Arguments

basepath

The parent directory for the package directory

name

The name of the package

subdir

The subdirectory within a package source that the actual package root directory will reside in.

scm_type

Tye type of scm the package sources will be checked out from

branch

The branch from which the package will be retrieved.

Value

A path

Note

Unlike findPkgDir this does not look for existing package source directories. It only constructs the path.


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