kaitlyngaynor / gorongosa-shiny

Code for Gorongosa Camera Trap Shiny App
https://kaitlyngaynor.shinyapps.io/gorongosa-shiny/
Apache License 2.0
2 stars 0 forks source link

App won't run on shiny.io due to gpclib issue #11

Closed kaitlyngaynor closed 4 years ago

kaitlyngaynor commented 4 years ago

The app publishes to Shiny.io [https://kaitlyngaynor.shinyapps.io/shiny-rai/]

However, it fails to run and results in the following message: Error in value[3L] : isTRUE(gpclibPermitStatus()) is not TRUE

It runs fine in the R console. Some Googling suggests it is an issue with the mapping component. Need to do more research and troubleshooting on this.

kaitlyngaynor commented 4 years ago

Potentially a problem with broom::tidy: https://github.com/kaitlyngaynor/gorongosa-camera-traps/blob/0bd1fcf1ddcd3d396cf095ecea1626bf9c8de8ca/shiny-rai/global.R#L45

Given that it relies on maptools package, which I think depends on gpc, which is deprecated? See source code here.

kaitlyngaynor commented 4 years ago

Didn't try to fix this particular issue, but instead created a leaflet map using Gordon's gull code