If ... in gh(endpoint, ...) contains an NA, gh() errors with this:
Error in if (endpoint2 != endpoint) { :
missing value where TRUE/FALSE needed
Obviously you'd never do that intentionally. I'm using gh() over rather long lists of (alleged) GitHub users, repos, teams, etc. and sometimes this just happens. I wonder if there's a nicer way to handle?
I'm working on another PR re: errors and will also try to propose something for this.
If
...ingh(endpoint, ...)contains an NA,gh()errors with this:Obviously you'd never do that intentionally. I'm using
gh()over rather long lists of (alleged) GitHub users, repos, teams, etc. and sometimes this just happens. I wonder if there's a nicer way to handle?I'm working on another PR re: errors and will also try to propose something for this.