Skip to content
New issue

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

pin_get() with GitHub release files on private Github repos #292

Closed
david-f1976 opened this issue Oct 9, 2020 · 1 comment
Closed

pin_get() with GitHub release files on private Github repos #292

david-f1976 opened this issue Oct 9, 2020 · 1 comment
Assignees

Comments

@david-f1976
Copy link

Not sure if there is something I have missed on my GitHub token settings. I can use pins to create a GitHub release. The file uploads and a release is successfully created, albeit with an error message of:

"Error in pin_download_one(p, ...) :
Client error: (404) Not Found. Failed to download remote file: "

With a link to the file at the end of that error message.

pin_get() returns the same error.

No problems if I download the file using download.file() or I change the repo access to public

library(pins)
board_register_github(repo = "my-org/my-private-repo")
options(pins.github.release = 0)
pin(iris, description = "The iris data set", board = "github")
pin_get("iris", board = "github")
@github-actions
Copy link

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants