View source: R/get.remote.sha.R
| get.remote.sha | R Documentation |
Look up SHA reference code on GitHub.
get.remote.sha(owner, repo, ref, seven = TRUE)
owner |
repository owner. |
repo |
repository name. |
ref |
reference. |
seven |
whether to truncate SHA reference code to seven characters. |
SHA reference code as a string.
taf.boot uses get.remote.sha to determine whether it is
necessary to remove or download files, via clean.library,
clean.software, and download.github.
TAF-package gives an overview of the package.
## Not run:
get.remote.sha("ices-tools-prod", "icesAdvice", "master")
get.remote.sha("ices-tools-prod", "icesAdvice", "1.3-0")
get.remote.sha("ices-tools-prod", "icesAdvice", "1.3-0", seven=FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.