Closed lcolladotor closed 3 years ago
From https://github.com/ropensci/git2r/issues/152 it seems like the user will have to have libssh2
installed and install git2r
from source in order to have ssh support. This can easily be checked with
git2r::libgit2_features()$ssh
Thus, it seems that only advanced users will be able to use this feature. It's still a nice one though.
Alternatively, from https://github.com/ropensci/git2r/issues/152 I can use git2r
to have the resulting HTML added and committed in the gh-pages branch. And the user would just have to manually push it to GitHub using their preferred GUI or command line.
I'm closing this issue due to inactivity. If it becomes a priority again, we can re-open it.
Also, note that usethis
v2.0.0 switched from git2r
to gert
for interacting with GitHub.
Given Karthik's third point from http://f1000research.com/articles/4-105/v1, it sounds like a great idea for
regionReport
to upload html files to agh-pages
branch in GitHub if the directory is indeed a git repo and the repo exists in GitHub in a place where the user has access to.This is somewhat similar to https://github.com/ropensci/git2r/issues/18.