r-quantities / units

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

Error installing latest release. #268

Closed engineerchange closed 3 years ago

engineerchange commented 3 years ago
> install.packages("units")
trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/units_0.7-0.tgz'
Warning in install.packages :
  cannot open URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/units_0.7-0.tgz': HTTP status was '404 Not Found'
Error in download.file(url, destfile, method, mode = "wb", ...) : 
  cannot open URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/units_0.7-0.tgz'
Warning in install.packages :
  download of package ‘units’ failed

The CRAN link appears to 404 out; the hyperlink in a browser doesn't work either.

Enchufa2 commented 3 years ago

The binaries for macOS are not built yet, as the CRAN page shows. install.packages should detect this and offer the installation from source as an alternative (at least, that's what happens on Windows).

Anyway, that's an R/CRAN issue, not a units issue. Probably the r-sig-mac mailing list is a better place to report this.