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
1or TRUE, more outputs;2even more. NOTE: inRequirefunction, whenverbose >= 2, also returns details as ifreturnDetails = TRUE(for backwards compatibility).
Details
parseGitHub turns the single character string representation into 3 or 4:
Account, Repo, Branch, SubFolder.
See also
Other version specifications:
compareVersion2(),
extractPkgName(),
trimRedundancies(),
trimVersionNumber()