pak
pak copied to clipboard
macOS builds do not work on High Sierra
Probably a brew thing, and we'll need to build more stuff from source. :(
Do we need to do this? While it is not formally out of support by https://en.wikipedia.org/wiki/MacOS_version_history#Releases if you look at the table for older releases they all ended Apple support ~3 years after the release, and High Sierra is already more than 3 years old.
We don't need to, but @lionel- is on High Sierra. :)
Or we can drop the High Sierra support, and implement creating a pak installation with self-contained dependencies, but not system dependencies. I.e. what should happen on CRAN (and elsewhere) on R CMD INSTALL
.
As I said on Slack don't worry about me, my 2011 laptop is stuck on High Sierra but is way too old anyway :)
By the way, how do you install from source?
If I do:
remotes::install_github("r-lib/pak")
I get:
pak::pak()
#> <simpleError in find_lib(pkg): Required package `distro` is not available>
pak::pak_setup()
#> <simpleError in find_lib(pkg): Required package `distro` is not available>
#>
#> Installing packages into private lib
#> Error in find_lib(pkg) : Required package `distro` is not available
I am not sure why this happens, this part is in flux, but install distro manually from first.