githubURLParts: Extract GitHub user and repo name from GitHub URL

Description Usage Arguments Value Examples

View source: R/githubUtils.R

Description

Extract GitHub user and repo name from GitHub URL

Usage

1

Arguments

urls

A character() vector of URLs

Value

A data.frame with four columns:

Examples

1
2
3
4
5
6
# find GitHub URL details for
# Bioconductor packages
bpkgl = biocPkgList()
urldetails = githubURLParts(bpkgl$URL)
urldetails = urldetails[!is.na(urldetails$url),]
head(urldetails)

BiocPkgTools documentation built on April 15, 2021, 6:01 p.m.