Skip to contents

Read DESCRIPTION File for R Package on GitHub

Usage

readGithubPackageDescription(
  repo,
  sha,
  auth_token = remotes_github_pat(),
  destdir = tempdir()
)

Arguments

repo

GitHub repository, e.g. "kwb-r/kwb.utils"

sha

SHA (hash) of the commit

auth_token

GitHub token

destdir

path to destination directory, i.e. directory to which the DESCRIPTION file is copied. Default: tempdir()