Open logisticregress opened 5 years ago
Package bsts
relies upon Boom
, which we know has issues compiling for shinyapps.io. There is currently no workaround.
Hi Joshua - this is from the author of the BSTS package. I do not know how to accomplish what he recommends. I'm using R Studio on a Windows 10 machine.
The only build issues I have heard of recently are that the build sometimes times out. The solution is to build with multiple threads. There is a line in the Boom_xxx.tgz source file Boom/src/Makevars, near the top, that controls the multiple threading. Uncomment that line (or build by hand with MAKEVARS="-j 16" R CMD INSTALL Boom_xxx.tgz) and you should be good to go.
Boom
causes the build to exit as opposed to fail. We are not noticing this properly, and thus we timeout after the maximum build time is reached. I have not been able to track down the cause of exit.
A solution that worked for me was to load the following three libraries directly in the Shiny App:
... library(Boom) library(BoomSpikeSlab) library(bsts) library(CausalImpact) ... ui <- ... ... server <- ... ...
Deary Shiny App - please add support for BSTS - there seem to be a lot of problems related to the package dependencies, which cause RSConnect to time out and crash.