isGitHubPkg | R Documentation |
Determines whether a string that may correspond to a package name
(e.g., repo/package@branch
), could be a package installed from GitHub.
This is determined solely by the presence of a /
in the string.
See example below.
isGitHubPkg(x)
x |
character vector of package names |
a named logical vector
pkgs <- c("dplyr", "PredictiveEcology/pemisc", "PredictiveEcology/SpaDES.core@development") isGitHubPkg(pkgs) ## FALSE TRUE TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.