Learn R Programming

Require (version 1.0.1)

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
trimVersionNumber("PredictiveEcology/Require (<=0.0.1)")

Run the code above in your browser using DataLab