rhino::pkg_install
install private github package?
#506
-
How does one install a priavate from github? I am the owner of the repo. I've used tokens in the past with devtools, but not sure how to do this with |
Beta Was this translation helpful? Give feedback.
Answered by
dereckmezquita
Nov 6, 2023
Replies: 1 comment
-
https://rstudio.github.io/renv/articles/package-install.html#authentication
GITHUB_PAT="you_key_here" To create token go to Then simply use: rhino::pkg_install("you_username/your_repo_name") |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dereckmezquita
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rhino::pkg_install
usesrenv::install
under the hood which supports PAT tokens via.Renviron
.https://rstudio.github.io/renv/articles/package-install.html#authentication
.Renviron
:GITHUB_PAT="you_key_here"
To create token go to
GitHub > settings > developer settings > personal access tokens
.Then simply use: