Hi all,
I get an error in my app which suggest that "rgdal" were not installed on the server when deploying.
2017-06-09T10:15:09.766105+00:00 shinyapps[103285]: Le chargement a nécessité le package : rgdal
2017-06-09T10:15:09.774888+00:00 shinyapps[103285]: Le chargement a nécessité le package : sp
2017-06-09T10:15:09.766516+00:00 shinyapps[103285]: Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
2017-06-09T10:15:09.766518+00:00 shinyapps[103285]: aucun package nommé ‘rgdal’ n'est trouvé
2017-06-09T10:15:09.766749+00:00 shinyapps[103285]: Le chargement a nécessité le package : rjson
2017-06-09T10:15:09.771856+00:00 shinyapps[103285]: Le chargement a nécessité le package : geosphere
Of course, I've checked my code, packages are correctly specified for installation (and then required), including "rgdal" (there is about 10 pkg...).
My app works well on my laptop and, on the server, everything is fine except when trying to use an input in link with "read.OGR" function. It logicaly brings :
2017-06-09T10:17:32.432158+00:00 shinyapps[103285]: Warning: Error in areaPolygon: unable to find function "readOGR"
Some details :
I've got no error during deployment about package installation. I don't know if a log of the deployment exist and how to consult it.
I've not encountered this error with precedents versions of my app, which already include "rgdal".
As I use Ubuntu, I know that "rgdal" needs some stuff from apt-get (I can't remember which ones but it can be easily found).
So, everythings looks like a .deb package is missing on the server. I made a simple app with barely nothing except installing rgdal and error is reproduced.
Is someone met the same error?
Is someone can confirm my thought?
What can I do?
Thanks for reading.
Cheers.
P.S : I just have a free account...