parseGitHub {Require} | R Documentation |
Parse a github package specification
Description
This converts a specification like PredictiveEcology/Require@development
into separate columns, "Account", "Repo", "Branch", "GitSubFolder" (if there is one)
Usage
parseGitHub(pkgDT, verbose = getOption("Require.verbose"))
Arguments
pkgDT |
A pkgDT data.table. |
verbose |
Numeric or logical indicating how verbose should the function
be. If -1 or -2, then as little verbosity as possible. If 0 or FALSE,
then minimal outputs; if |
Details
parseGitHub
turns the single character string representation into 3 or 4:
Account
, Repo
, Branch
, SubFolder
.
Value
parseGitHub
returns a data.table
with added columns.
[Package Require version 1.0.0 Index]