Description Usage Arguments Details Examples
getGitInfo
locates the git repository for the calling script
(if any) and retrieves relevant informaiton such as last commit, status
(e.g. modified since last commit) and tag (if any).
1 | getGitInfo(scriptpath = NA)
|
scriptpath |
Path to script (optional, defaults to calling script from get_scriptPath()) |
Requires that git2r
be installed.
1 | git_info <- getGitInfo()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.