powered by
The resulting string(s) will have only name (including github.com repository if it exists).
trimVersionNumber(pkgs)
A character string vector of packages with or without GitHub path or versions
extractPkgName
# NOT RUN { trimVersionNumber("PredictiveEcology/Require (<=0.0.1)") # }
Run the code above in your browser using DataLab