Learn R Programming

switchr (version 0.14.8)

getPkgDir: Construct pockage directory path

Description

Construct pockage directory path

Usage

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

Value

A path

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.