r-hub / rhub

R-hub API client
https://r-hub.github.io/rhub/
Other
353 stars 52 forks source link

Macos unknown platform #450

Closed elinw closed 2 years ago

elinw commented 3 years ago

I think this maybe a new version of #368 .

Maybe the shortcut has changed again? I'm not sure how to tell if that's the case.

kingaa commented 3 years ago

Yes, this is still a problem.

> library(rhub)
> check_on_macos()
Error in match_platform(platform) : 
  Unknown R-hub platform, see rhub::platforms() for a list
> rhub:::check_shortcut_platforms$macos
[1] "macos-elcapitan-release"
> platforms()
...
macos-highsierra-release:
  macOS 10.13.6 High Sierra, R-release, brew
macos-highsierra-release-cran:
  macOS 10.13.6 High Sierra, R-release, CRAN's setup
...
ColinFay commented 2 years ago

Having this very same issue right now too.

gaborcsardi commented 2 years ago

The workaround is to select a platform manually.

micha-silver commented 1 year ago

@gaborcsardi Seems to persist:

rhub_chk <- rhub::check(platforms = "macos-highsierra-release-cran")
Error in match_platform(platforms) : 
  Unknown R-hub platform, see rhub::platforms() for a list
> rhub_chk <- rhub::check(platforms = "macos-highsierra-release")
Error in match_platform(platforms) : 
  Unknown R-hub platform, see rhub::platforms() for a list
> rhub_chk <- rhub::check(platform = "macos-elcapitan-release")
Error in match_platform(platforms) : 
  Unknown R-hub platform, see rhub::platforms() for a list
gaborcsardi commented 1 year ago

R-hub does not have macOS machines now, you can try GitHub Actions, or https://github.com/r-hub/rhub2.

micha-silver commented 1 year ago

Thanks