trimVersionNumber {Require}R Documentation

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

trimVersionNumber("PredictiveEcology/Require (<=0.0.1)")

[Package Require version 0.3.1 Index]