Error in value[[3L]](cond) : there is no package called ‘shinydashboard’ - Error deploying Shiny App on Shinyapps.io

Hi!! I'm trying to publish my Shiny App on shinyApps.io but I get the following error:

``Preformatted textError in value[[3L]](cond) : there is no package called ‘shinydashboard’

The fact is that I've already installed and loaded "shinydashboard" and the error is still happening. My OS is Windows 10 and the app runs perfectly on my computer. So, I guess the error lies on the shiny server.

To debug it, I split app.R into ui.R, server.R and global.R. Then the error mutates:

Attaching package: ‘shinydashboard’

The following object is masked from ‘package:graphics’:

    box

Loading required package: sp
Warning in fun(libname, pkgname) :
  rgeos: versions of GEOS runtime 3.5.0-CAPI-1.9.0
and GEOS at installation 3.5.1-CAPI-1.9.1differ
rgeos version: 0.5-5, (SVN revision 640)
GEOS runtime version: 3.5.0-CAPI-1.9.0 
 Linking to sp version: 1.4-2 
 Polygon checking: TRUE 

rgdal: version: 1.5-16, (SVN revision 1050)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 2.2.2, released 2017/09/15
Path to GDAL shared files: /usr/share/gdal/2.2
GDAL binary built with GEOS: TRUE 
Loaded PROJ runtime: Rel. 4.9.2, 08 September 2015, [PJ_VERSION: 492]
Path to PROJ shared files: (autodetected)
Linking to sp version:1.4-2
Loading required package: ggplot2
Google's Terms of Service: https://cloud.google.com/maps-platform/terms/.
Please cite ggmap if you use it! See citation("ggmap") for details.

Attaching package: ‘shinyjs’

The following object is masked from ‘package:rgeos’:

    show

The following object is masked from ‘package:sp’:

    show

The following object is masked from ‘package:shiny’:

    runExample

The following objects are masked from ‘package:methods’:

    removeClass, show


Attaching package: ‘rsconnect’

The following object is masked from ‘package:shiny’:

    serverInfo

── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ──
✔ tibble  3.0.3     ✔ dplyr   1.0.2
✔ tidyr   1.1.2     ✔ stringr 1.4.0
✔ readr   1.3.1     ✔ forcats 0.5.0
✔ purrr   0.3.4     
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag()    masks stats::lag()
Error in value[[3L]](cond) : string multibyte 2 inválida
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Ejecución interrumpida

There might be a problem of encoding because I am using data typed in Spanish, but still don't know what I can do to fix them.

I would be so thankful if someone can help me with these errors :blush: