We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
piggyback fails with 404 errors in private repos now that it's trying the browser download url first.
pb_download( file = "iris_example.csv", dest = tempdir(), repo = "tanho63/piggyback-private", tag = "iris", .token = Sys.getenv("TAN_GH_TOKEN") ) #> ℹ Downloading "iris_example.csv"... #> Downloading: 29 B Request failed [404]. Retrying in 1 seconds... #> Downloading: 29 B Request failed [404]. Retrying in 1.1 seconds... #> |====================================================================| 100%
We could include a check in pb_info() as to whether the repo is private or public, e.g.
gh::gh("/repos/tanho63/piggyback-private")$private #> [1] TRUE
and skip the browser download attempt if private
The text was updated successfully, but these errors were encountered:
No branches or pull requests
piggyback fails with 404 errors in private repos now that it's trying the browser download url first.
We could include a check in pb_info() as to whether the repo is private or public, e.g.
and skip the browser download attempt if private
The text was updated successfully, but these errors were encountered: