Skip to content

drat system status

Josh Errickson edited this page Aug 20, 2024 · 13 revisions

All others but Source refer to binary builds. If you've gotten it running on an Untested system, please let me know!

4.4.X Status
Source Confirmed working on M1 Mac ✔️
Mac M1 Installs and runs confirmed ✔️
Mac Intel Untested
Windows Untested
4.3.X Status
Source Confirmed working on M1 Mac ✔️
Mac M1 Installs and runs confirmed ✔️
Mac Intel Untested
Windows Untested
4.2.X Status
Source Confirmed working on M1 Mac ✔️
Mac M1 Installs and runs confirmed ✔️
Mac Intel Installs and runs confirmed ✔️
Windows Untested
4.1.X Status
Source Confirmed working on M1 Mac ✔️
Mac M1 Installs and runs confirmed ✔️
Mac Intel Untested
Windows Installs and runs confirmed ✔️

Mac versions

On a Mac, things can get slightly tricky depending on how you installed R. Specifically, you could have installed the binary version of the package from CRAN (Downloading either downloading "R-X.Y.Z.pkg" or "R-X.Y.Z-arm64.pkg" from https://cran.r-project.org/bin/macosx/), or you could have built R from source, either by downloading the source directly from CRAN, or more likely installing through homebrew or MacPorts or similar.

If you are uncertain, you can check by looking at the value of .Platform$pkgType. If you see

> .Platform$pkgType
[1] "source"

then you did install from source. If instead you see a string starting with mac.binary, you installed the CRAN binary.

R installed from CRAN Binary

install.packages("rrelaxiv") should function as expected and install a proper binary package which does not require compilation. If it attempts to install from source (and fails or you want to avoid it), you can try adding the type = "binary" option.

R installed from source

The binary versions of rrelaxiv will not work for this version of R. You must build it from source, which install.packages will do by default. To do so, you need gfortran installed locally. This probably was required to build R from source originally so you should be fine, but if somehow it wasn't, you can follow the directions here to get it installed.

Clone this wiki locally