pak
pak copied to clipboard
Specifying GitHub host in `pak()`
I'm not quite sure if this is a question or a feature request, but I don't see any way of using a GitHub Enterprise host for pak()
in the same way that you can with install_github()
's host
or gh's GITHUB_API_URL
env var. Is that currently possible? If it is currently possible, I'd be happy to add a bit of documentation on the process
Try specifying the full URL of the repo.
Hm that doesn't work, saying that the GitHub credentials are bad. Is it possible pak isn't looking/doesn't know to look in the same spot as gitcreds::gitcreds_get("https://github.some-hostname.com")
?
+1 for this comment, @malcolmbarrett. This point on GitHub credentials certainly resonates with me.
Specifically, the issue is holding back the use of GitHub Actions in my corporate setting (and, given similar questions on RStudio Community and Stack Overflow, other such settings). For context, all our internal packages are on GitHub (Enterprise) and can be individually installed using a combination of remotes
and gitcreds
.
Overcoming this issue would make an enormous difference to our workflows! Thanks for all the GitHub Actions and pak
goodness.