Skip to contents

Clones a package repository if it doesn't already exist locally.

Usage

clone_package_repo(
  package_name,
  tag,
  local_clone_dir_single,
  source_org_url = "https://github.com/cran"
)

Arguments

package_name

(character)
Package name

tag

(character)
Tag/version. Tags starting with "R-" are filtered out.

local_clone_dir_single

(character)
Directory path for single package clone

source_org_url

(character)
Git organization URL in which to search for the package sources. The final URL will a combination from this argument and the package name. This also implies that the package source must exist in a repository with the same name. Must be a https:// URL, local paths are not supported.

Value

Invisible NULL