pak icon indicating copy to clipboard operation
pak copied to clipboard

macOS builds do not work on High Sierra

Open gaborcsardi opened this issue 3 years ago • 6 comments

Probably a brew thing, and we'll need to build more stuff from source. :(

gaborcsardi avatar Nov 24 '20 10:11 gaborcsardi

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.

jimhester avatar Nov 25 '20 16:11 jimhester

We don't need to, but @lionel- is on High Sierra. :)

gaborcsardi avatar Nov 25 '20 16:11 gaborcsardi

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.

gaborcsardi avatar Nov 25 '20 16:11 gaborcsardi

As I said on Slack don't worry about me, my 2011 laptop is stuck on High Sierra but is way too old anyway :)

lionel- avatar Nov 25 '20 18:11 lionel-

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

lionel- avatar Nov 26 '20 09:11 lionel-

I am not sure why this happens, this part is in flux, but install distro manually from first.

gaborcsardi avatar Nov 26 '20 09:11 gaborcsardi