I get this error whenever I try to deploy to shinyapps.io, even when I'm using the default simple Shiny web app ("Old Faithful Geyser Data") that opens when you create a new Shiny app in RStudio:
Preparing to deploy application...DONE
Uploading bundle for application: 333624...DONE
Deploying bundle: 1346036 for application: 333624 ...
Waiting for task: 522982840
building: Building package: rlang
################################ Begin Task Log ################################
################################# End Task Log #################################
Error: Unhandled Exception: Child Task 522982321 failed: Error building image: Error building rlang (0.2.0). R version 3.5.0 currently unavailable
In addition: Warning messages:
1: invalid uid value replaced by that for user 'nobody'
2: invalid gid value replaced by that for user 'nobody'
Execution halted
The rlang package looks like it's installed fine on my system:
> sessionInfo()
R version 3.5.0 (2018-04-23)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Sierra 10.12.6
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] rlang_0.2.0 intervals_0.15.1 lubridate_1.7.4
loaded via a namespace (and not attached):
[1] compiler_3.5.0 magrittr_1.5 rsconnect_0.8.8 tools_3.5.0 RCurl_1.95-4.10
[6] yaml_2.1.18 Rcpp_0.12.16 RJSONIO_1.3-0 stringi_1.1.7 digest_0.6.15
[11] stringr_1.3.0 bitops_1.0-6
It typically takes about a day after the Ubuntu R packages are built and available on CRAN for shinyapps.io to support a new version of R. They still are not available, so for the time being you can use R 3.4.4 instead.
Any update on this issue? I read up there that it is an Ubuntu delay, but is macOS also "slow" with these updates or are they the same? I am having exactly the same error message on my macOS R 3.5.0
There is no update at this time.
When the 3.5.0 binaries show up here, shinyapps.io will pick them up.
This should have nothing to do with macOS binaries, those are available today. However, shinyapps.io attempts to match the R environment you are running locally, so while R 3.5.0 is available now for macOS and Windows, if you want to deploy to shinyapps.io, you will need to stick with a lower version for the time being.
"...R 3.5.0 is available now for macOS and Windows..."
Let's ask it other way round: Can anyone confirm it really works with Windows10?
Preparing to deploy application...DONE
Uploading bundle for application: 338746...Detecting system locale ... DONE
Deploying bundle: 1360663 for application: 338746 ...
Waiting for task: 524436297
building: Processing bundle: 1360663
building: Building image: 1373556
error: Building package: rlang
################################ Begin Task Log ################################
################################# End Task Log #################################
Error: Unhandled Exception: Child Task 524436298 failed: Error building image: Error building rlang (0.2.0). R version 3.5.0 currently unavailable
In addition: 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)
sessionInfo()
R version 3.5.0 (2018-04-23)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
shinyapps.io is a Linux environment based on Ubuntu Trusty, as such, support for R 3.5.0 will not be available until the R binaries for Ubuntu Trusty become available, regardless of your local environment having R 3.5.0 due to your running macOS or Windows.
So if it takes 1 year for Ubuntu to make that version available, then you'll have all your users unable to publish their apps for 1 year? Or make your users use an old version of R?
While I appreciate your frustration here (believe me, it is not fun giving disappointing answers to this same question multiple times a day), I think you are approaching a grey area in the friendliness of the discourse in this community.
If a user must use the latest version of R that just came out, RStudio offers products, both open source and professional, that may be used to host Shiny applications on operating systems other than Ubuntu or with manually built R binaries.
We are investigating options for switching to using our own R binaries so we are not dependent in this way in the future, but there is no time frame that I can communicate at this time.
That said, I do not expect this situation to last a year.
I believe that my problem is related to this one. The easiest way to understand my problem is click on Home or About. If either case, NOT FOUND is displayed on https://pjossenbruggen.shinyapps.io/gpgithub/.
There is a warning but no errors in R Markdown, Deploy or shinyapps.io logs. library(RJSONIO) and library(shiny) were added to the code to eliminate NAs in earlier runs.
I feel that I must install a package to overcome this issue.
The shinyapps.io log and sessionInfo are:
|
|.................................................................| 100%
2018-05-22T14:26:11.698920+00:00 shinyapps[347050]: output file: /tmp/rmarkdown/f9769c64af1be0032e01d1104b004c4d/index.knit.md
2018-05-22T14:26:11.680904+00:00 shinyapps[347050]:
2018-05-22T14:26:11.698924+00:00 shinyapps[347050]:
2018-05-22T14:26:11.674011+00:00 shinyapps[347050]: ordinary text without R code
2018-05-22T14:26:11.674014+00:00 shinyapps[347050]:
2018-05-22T14:26:11.759437+00:00 shinyapps[347050]: /opt/connect/ext/pandoc/pandoc +RTS -K512m -RTS /tmp/rmarkdown/f9769c64af1be0032e01d1104b004c4d/index.utf8.md --to html4 --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output /tmp/rmarkdown/f9769c64af1be0032e01d1104b004c4d/rmd_f9769c64af1be0032e01d1104b004c4d.html --smart --email-obfuscation none --standalone --section-divs --template /usr/local/lib/R/site-library/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --css style.css --id-prefix section- --include-before-body /tmp/RtmpaOQEIr/rmarkdown-str117b2ff6ad.html --variable navbar=1 --variable body_padding=60 --variable header_padding=65 --variable 'theme:flatly' --mathjax --variable 'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --filter /opt/connect/ext/pandoc/pandoc-citeproc
2018-05-22T14:26:11.940604+00:00 shinyapps[347050]: Warning in readLines(res_path) :
2018-05-22T14:26:11.940607+00:00 shinyapps[347050]: incomplete final line found on '/tmp/rmarkdown/f9769c64af1be0032e01d1104b004c4d/rmd_f9769c64af1be0032e01d1104b004c4d_files/style.css'
2018-05-22T14:26:11.972655+00:00 shinyapps[347050]:
2018-05-22T14:26:11.972658+00:00 shinyapps[347050]: Output created: /tmp/rmarkdown/f9769c64af1be0032e01d1104b004c4d/rmd_f9769c64af1be0032e01d1104b004c4d.html
2018-05-22T14:26:53.140628+00:00 shinyapps[347050]: Server version: 1.6.2-2
2018-05-22T14:26:53.140656+00:00 shinyapps[347050]: LANG: en_US.UTF-8
2018-05-22T14:26:53.140657+00:00 shinyapps[347050]: R version: 3.4.4
2018-05-22T14:26:53.140658+00:00 shinyapps[347050]: shiny version: 1.1.0
2018-05-22T14:26:53.140659+00:00 shinyapps[347050]: rmarkdown version: 1.9
2018-05-22T14:26:53.140674+00:00 shinyapps[347050]: knitr version: 1.20
2018-05-22T14:26:53.140675+00:00 shinyapps[347050]: jsonlite version: 1.5
2018-05-22T14:26:53.140681+00:00 shinyapps[347050]: RJSONIO version: 1.3.0
2018-05-22T14:26:53.140728+00:00 shinyapps[347050]: htmltools version: 0.3.6
2018-05-22T14:26:53.321391+00:00 shinyapps[347050]: Using jsonlite for JSON processing
2018-05-22T14:26:53.437693+00:00 shinyapps[347050]:
2018-05-22T14:26:53.437700+00:00 shinyapps[347050]: Starting R with process ID: '63'
2018-05-22T14:26:53.513805+00:00 shinyapps[347050]: Listening on http://127.0.0.1:39456
2018-05-22T14:26:53.513802+00:00 shinyapps[347050]:
2018-05-22T14:32:28.336512+00:00 shinyapps[347050]: Server version: 1.6.2-2
2018-05-22T14:32:28.336574+00:00 shinyapps[347050]: R version: 3.4.4
2018-05-22T14:32:28.336572+00:00 shinyapps[347050]: LANG: en_US.UTF-8
2018-05-22T14:32:28.336632+00:00 shinyapps[347050]: RJSONIO version: 1.3.0
2018-05-22T14:32:28.336575+00:00 shinyapps[347050]: shiny version: 1.1.0
2018-05-22T14:32:28.336594+00:00 shinyapps[347050]: rmarkdown version: 1.9
2018-05-22T14:32:28.524711+00:00 shinyapps[347050]: Using jsonlite for JSON processing
2018-05-22T14:32:28.336596+00:00 shinyapps[347050]: knitr version: 1.20
2018-05-22T14:32:28.336678+00:00 shinyapps[347050]: htmltools version: 0.3.6
2018-05-22T14:32:28.336621+00:00 shinyapps[347050]: jsonlite version: 1.5
2018-05-22T14:32:28.648914+00:00 shinyapps[347050]:
2018-05-22T14:32:28.730715+00:00 shinyapps[347050]: Listening on http://127.0.0.1:33493
2018-05-22T14:32:28.648918+00:00 shinyapps[347050]: Starting R with process ID: '161'
2018-05-22T14:32:28.730711+00:00 shinyapps[347050]:
sessionInfo()
R version 3.4.4 (2018-03-15)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS High Sierra 10.13.4
Our effort to shift to our own R builds is well underway and I expect to be able to give an update later this week. Thank you for the offer of help, though, it is appreciated.
I'm working on Windows 7 with R 3.5.0. Same issue:
Preparing to deploy application...DONE
Uploading bundle for application: 349121...DONE
Deploying bundle: 1393581 for application: 349121 ...
Waiting for task: 527859552
building: Parsing manifest
building: Building image: 1406952
error: Installing system dependencies
################################ Begin Task Log ################################
################################# End Task Log #################################
Error: Unhandled Exception: Child Task 527859557 failed: Error building image: R version 3.5.0 currently unavailable
Execution halted
Is this the same issue or is everything discussed above pertains to Linux distros only?