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)character vector of package names
a named logical vector
pkgs <- c("dplyr", "PredictiveEcology/pemisc", "PredictiveEcology/SpaDES.core@development")
isGitHubPkg(pkgs) ## FALSE TRUE TRUE
#> dplyr
#> FALSE
#> PredictiveEcology/pemisc
#> TRUE
#> PredictiveEcology/SpaDES.core@development
#> TRUE