No shiny examples will run!

shiny

#1

Problems can't get more basic than this. I have updated RStudio, R and all the packages have been updated with the new R version. Here is my problem:

library(shiny)
Error: package or namespace load failed for ‘shiny’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘later’
runExample("01_hello")
Error in runExample("01_hello") : could not find function "runExample"
sessionInfo()
R version 3.5.0 (2018-04-23)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252
[3] LC_MONETARY=English_Australia.1252 LC_NUMERIC=C
[5] LC_TIME=English_Australia.1252

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

loaded via a namespace (and not attached):
[1] Rcpp_0.12.16 bookdown_0.7 digest_0.6.15 rprojroot_1.3-2 R6_2.2.2 backports_1.1.2
[7] magrittr_1.5 evaluate_0.10.1 stringi_1.1.7 rmarkdown_1.9 tools_3.5.0 stringr_1.3.0
[13] xfun_0.1 yaml_2.1.19 compiler_3.5.0 htmltools_0.3.6 knitr_1.20

...

Seems crazy to me. Any suggestions or help will be very gratefully received.
Cheers.


#2

Do you have the dev version of Shiny installed? The later package is here:

Install with

remotes::install_github("r-lib/later")

#3

Thanks, Cole. You prompted me to try installing Shiny from github, which solved the problem anyway.
Thanks for taking the time to offer a suggestion.
Cheers

Brian


#4

If your question's been answered, would you mind choosing a solution? (see FAQ below for how) It makes it a bit easier to visually navigate the site and see which questions still need help.

Thanks