ecodown_clone: Download the package's latest source code from repo

View source: R/clone.R

ecodown_cloneR Documentation

Download the package's latest source code from repo

Description

Download the package's latest source code from repo

Usage

ecodown_clone(
  repo_url = "",
  target_folder = tempdir(),
  branch = "main",
  verbosity = c("verbose", "summary", "silent")
)

Arguments

repo_url

Repo location

target_folder

Location to copy the package to. Defaults to a temporary directory

branch

Repo branch. Defaults to 'main'

verbosity

Level of messaging available during run time. Possible values are 'verbose', 'summary', and 'silent'.

Examples

pkg_path <- ecodown_clone("https://github.com/tidyverse/hms")
list.files(pkg_path)

edgararuiz/ecodown documentation built on Sept. 4, 2022, 10:25 a.m.