r-lidar / lidR

Airborne LiDAR data manipulation and visualisation for forestry application
https://CRAN.R-project.org/package=lidR
GNU General Public License v3.0
601 stars 131 forks source link

Trouble installing liDR package on Mac OS X due to rdgal package not installing #462

Closed mackerrow closed 3 years ago

mackerrow commented 3 years ago

I am having trouble installing the lidR package on Mac OS X Catalina 10.15.7. I notice from stackoverflow that many others are having similar issues. I have tried installing the binary, and also installing from the source.

Here is the output from installing on RStudio on my Mac:

install.packages("~/Downloads/rgdal_1.5-23.tar.gz", repos = NULL, type = "source")

mackerrow commented 3 years ago

I was able to install the rgdal package and one day of problems by doing the following:

1) from inside RStudio install the binary from CRAN for the "sf" package 2) now do the same for rgdal

https://gitmemory.com/issue/r-spatial/sf/1658/827358826