Learn R Programming

Require (version 0.0.6)

trimVersionNumber: Trim version number off a compound package name

Description

The resulting string(s) will have only name (including github.com repository if it exists).

Usage

trimVersionNumber(pkgs)

Arguments

pkgs

A character string vector of packages with or without GitHub path or versions

See Also

extractPkgName

Examples

Run this code
# NOT RUN {
trimVersionNumber("PredictiveEcology/Require (<=0.0.1)")
# }

Run the code above in your browser using DataLab