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
foo is private, but you supplied a valid auth token.
If foo has dependency bar, then it's actually bar which is 404'ing.
If a repo/package has a dependency which is a private repo, and you supply a github token as an argument to the install_github(auth_token), the auth_token is not passed to installing the dependencies. Traceback below.
BLUF:
Could we improve the error message for installing dependencies to:
Sys.setenv("GITHUB_PAT" = ###)
method for multiple private installsImagine your installing a package using
remotes::install_github("foo", auth_token = "###")
, and you get this error message:You might spend a bit of time confused if:
foo
repo is not privateIf
foo
has dependencybar
, then it's actuallybar
which is 404'ing.If a repo/package has a dependency which is a private repo, and you supply a github token as an argument to the
install_github(auth_token)
, theauth_token
is not passed to installing the dependencies. Traceback below.Traceback()
The text was updated successfully, but these errors were encountered: