Install a Package from a GitHub PR and Track It in DESCRIPTION
Source:R/g6tr_packages.R
g6tr_use_pr_packages.RdInstalls a package from a PR in the g6tr monorepo and then
tracks it in the project DESCRIPTION via g6tr_use_packages().
Usage
g6tr_use_pr_packages(
package,
pr,
repo = "g6t/g6tr",
subdir = NULL,
dependencies = TRUE,
project = "."
)Arguments
- package
Package name (e.g. "g6tr.dl").
- pr
PR number.
- repo
GitHub repo in "owner/name" format. Default is "g6t/g6tr".
- subdir
Path to the package within the repo. Default is
paste0("packages/", package).- dependencies
Passed to
renv::install(). DefaultTRUE.- project
Path to the project. Default is "." (current working directory) most likely you will not need to change this.