Error deploying app to ShinyApps.io - Error detecting locale

Hi,

I am getting this only error message when trying to push my app to shinyapp.io :

Preparing to deploy application...DONE
Uploading bundle for application: 941655...Detecting system locale ... DONE
Deploying bundle: 2099730 for application: 941655 ...
Waiting for task: 615671147
building: Parsing manifest
building: Building image: 2213391
building: Installing system dependencies
building: Fetching packages
building: Building package: rpostgis
building: Building package: postGIStools
building: Installing packages
building: Installing files
building: Pushing image: 2213391
deploying: Starting instances
rollforward: Activating new instances
success: Stopping old instances
Application successfully deployed to https://shinagripag.shinyapps.io/shinagripag_temp/
Warning message:
Error detecting locale: Error in read.table(file = file, header = header, sep = sep, quote = quote, : incomplete final line found by readTableHeader on 'raw'
(Using default: en_US)

Sad thing is I didn't get any error message on my log, while the shinyapp.io dashboard shows the app as working :

2019-05-21T21:39:59.092716+00:00 shinyapps[941655]: dataTableOutput, renderDataTable
2019-05-21T21:39:59.092717+00:00 shinyapps[941655]:
2019-05-21T21:39:59.092715+00:00 shinyapps[941655]:
2019-05-21T21:39:59.904645+00:00 shinyapps[941655]:
2019-05-21T21:39:59.904647+00:00 shinyapps[941655]: Attaching package: ‘raster’
2019-05-21T21:39:59.904648+00:00 shinyapps[941655]:
2019-05-21T21:39:59.904996+00:00 shinyapps[941655]: The following object is masked from ‘package:dplyr’:
2019-05-21T21:39:59.904997+00:00 shinyapps[941655]:
2019-05-21T21:39:59.904998+00:00 shinyapps[941655]: select
2019-05-21T21:39:59.904998+00:00 shinyapps[941655]:
2019-05-21T21:39:59.905431+00:00 shinyapps[941655]: The following object is masked from ‘package:tidyr’:
2019-05-21T21:39:59.905432+00:00 shinyapps[941655]:
2019-05-21T21:39:59.905432+00:00 shinyapps[941655]: extract
2019-05-21T21:39:59.905433+00:00 shinyapps[941655]:
2019-05-21T21:40:00.008937+00:00 shinyapps[941655]: Linking to GEOS 3.5.1, GDAL 2.2.2, PROJ 4.9.2
2019-05-21T21:40:00.056932+00:00 shinyapps[941655]:
2019-05-21T21:40:00.056935+00:00 shinyapps[941655]: Attaching package: ‘shinydashboard’
2019-05-21T21:40:00.056937+00:00 shinyapps[941655]:
2019-05-21T21:40:00.057276+00:00 shinyapps[941655]: The following object is masked from ‘package:graphics’:
2019-05-21T21:40:00.057277+00:00 shinyapps[941655]:
2019-05-21T21:40:00.057278+00:00 shinyapps[941655]: box
2019-05-21T21:40:00.057279+00:00 shinyapps[941655]:
2019-05-21T21:40:00.068326+00:00 shinyapps[941655]:
2019-05-21T21:40:00.068328+00:00 shinyapps[941655]: Attaching package: ‘zip’
2019-05-21T21:40:00.068330+00:00 shinyapps[941655]:
2019-05-21T21:40:00.068703+00:00 shinyapps[941655]: The following objects are masked from ‘package:utils’:
2019-05-21T21:40:00.068705+00:00 shinyapps[941655]: unzip, zip
2019-05-21T21:40:00.068704+00:00 shinyapps[941655]:
2019-05-21T21:40:00.068706+00:00 shinyapps[941655]:
2019-05-21T21:40:00.259862+00:00 shinyapps[941655]: Attaching package: ‘glue’
2019-05-21T21:40:00.259863+00:00 shinyapps[941655]:
2019-05-21T21:40:00.260208+00:00 shinyapps[941655]: The following object is masked from ‘package:raster’:
2019-05-21T21:40:00.260209+00:00 shinyapps[941655]:
2019-05-21T21:40:00.260692+00:00 shinyapps[941655]: The following object is masked from ‘package:dplyr’:
2019-05-21T21:40:00.260693+00:00 shinyapps[941655]:
2019-05-21T21:40:00.260694+00:00 shinyapps[941655]: collapse
2019-05-21T21:40:00.260210+00:00 shinyapps[941655]:
2019-05-21T21:40:00.270495+00:00 shinyapps[941655]: Attaching package: ‘reshape’
2019-05-21T21:40:00.270494+00:00 shinyapps[941655]:
2019-05-21T21:40:00.270830+00:00 shinyapps[941655]: The following object is masked from ‘package:dplyr’:
2019-05-21T21:40:00.259859+00:00 shinyapps[941655]:
2019-05-21T21:40:00.260210+00:00 shinyapps[941655]: trim
2019-05-21T21:40:00.271612+00:00 shinyapps[941655]:
2019-05-21T21:40:00.260694+00:00 shinyapps[941655]:
2019-05-21T21:40:00.270830+00:00 shinyapps[941655]:
2019-05-21T21:40:00.270831+00:00 shinyapps[941655]: rename
2019-05-21T21:40:00.271612+00:00 shinyapps[941655]: expand, smiths
2019-05-21T21:40:00.270832+00:00 shinyapps[941655]:
2019-05-21T21:40:00.271611+00:00 shinyapps[941655]:
2019-05-21T21:40:00.270496+00:00 shinyapps[941655]:
2019-05-21T21:40:00.271610+00:00 shinyapps[941655]: The following objects are masked from ‘package:tidyr’:

In my navigator, I get a timeout error :

An error has occurred

Unable to connect to worker after 60.00 seconds; startup took too long.

Weird thing is i'm not using any read.table function in my code. Even if it may be called by another function, it's hard to find were whitout any error log. It may be some encoding error, but I didn't found anyway to remediate this on the forum. For example, how to change :

(Using default: en_US)

?
I'm open to any idea where to search.

My sessinInfo :

sessionInfo()
R version 3.5.3 (2019-03-11)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=French_France.1252 LC_CTYPE=French_France.1252 LC_MONETARY=French_France.1252
[4] LC_NUMERIC=C LC_TIME=French_France.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] rsconnect_0.8.13

