Construct pockage directory path

Share:

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.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.