git | R Documentation |
Provides functionality for system-level Git commands from within R.
git(..., echo_cmd = TRUE)
is_git()
git_version()
... |
Additional arguments passed to the system
command-line |
echo_cmd |
|
git()
: The system call ... invisibly.
is_git()
: logical(1)
.
git_version()
: character(1)
.
The system version of git
.
git()
: executes a git
command line call from within R.
is_git()
: is current working directory a git
repository?
git_version()
: gets the version of git in use.
## Not run:
git("status", "-s")
git("reset", "--soft", "HEAD~1")
git("tag", "-n")
is_git()
git_version()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.