get_github: Finds the URL for a GitHub page.

Description Usage Arguments

Description

Finds the URL for a GitHub page.

Usage

1
2
get_github(package, fun = NULL, author = "cran", branch = "master",
  cap_r = TRUE)

Arguments

package

character. The name of the R package (e.g., 'batbelt'). Can also be 'author/package' (e.g., 'peterhurford/batbelt').

fun

character. The name of the function to open. Leave NULL to just get the URL for the package overall.

author

character. The GitHub username of the package. Defaults to finding packages via cran.

branch

character. The branch to look for.

cap_r

logical. TRUE if the file ends with a capital R, FALSE otherwise.


robertzk/batbelt documentation built on May 27, 2019, 10:34 a.m.