getPkgDir: Construct pockage directory path

Description Usage Arguments Value Note

View source: R/Utilities.R

Description

Construct pockage directory path

Usage

1
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.


switchr documentation built on May 29, 2017, 12:13 p.m.