If you run BTSPAS in parallel, e.g.for different data sets using the plyr package, it fails because arrange Grob() used in the posterior predictive plots for TSPNDENP doesn't work in parallel. [It took a while to narrow down this bug.]
I converted the routine to use facetting in place of arrangeGrob() and all is well for this routine.
Need to also make the conversion for TSPDE, TSPDE_WHChinnook, TSPDE_WHChinook2, WHSteel, and see if I use arrangeGrob() in anyother routine.
If you run BTSPAS in parallel, e.g.for different data sets using the plyr package, it fails because arrange Grob() used in the posterior predictive plots for TSPNDENP doesn't work in parallel. [It took a while to narrow down this bug.]
I converted the routine to use facetting in place of arrangeGrob() and all is well for this routine.
Need to also make the conversion for TSPDE, TSPDE_WHChinnook, TSPDE_WHChinook2, WHSteel, and see if I use arrangeGrob() in anyother routine.