Description Usage Arguments Value Note
View source: R/check_for_update_and_pull.R
check a git repo for activity at remote, specifically modifications to DESCRIPTION
1 | check_for_update_and_pull(repo_path)
|
repo_path |
character(1) path for a git repo |
a vector of results of git diff
Main purpose is to achieve the side effect of git pull in the repo when appropriate. R session visits repo, performs git commands using system(), and returns to folder where this function was called. Probably should add code to report on the difference seen, checking explicitly for version tag increase.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.