Download a GitHub repo to local cache

Description

Download a GitHub repo to local cache

Usage

dl_gh_repo(u, branch = NULL)

Arguments

  • u: URL of GitHub repository

  • branch: Checkout specified (non-default) branch of repo.

Seealso

Other github: [get_branch_from_url](get_branch_from_url)(), [get_subdir_from_url](get_subdir_from_url)(), [post_to_issue](post_to_issue)(), [url_is_r_pkg](url_is_r_pkg)()

Concept

github

Value

Path to locally cached ‘.zip’ version of repository