whichRepo | R Documentation |
Deprecated! Get the name of the GitHub repo associated with a project. No error catching at the moment.
whichRepo(WD, fullPath = FALSE)
WD |
working directory for the lesson project folder for which you want to find out the associated GitHub repository |
fullPath |
do you want to export the full git path, or just the repo name? Default=F (just name) |
This assumes you have Google Drive for Desktop set up, permissions to access lesson folder, and git installed and authenticated in Rstudio.
Either a warning or the name of the github repository connected to the current Rstudio project (extracted from rstudioapi::getActiveProject()
and a call to git remote -v
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.