ministryofjustice / analytics-platform

Parent repository for the MOJ Analytics Platform
MIT License
14 stars 1 forks source link

Unable to install rgeos/rgdal packages in R #117

Closed BrydenFrancesca closed 1 year ago

BrydenFrancesca commented 4 years ago

What happened?

Installing rgeos/rgdal packages fail in RStudio with the errors "configure: error: geos-config not found or not executable." and "configure: error: gdal-config not found or not executable." respectively. This is a known problem with installing these packages in Linux, and requires sudo access to install the relevant additional libraries via the terminal. Please see here (https://philmikejones.me/tutorials/2014-07-14-installing-rgdal-in-r-on-linux/) for details.

Steps to reproduce the problem

Attempt to install packages rgdal/rgeos via install.packages().

Expected behaviour

Packages install correctly and without errors