get_github_packages: Get Github R Packages

View source: R/get_github_packages.R

get_github_packagesR Documentation

Get Github R Packages

Description

Get Github R Packages

Usage

get_github_packages(
  group = "KWB-R",
  ignore_pkgs = NULL,
  non_r_packages = kwb.pkgstatus::get_non_r_packages(),
  github_token = Sys.getenv("GITHUB_PAT")
)

Arguments

group

default: "KWB-R"

ignore_pkgs

vector of pkg names that should be ignored to prevent problems with codemeta generation (e.g. "kwb.read" fails due to missing metadata on the license!)

non_r_packages

vector with repos that are not R packages (default: kwb.pkgstatus::get_non_r_packages())

github_token

optionally a Github token in order to access private repositories (default: Sys.getenv("GITHUB_PAT"))

Value

data frame with R packages on Github

Examples

## Not run: 
pkgs <- get_github_packages()
head(pkgs)

## End(Not run)


KWB-R/pkgmeta documentation built on March 27, 2024, 4:28 p.m.