rstudio / shinyapps-package-dependencies

Collection of bash scripts that install R package system dependencies
https://www.shinyapps.io/
Other
79 stars 58 forks source link

pgrade GEOS to 3.6.0 or later #251

Open meshry opened 4 years ago

meshry commented 4 years ago

Shinyapps.io has an old version of GEOS. This causes my Shiny app, which works fine on my laptop, to fail to deploy on Shinyapps.io. Specifically, the package lwgeom (0.2-4) fails to install on Shinyapps.io because it requires GEOS 3.6.0 or later.

I have the sf package installed and loaded to the library on my laptop and it links to GEOS 3.8.0. I also have the lwgeom package installed and loaded to the library on my laptop and it also links to GOES 3.8.0. Yet, when I try to deploy the app to Shinyapps.io, I get the following error: upgrade GEOS to 3.6.0 or later.

Is it possible to get GEOS 3.8.0 on Shinyapps.io?

neilajr commented 3 years ago

My project needs this to calculate nearest features in one of our shiny apps which is only supported from 3.6.1 or later. Would be great to have this work on the remote server.

jcallura commented 3 years ago

I am also running into problems due to outdated GEOS (3.5.1), GDAL (2.2.2), and PROJ (4.9.2) versions on shinyapps.io. My app runs fine locally (GEOS 3.8.0, GDAL 3.0.4, and PROJ 6.3.1), but is unable to process some functions from the sf package once deployed. Are there any known workarounds besides manually recoding the CRS definitions as suggested here?