url_cran: URL for R packages

View source: R/url_cran.R

url_cranR Documentation

URL for R packages

Description

Get an URL for a specific package (Markdown style).

Usage

url_cran(pkg = "")

url_bioc(pkg = "")

url_gh(pkg = "", user = "cran")

Arguments

pkg

a package name.

user

a GitHub user name or a GitHub organisation name.

Value

A link to the CRAN's canonical URL for a given package formatted in Markdown. Note that is pkg = "" a link to the CRAN is returned.

Functions

  • url_bioc(): A link to the Bioconductor's short URL for a given package formatted in Markdown. Note that is pkg = "" a link to Bioconductor is returned.

  • url_gh(): A link to the GitHub repository for a given package. If pkg = "" a link to the user account in returned and if pkg = "" and

Examples

url_cran("")
url_cran("ps")
url_gh("inSilecoRef", "inSileco")
url_bioc("CRImage")

inSileco/inSilecoRef documentation built on July 28, 2023, 1:47 a.m.