r-lib / pak

A fresh approach to package installation
https://pak.r-lib.org
671 stars 60 forks source link

`Unknown OS` error for `aarch64-apple-darwin20` #563

Open IndrajeetPatil opened 10 months ago

IndrajeetPatil commented 10 months ago

Minimal reprex:

> pak::pkg_sysreqs("dplyr")
Error: 
! error in pak subprocess
Caused by error in `sysreqs2_command(sysreqs_platform, "update")`:
! Unknown OS. Don't know how to query or install system packages for aarch64-apple-darwin20.
Type .Last.error to see the more details.
gaborcsardi commented 10 months ago

We don't support system requirements for macOS.

IndrajeetPatil commented 10 months ago

That was my guess. But then maybe the error message should highlight that? The current error make it seem like {pak} potentially could support this system if only it would detect the current OS correctly.