download.github {TAF} | R Documentation |
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 |
dir |
directory to download to. |
quiet |
whether to suppress messages. |
Value
Name of downloaded tar.gz
file.
Note
In general, TAF scripts do not access the internet using
download.github
or similar functions. Instead, data and software are
declared in DATA.bib
and SOFTWARE.bib
and then downloaded using
taf.boot
. The exception is when a boot script is used to fetch
files from a web service (see
TAF Wiki).
See Also
taf.boot
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.
TAF-package
gives an overview of the package.
Examples
## Not run:
# Specify release tag
download.github("ices-tools-prod/icesAdvice@1.3-0")
# Specify SHA reference code
download.github("ices-tools-prod/icesAdvice@4271797")
## End(Not run)
[Package TAF version 4.2.0 Index]