reposFromURLs: From git-like URLs, return the correct install string

Description Usage Arguments Value Examples

View source: R/checkInstalls.R

Description

For github, uses parse_github_url to do the work. For Bioconductor, simply looks for stuff like: "https://git.bioconductor.org/packages/PKGNAME".

Usage

1

Arguments

urls

character() vector of git URLs

Value

named character() vector of repos that can be fed directly to install

Examples

1
2
3
repos = c("https://github.com/seandavi/GEOquery",
          "https://git.bioconductor.org/packages/RNAseq123")
reposFromURLs(repos)

seandavi/CollaborativeBookdown documentation built on Aug. 22, 2019, 4:48 a.m.