getPkgDir {switchr}R 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.


[Package switchr version 0.14.8 Index]