ghPkgName: Get the package name from a GitHub 'repo/package@branch'...

ghPkgNameR Documentation

Get the package name from a GitHub repo/package@branch string

Description

Get the package name from a GitHub repo/package@branch string

Usage

ghPkgName(x)

Arguments

x

character vector of package names

Value

a named character vector

Examples

pkgs <- c("dplyr", "PredictiveEcology/pemisc", "PredictiveEcology/SpaDES.core@development")
ghPkgName(pkgs) ## "dplyr" "pemisc" "SpaDES.core"

PredictiveEcology/pemisc documentation built on Sept. 19, 2022, 7 p.m.