Binaries of libraries and tools for macOS

This is the root for repositories hosting binaries and static libraries for macOS which are used to build R packages on CRAN based on the recipes build system. The binaries are self-contained and can be used on their own.

Quick Install

To install any of the contained binaries, use the following R script:
source("https://mac.R-project.org/bin/install.R")

It doesn't run anything, it only defines one R function install.libs which can download and install the corresponding binaries (view the script). For example, to install the openssl library, use:

install.libs("openssl")

The default arguments will use this repository and will automatically determine the suitable binary for your system (if available). We are currently supporting Intel Macs with macOS 10.13 (High Sierra) or higher and Apple Silicon (M1) Macs with macOS 11 (Big Sur) and higher.

NOTE: if you don't have write-permission in the installation location, you may need to make it writable or run sudo R.

Details

The following repostiories are currently provided:

NameInstallation LocationTarget
darwin17/x86_64/usr/localmacOS 10.13, Intel (x86_64)
darwin20/arm64/opt/R/arm64macOS 11, Apple M1 (arm64)

All binaries are built automatically using the recipes build system.

Note that tools (such as subversion or emacs) can be downloaded individualy and don't require their build dependencies in order to be used, so you can use, for example:

install.libs("subversion", dep=FALSE)

The dependecies are only required for libraries to link against them.

Options

The install.libs function has following arguments: