Re: Installing Shiny From Git (to use the new callModule function)

121 views
Skip to first unread message

Joe Cheng

unread,
Nov 25, 2015, 1:03:36 PM11/25/15
to its.me.a...@gmail.com, Shiny - Web Framework for R
This happens sometimes when devtools tries to unload/reload a package that was already in use in that R session. Usually restarting R fixes it. If not, do the install_github again, and restart R again.

On Wed, Nov 25, 2015 at 12:38 AM <its.me.a...@gmail.com> wrote:
I'm trying to install the shiny library from git to play with the callModule function that has been posted about here - http://shiny.rstudio.com/gallery/module-example.html and http://shiny.rstudio.com/articles/modules.html

It seems to install fine - 

Downloading GitHub repo rstudio/shiny@master
Installing shiny
'/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore CMD INSTALL '/tmp/Rtmpo2MSHI/devtoolsd0a45c340b7/rstudio-shiny-b5e49a6'  \
  --library='/usr/local/lib/R/site-library' --install-tests 

* installing *source* package ‘shiny’ ...
** R
** inst
** tests
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (shiny)

But when i call library(shiny), it gives an error - 

Error in get(method, envir = home) : 
  lazy-load database '/usr/local/lib/R/site-library/shiny/R/shiny.rdb' is corrupt
In addition: Warning messages:
1: In .registerS3method(fin[i, 1], fin[i, 2], fin[i, 3], fin[i, 4],  :
  restarting interrupted promise evaluation
2: In get(method, envir = home) :
  restarting interrupted promise evaluation
3: In get(method, envir = home) : internal error -3 in R_decompress1
Error: package or namespace load failed for ‘shiny’

If there is any other way of getting access to the functionality I mentioned above, then that's fine too. An expected date of release to CRAN would be very helpful.

--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/217fff99-94bc-43b6-95f0-651f4db379ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages