Learn R Programming

icesTAF (version 3.6.0)

download.github: Download GitHub Repository

Description

Download a repository from GitHub in tar.gz format.

Usage

download.github(repo, dir = ".", quiet = FALSE)

Value

Name of downloaded tar.gz file.

Arguments

repo

GitHub reference of the form owner/repo[/subdir]@ref.

dir

directory to download to.

quiet

whether to suppress messages.

See Also

taf.bootstrap uses download.github to fetch software and data repositories.

download downloads a file.

untar extracts a tar.gz archive.

taf.install installs a package in tar.gz format.

icesTAF-package gives an overview of the package.

Examples

Run this code
if (FALSE) {
# Specify release tag
download.github("ices-tools-prod/icesTAF@2.0-0")

# Specify SHA reference code
download.github("ices-tools-prod/icesTAF@d5a8947")
}

Run the code above in your browser using DataLab