Closed ilessing closed 9 months ago
install.packages("usethis")
usethis::create_github_token()
gitcreds::gitcreds_set()
usethis::git_sitrep()
above works well locally.
Need to test on JupyterHub!!
this is the command we use on Linux servers that do not cache the token automatically:
git config --global credential.helper 'cache --timeout=10000000'
timeout
is in seconds
results of testing with JupyterHub (LSIT provided instance)
usethis
package listed.
packageVersion('usethis')
[1] ‘2.2.2’
another documentation link: https://usethis.r-lib.org/articles/articles/git-credentials.html
done
For Episode 10 Collaborating via Github – Introduction to Reproducible Publications with RStudio
The "UseThis" R package reputably eases creation and use of Github Personal Access Tokens (PAT) within RStudio/Quarto
Q: Could UseThis work for learners in the context of Collaboration episode of the workshop?
relates to #43