install github package

install_zip_gh(
  repo,
  ref = "HEAD",
  subdir = NULL,
  args = "--no-build-vignettes"
)

Arguments

repo

github repo

ref

github branch, default is HEAD, which means the default branch of the GitHub repo

subdir

sub directory that contains R package files, default is NULL

args

argument to build package

Value

No return value, called for installing github package

Details

it download the zip file first and use install_zip to install it

Author

Guangchuang Yu