loaded via a namespace (and not attached):
[1] Rcpp_1.0.1 rstudioapi_0.10 magrittr_1.5 tidyselect_0.2.5 xtable_1.8-3 R6_2.4.0
[7] rlang_0.3.1 dplyr_0.8.0.1 tools_3.5.3 packrat_0.5.0 pool_0.1.4.2 DBI_1.0.0
[13] dbplyr_1.3.0 askpass_1.1 htmltools_0.3.6 crosstalk_1.0.0 openssl_1.2.2 yaml_2.2.0
[19] leaflet_2.0.2 digest_0.6.18 assertthat_0.2.0 tibble_2.1.1 crayon_1.3.4 shiny_1.2.0
[25] purrr_0.3.2 later_0.8.0 bitops_1.0-6 htmlwidgets_1.3 promises_1.0.1 RCurl_1.95-4.12
[31] glue_1.3.1 mime_0.6 compiler_3.5.3 pillar_1.3.1 jsonlite_1.6 httpuv_1.5.0
[37] pkgconfig_2.0.2

Dear RLucas, did you get any solution for this issue? I have the same issue when deploying my application.
Best,

Sassire

Sorry I didn't get any responses. I made a lot of search and I guess came from the encoding but I didn't found any solution.

This is a warning from the rsconnect package when it is building the bundle to deploy. It may or may not have anything to do with why your application took longer than 60 seconds to start up.

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.