Learn R Programming

icesTAF (version 3.3-1)

download.github: Download GitHub Repository

Description

Download a repository from GitHub in tar.gz format.

Usage

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

Arguments

repo

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

dir

directory to download to.

quiet

whether to suppress messages.

Value

Name of downloaded tar.gz file.

See Also

taf.bootstrap calls download.github to fetch software and data repositories, via process.bib.

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
# NOT RUN {
# Specify release tag
download.github("ices-tools-prod/icesTAF@2.0-0")

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

Run the code above in your browser using DataLab