The resulting string(s) will have only name (including github.com repository if it exists).
Arguments
- pkgs
A character string vector of packages with or without GitHub path or versions
Examples
trimVersionNumber("PredictiveEcology/Require (<=0.0.1)")
#> [1] "PredictiveEcology/Require"