I'm trying to publish a shiny app but get the following error when trying to build the rgeos package:
Error: Unhandled Exception: Child Task 559758244 failed: Error building image: Error building rgeos (0.4-1). Build exited with non-zero status: 1
0.4-1 is the latest version on CRAN, so I'm not sure what the problem could be.
(The app doesn't actually require rgeos - it works fine with or without it locally - but on shinyapps.io I get disconnected when displaying one of the spatial polygons in leaflet, and get the following message in my log:
Warning: Error in loadNamespace: there is no package called ‘rgeos’
The only thing different about that polygon is that I removed some holes from it.)