The current make_gh_website() uses a bunch of system commands, assuming that git is properly installed and talks with GitHub. While it works with our machines, trying to do this on any other machine, YMMV. I propose a refactor of this function to utilize git2r, which ships the git source code and makes it available in R without requiring a git install for the user.
The current
make_gh_website()
uses a bunch of system commands, assuming that git is properly installed and talks with GitHub. While it works with our machines, trying to do this on any other machine, YMMV. I propose a refactor of this function to utilize git2r, which ships the git source code and makes it available in R without requiring a git install for the user.I've made an example of using git2r for github flow here: http://popgen.nescent.org/CONTRIBUTING_WITH_GIT2R.html that can get you started as to what functionalities it has.