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

Bug when passing public GitHub host name into set_github_host() function #475

Closed
Tracked by #493
marcinkowskak opened this issue Sep 26, 2024 · 0 comments · Fixed by #505
Closed
Tracked by #493

Bug when passing public GitHub host name into set_github_host() function #475

marcinkowskak opened this issue Sep 26, 2024 · 0 comments · Fixed by #505
Assignees
Labels
bugfix Something isn't working setup

Comments

@marcinkowskak
Copy link
Collaborator

When passing public GitHub host to set_github_host() function, you get t he following error:

[1] "https://github.com/r-world-devs/shinyGizmo"
Browse[2]> gitstats_obj %>%
+       GitStats::set_github_host(host = host, repos = repo, verbose = FALSE)
Error in purrr::map(repos, function(repo) { : 
  ℹ In index: 1.
Caused by error:
✖ Repository you provided does not exist or its name was passed in a wrong way:
  https://github.com/api/v3/repos/r-world-devs/shinyGizmo
! Please type your repository name as you see it in web URL.
ℹ E.g. do not use spaces. Repository names as you see on the page may differ from their web 'address'.

The error doesn't appear if you don't pass host parameter however

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Something isn't working setup
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants