View source: R/download.github.R
| download.github | R Documentation |
Download a repository from GitHub in ‘tar.gz’ format.
download.github(repo, dir = ".", quiet = FALSE)
repo |
GitHub reference of the form |
dir |
directory to download to. |
quiet |
whether to suppress messages. |
Name of downloaded tar.gz file.
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).
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.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.