r-quantities / units

Measurement units for R
https://r-quantities.github.io/units
173 stars 27 forks source link

Installation error on Mac #300

Closed dcaud closed 2 years ago

dcaud commented 2 years ago

installing from source failed:

install.packages("units", type="source")

but this worked:

install.packages("units")

Enchufa2 commented 2 years ago

Failed how? This package interfaces the udunits C library, so to compile from source, the proper toolchain as well as the development files for this library are required. The package is on CRAN and has prebuilt binaries available for this platform (as you already confirmed), which means that installation from source works just fine. I recommend using those prebuilt binaries. Otherwise, if you have a non-standard setup, the R-SIG-Mac mailing list is the proper place to ask for help.