Extra Binary R packages for the Homebrew R (Cask)
The repository https://macos.rbind.org (Github repo) provides some binary R packages for the Homebrew (cask) version of base R that are currently missing on CRAN, in a similar spirit as the “CRAN extras” repository for Windows: https://www.stats.ox.ac.uk/pub/RWin/. If you are using the Homebrew version of R on the latest version of macOS, you may set the
Note that the
Then you will be able to install some binary packages with
To see which packages are available, use the function
Why creating this repository?
CRAN maintainers have provided binaries for most R packages (big thanks!), but a few have still been missing so far. This repository serves as a complement to the official CRAN respository, and provides a subset of the binary R packages that are unavailable on CRAN.
To use this repository, you are expected to install the cask
The R installer you manually downloaded and installed from CRAN should also work, but it is not tested here.
Scope of the repository
The repository https://macos.rbind.org does not provide binary packages of these packages:
The repository is automatically updated daily from Travis CI, which means if a new version of a source R package appears on CRAN, its binary package should be available in this repository in less than 24 hours (if it satisfied the above conditions).
Instructions on system dependencies
Some packages only require system dependencies at the build time, e.g., the R package xml2 requires the brew package
My knowledge of building binary R packages is fairly limited, so please consider this repository as experimental before real experts join me. I'd welcome anyone to help with this project. In the same spirit of Homebrew, I really wish this will become a project maintained by the community instead of me alone.
This repository is based on Jeroen Ooms's work https://github.com/r-hub/homebrew-cran. My major work was to create an actual CRAN-like repository to host the binary packages, and figure out the brew package dependencies for a few R packages that are not (yet) covered by the
The source code in the Github repo is licensed under MIT. For the R packages, please consult their DESCRIPTION files for their specific licenses. The copyright of these packages belongs to their original authors. You may obtain the source code of these R packages from CRAN if you wish to.