Hello everyone:
I am trying to deploy an application that in the server file loads some librarys:
library(shiny)
library(ggplot2)
library(ggimage)
library(grid)
library(png)
library(leaflet)
library(raster)
As far as I know, the package 'leaflet' loads the package 'sp' and this one requires the package 'rgdal'. Then is when I get disconnected from the server with the following logs:
2018-06-02T22:31:02.634150+00:00 shinyapps[353213]: Loading required package: sp
2018-06-02T22:31:05.044742+00:00 shinyapps[353213]: Warning: Error in .requireRgdal: package 'rgdal' is not available
2018-06-02T22:31:05.048443+00:00 shinyapps[353213]: 53: shapefile
2018-06-02T22:31:05.048439+00:00 shinyapps[353213]: Stack trace (innermost first):
2018-06-02T22:31:05.048443+00:00 shinyapps[353213]: 54: .local
2018-06-02T22:31:05.048441+00:00 shinyapps[353213]: 55: .requireRgdal
...
2018-06-02T22:31:05.048722+00:00 shinyapps[353213]: Error in .requireRgdal() : package 'rgdal' is not available
I have tryed puting an 'install.package('rdal') but the serves does no allow me to install packages.
So, what can we do when a package is not available?
Thank you all in advance.