You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which has PackageA as a dependency. It fails with:
Downloading GitHub repo picnichealth/organization@HEAD
Error: Failed to install 'PackageB' from GitHub:
HTTP error 404.
Not Found
Did you spell the repo owner (`organization`) and repo name (`monorepo`) correctly?
- If spelling is correct, check that you have the required permissions to access the repo.
What's actually happening here is that the target package, PackageB, is being pulled correctly, but devtools is not able to use the same token again to pull down its dependency PackageA.
This can be verified by calling devtools::install_deps.
This issue can be circumvented by adding GITHUB_PAT variable in your ~/.Renviron file
Describe the solution you'd like
I would like for auth_token to be available for primary package install AND its dependent packages
Describe alternatives you've considered
adding GITHUB_PAT variable to my ~/.Renviron file
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Devtools does not successfully install private package dependencies.
Lets say I have two packages as subdirectories in a monorepo:
/r/PackageA
/r/PackageB
And PackageB depends on PackageA
If I run:
Things work as expected. Package A does not depend on Package B. Everything works fine.
However:
If I try to install PackageB:
Which has PackageA as a dependency. It fails with:
What's actually happening here is that the target package, PackageB, is being pulled correctly, but devtools is not able to use the same token again to pull down its dependency PackageA.
This can be verified by calling
devtools::install_deps
.This issue can be circumvented by adding
GITHUB_PAT
variable in your~/.Renviron
fileDescribe the solution you'd like
I would like for
auth_token
to be available for primary package install AND its dependent packagesDescribe alternatives you've considered
adding
GITHUB_PAT
variable to my~/.Renviron
fileThe text was updated successfully, but these errors were encountered: