pull_tagged_repo: Clones the specified repo at the specified tag to disk

View source: R/validate-tests.R

pull_tagged_repoR Documentation

Clones the specified repo at the specified tag to disk

Description

Clones the specified repo at the specified tag to disk

Usage

pull_tagged_repo(
  org,
  repo,
  tag,
  domain = VALID_DOMAINS,
  dest_dir = tempdir(),
  overwrite = TRUE
)

Arguments

org

Github organization that the repo is under

repo

The name of the repo for the package you are validating

tag

The tag to pull from the repo. When this function is called internally, this is assumed to be the same as the version you are testing, though it can be any valid tag.

domain

Domain where repo lives. Either "github.com" or "ghe.metrumrg.com", defaulting to "github.com"

dest_dir

File path for directory to clone repo into. Defaults to tempdir()

overwrite

Boolean indicating whether to overwrite file.path(dest_dir, repo) if something already exists there. TRUE by default.


metrumresearchgroup/mrgvalprep documentation built on Dec. 10, 2022, 3:17 a.m.