Running examples in ‘gamlss.foreach-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: BayesianBoot
> ### Title: Non parametric and Bayesian Bootstrapping for GAMLSS models
> ### Aliases: BayesianBoot NonParametricBoot
> ### Keywords: regression
> 
> ### ** Examples
> 
> m1 <-gamlss(y~x+qrt, data=aids, family=NBI())
GAMLSS-RS iteration 1: Global Deviance = 492.7119 
GAMLSS-RS iteration 2: Global Deviance = 492.6375 
GAMLSS-RS iteration 3: Global Deviance = 492.6373 
> registerDoParallel(cores = 2)
> B1 <- BayesianBoot(m1)
> summary(B1)

 Coefficients from Baysian.boot() taken from: 100 simulations 
                        mean       2.5%        50%      97.5%      mle
mu.(Intercept)      2.797396   2.263014   2.796693   3.276554   2.8855
mu.x                0.089453   0.074477   0.090807   0.102659   0.0874
mu.qrt2            -0.071261  -0.396950  -0.069136   0.301706  -0.1204
mu.qrt3             0.166171  -0.161540   0.143445   0.659106   0.1118
mu.qrt4            -0.048936  -0.405913  -0.066005   0.362862  -0.0755
sigma.(Intercept)  -1.718249  -2.180094  -1.726324  -1.296188  -1.6032
deviance          484.177698 452.592354 483.675333 510.308537 492.6373
> plot(B1)
> B2 <- NonParametricBoot(m1)
GAMLSS-RS iteration 1: Global Deviance = 482.0777 
GAMLSS-RS iteration 2: Global Deviance = 481.9187 
GAMLSS-RS iteration 3: Global Deviance = 481.9185 
GAMLSS-RS iteration 1: Global Deviance = 483.3326 
GAMLSS-RS iteration 2: Global Deviance = 483.1254 
GAMLSS-RS iteration 3: Global Deviance = 483.1252 
GAMLSS-RS iteration 1: Global Deviance = 492.0885 
GAMLSS-RS iteration 2: Global Deviance = 491.9032 
GAMLSS-RS iteration 3: Global Deviance = 491.9029 
GAMLSS-RS iteration 1: Global Deviance = 478.0299 
GAMLSS-RS iteration 1: Global Deviance = 458.4894 
GAMLSS-RS iteration 2: Global Deviance = 477.9409 
GAMLSS-RS iteration 3: Global Deviance = 477.9406 
GAMLSS-RS iteration 2: Global Deviance = 458.3046 
GAMLSS-RS iteration 3: Global Deviance = 458.3045 
GAMLSS-RS iteration 1: Global Deviance = 509.4851 
GAMLSS-RS iteration 2: Global Deviance = 509.389 
GAMLSS-RS iteration 1: Global Deviance = 481.5891 
GAMLSS-RS iteration 3: Global Deviance = 509.3888 
GAMLSS-RS iteration 2: Global Deviance = 481.4528 
GAMLSS-RS iteration 3: Global Deviance = 481.4526 
GAMLSS-RS iteration 1: Global Deviance = 437.8589 
GAMLSS-RS iteration 2: Global Deviance = 437.4596 
GAMLSS-RS iteration 1: Global Deviance = 440.7008 
GAMLSS-RS iteration 3: Global Deviance = 437.459 
GAMLSS-RS iteration 2: Global Deviance = 440.3637 
GAMLSS-RS iteration 3: Global Deviance = 440.3633 
GAMLSS-RS iteration 1: Global Deviance = 501.1596 
GAMLSS-RS iteration 2: Global Deviance = 501.0743 
GAMLSS-RS iteration 3: Global Deviance = 501.0741 
GAMLSS-RS iteration 1: Global Deviance = 505.0074 
GAMLSS-RS iteration 2: Global Deviance = 504.9343 
GAMLSS-RS iteration 3: Global Deviance = 504.934 
GAMLSS-RS iteration 1: Global Deviance = 455.3925 
GAMLSS-RS iteration 2: Global Deviance = 455.1814 
GAMLSS-RS iteration 3: Global Deviance = 455.1811 
GAMLSS-RS iteration 1: Global Deviance = 501.0053 
GAMLSS-RS iteration 2: Global Deviance = 500.9501 
GAMLSS-RS iteration 3: Global Deviance = 500.95 
GAMLSS-RS iteration 1: Global Deviance = 498.4569 
GAMLSS-RS iteration 2: Global Deviance = 498.4004 
GAMLSS-RS iteration 3: Global Deviance = 498.4003 
GAMLSS-RS iteration 1: Global Deviance = 471.4652 
GAMLSS-RS iteration 2: Global Deviance = 471.1986 
GAMLSS-RS iteration 3: Global Deviance = 471.1982 
GAMLSS-RS iteration 1: Global Deviance = 509.5702 
GAMLSS-RS iteration 2: Global Deviance = 509.5251 
GAMLSS-RS iteration 3: Global Deviance = 509.525 
GAMLSS-RS iteration 1: Global Deviance = 462.708 
GAMLSS-RS iteration 2: Global Deviance = 462.5341 
GAMLSS-RS iteration 3: Global Deviance = 462.5339 
GAMLSS-RS iteration 1: Global Deviance = 474.2908 
GAMLSS-RS iteration 2: Global Deviance = 474.1429 
GAMLSS-RS iteration 3: Global Deviance = 474.1428 
GAMLSS-RS iteration 1: Global Deviance = 503.4234 
GAMLSS-RS iteration 2: Global Deviance = 503.3396 
GAMLSS-RS iteration 3: Global Deviance = 503.3395 
GAMLSS-RS iteration 1: Global Deviance = 487.85 
GAMLSS-RS iteration 2: Global Deviance = 487.731 
GAMLSS-RS iteration 3: Global Deviance = 487.7309 
GAMLSS-RS iteration 1: Global Deviance = 459.6587 
GAMLSS-RS iteration 2: Global Deviance = 459.3721 
GAMLSS-RS iteration GAMLSS-RS iteration 3: Global Deviance = 1459.3713: Global Deviance =  
491.0151 
GAMLSS-RS iteration 2: Global Deviance = 490.9654 
GAMLSS-RS iteration 3: Global Deviance = 490.9651 
GAMLSS-RS iteration 1: Global Deviance = 483.523 
GAMLSS-RS iteration 2: Global Deviance = 483.3794 
GAMLSS-RS iteration 3: Global Deviance = 483.3793 
GAMLSS-RS iteration 1: Global Deviance = 498.3995 
GAMLSS-RS iteration 2: Global Deviance = 498.2095 
GAMLSS-RS iteration 3: Global Deviance = 498.2092 
GAMLSS-RS iteration 1: Global Deviance = 463.1089 
GAMLSS-RS iteration 2: Global Deviance = 462.9159 
GAMLSS-RS iteration 1: Global Deviance = 498.0773 
GAMLSS-RS iteration 3: Global Deviance = 462.9156 
GAMLSS-RS iteration 2: Global Deviance = 497.9555 
GAMLSS-RS iteration 3: Global Deviance = 497.9554 
GAMLSS-RS iteration 1: Global Deviance = 491.9694 
GAMLSS-RS iteration 2: Global Deviance = 491.9263 
GAMLSS-RS iteration 1: Global Deviance = 520.0315 
GAMLSS-RS iteration 3: Global Deviance = 491.9262 
GAMLSS-RS iteration 2: Global Deviance = 519.9998 
GAMLSS-RS iteration 3: Global Deviance = 519.9997 
GAMLSS-RS iteration 1: Global Deviance = 474.0879 
GAMLSS-RS iteration 2: Global Deviance = 473.8617 
GAMLSS-RS iteration 1: Global Deviance = 497.9563 
GAMLSS-RS iteration 3: Global Deviance = 473.8614 
GAMLSS-RS iteration 2: Global Deviance = 497.8049 
GAMLSS-RS iteration 3: Global Deviance = 497.8048 
GAMLSS-RS iteration 1: Global Deviance = 503.3007 
GAMLSS-RS iteration 2: Global Deviance = 503.2653 
GAMLSS-RS iteration 1: Global Deviance = 470.6528 
GAMLSS-RS iteration 3: Global Deviance = 503.2651 
GAMLSS-RS iteration 2: Global Deviance = 470.513 
GAMLSS-RS iteration 3: Global Deviance = 470.5127 
GAMLSS-RS iteration 1: Global Deviance = 498.8646 
GAMLSS-RS iteration 1: Global Deviance = 461.4583 
GAMLSS-RS iteration 2: Global Deviance = 498.7676 
GAMLSS-RS iteration 3: Global Deviance = 498.7674 
GAMLSS-RS iteration 2: Global Deviance = 461.2469 
GAMLSS-RS iteration 3: Global Deviance = 461.2467 
GAMLSS-RS iteration 1: Global Deviance = 490.4532 
GAMLSS-RS iteration 1: Global Deviance = 491.3676 
GAMLSS-RS iteration 2: Global Deviance = 490.362 
GAMLSS-RS iteration 3: Global Deviance = 490.3619 
GAMLSS-RS iteration 1: Global Deviance = 449.0249 
GAMLSS-RS iteration 2: Global Deviance = 491.307 
GAMLSS-RS iteration 3: Global Deviance = 491.3067 
GAMLSS-RS iteration 2: Global Deviance = 448.5088 
GAMLSS-RS iteration 3: Global Deviance = 448.5078 
GAMLSS-RS iteration 1: Global Deviance = 484.4732 
GAMLSS-RS iteration 2: Global Deviance = 484.3988 
GAMLSS-RS iteration 3: Global Deviance = 484.3987 
GAMLSS-RS iteration 1: Global Deviance = 482.8573 
GAMLSS-RS iteration 1: Global Deviance = 483.5542 
GAMLSS-RS iteration 2: Global Deviance = 482.7704 
GAMLSS-RS iteration 3: Global Deviance = 482.7703 
GAMLSS-RS iteration 2: Global Deviance = 483.4497 
GAMLSS-RS iteration 3: Global Deviance = 483.4496 
GAMLSS-RS iteration 1: Global Deviance = 488.0791 
GAMLSS-RS iteration 2: Global Deviance = 487.9971 
GAMLSS-RS iteration 3: Global Deviance = 487.997 
GAMLSS-RS iteration 1: Global Deviance = 470.8448 
GAMLSS-RS iteration 2: Global Deviance = 470.715 
GAMLSS-RS iteration 3: Global Deviance = 470.7149 
GAMLSS-RS iteration 1: Global Deviance = 450.3598 
GAMLSS-RS iteration 2: Global Deviance = 450.0659 
GAMLSS-RS iteration 3: Global Deviance = 450.0654 
GAMLSS-RS iteration 1: Global Deviance = 488.7355 
GAMLSS-RS iteration 2: Global Deviance = 488.6232 
GAMLSS-RS iteration 1: Global Deviance = 483.0284 
GAMLSS-RS iteration 3: Global Deviance = 488.6231 
GAMLSS-RS iteration 2: Global Deviance = 482.9537 
GAMLSS-RS iteration 1: Global Deviance = 498.6833 
GAMLSS-RS iteration 3: Global Deviance = 482.9541 
GAMLSS-RS iteration 2: Global Deviance = 498.6138 
GAMLSS-RS iteration 1: Global Deviance = 483.5238 
GAMLSS-RS iteration 3: Global Deviance = 498.6137 
GAMLSS-RS iteration 1: Global Deviance = 445.8739 
GAMLSS-RS iteration 2: Global Deviance = 483.4529 
GAMLSS-RS iteration 3: Global Deviance = 483.4528 
GAMLSS-RS iteration 2: Global Deviance = 445.6896 
GAMLSS-RS iteration 3: Global Deviance = 445.6893 
GAMLSS-RS iteration 1: Global Deviance = 483.653 
GAMLSS-RS iteration 1: Global Deviance = 490.8674 
GAMLSS-RS iteration 2: Global Deviance = 483.5173 
GAMLSS-RS iteration 3: Global Deviance = 483.5171 
GAMLSS-RS iteration 2: Global Deviance = 490.7653 
GAMLSS-RS iteration 3: Global Deviance = 490.7649 
GAMLSS-RS iteration 1: Global Deviance = 484.4756 
GAMLSS-RS iteration 1: Global Deviance = 493.2806 
GAMLSS-RS iteration 2: Global Deviance = 484.3477 
GAMLSS-RS iteration 3: Global Deviance = 484.3476 
GAMLSS-RS iteration 2: Global Deviance = 493.0997 
GAMLSS-RS iteration 3: Global Deviance = 493.0988 
GAMLSS-RS iteration 1: Global Deviance = 459.0603 
GAMLSS-RS iteration 1: Global Deviance = 496.673 
GAMLSS-RS iteration 2: Global Deviance = 458.8587 
GAMLSS-RS iteration 3: Global Deviance = 458.8586 
GAMLSS-RS iteration 2: Global Deviance = 496.6141 
GAMLSS-RS iteration 3: Global Deviance = 496.6139 
GAMLSS-RS iteration 1: Global Deviance = 486.5459 
GAMLSS-RS iteration 1: Global Deviance = 509.2185 
GAMLSS-RS iteration 2: Global Deviance = 486.3199 
GAMLSS-RS iteration 3: Global Deviance = 486.3196 
GAMLSS-RS iteration 2: Global Deviance = 509.1197 
GAMLSS-RS iteration 3: Global Deviance = 509.1195 
GAMLSS-RS iteration 1: Global Deviance = 482.1241 
GAMLSS-RS iteration 1: Global Deviance = 491.0305 
GAMLSS-RS iteration 2: Global Deviance = 481.8974 
GAMLSS-RS iteration 3: Global Deviance = 481.8972 
GAMLSS-RS iteration 2: Global Deviance = 490.9646 
GAMLSS-RS iteration 3: Global Deviance = 490.9645 
GAMLSS-RS iteration 1: Global Deviance = 501.1389 
GAMLSS-RS iteration 1: Global Deviance = 495.3706 
GAMLSS-RS iteration 2: Global Deviance = 501.0271 
GAMLSS-RS iteration 2: Global Deviance = 495.2949 
GAMLSS-RS iteration 3: Global Deviance = 501.027 
GAMLSS-RS iteration 3: Global Deviance = 495.2947 
GAMLSS-RS iteration 1: Global Deviance = 503.9881 
GAMLSS-RS iteration 1: Global Deviance = 504.9889 
GAMLSS-RS iteration GAMLSS-RS iteration 2: Global Deviance = 503.9402 
2: Global Deviance = 504.9389 
GAMLSS-RS iteration 3: Global Deviance = 503.94 
GAMLSS-RS iteration 3: Global Deviance = 504.9384 
GAMLSS-RS iteration 1: Global Deviance = 489.8042 
GAMLSS-RS iteration 1: Global Deviance = 475.4751 
GAMLSS-RS iteration 2: Global Deviance = 475.3817 
GAMLSS-RS iteration 2: Global Deviance = 489.7025 
GAMLSS-RS iteration 3: Global Deviance = 475.3816 
GAMLSS-RS iteration 3: Global Deviance = 489.7023 
GAMLSS-RS iteration 1: Global Deviance = 481.6363 
GAMLSS-RS iteration 1: Global Deviance = 473.9571 
GAMLSS-RS iteration 2: Global Deviance = 473.813 
GAMLSS-RS iteration 2: Global Deviance = 481.5325 
GAMLSS-RS iteration 3: Global Deviance = 473.8129 
GAMLSS-RS iteration 3: Global Deviance = 481.5324 
GAMLSS-RS iteration 1: Global Deviance = 486.6513 
GAMLSS-RS iteration 1: Global Deviance = 482.3543 
GAMLSS-RS iteration 2: Global Deviance = 486.5036 
GAMLSS-RS iteration 2: Global Deviance = 482.236 
GAMLSS-RS iteration 3: Global Deviance = 482.2352 
GAMLSS-RS iteration 3: Global Deviance = 486.5033 
GAMLSS-RS iteration 1: Global Deviance = 454.7057 
GAMLSS-RS iteration 1: Global Deviance = 489.8635 
GAMLSS-RS iteration 2: Global Deviance = 454.4607 
GAMLSS-RS iteration 3: Global Deviance = 454.4605 
GAMLSS-RS iteration 2: Global Deviance = 489.7674 
GAMLSS-RS iteration 3: Global Deviance = 489.7671 
GAMLSS-RS iteration 1: Global Deviance = 477.4142 
GAMLSS-RS iteration 1: Global Deviance = 486.3823 
GAMLSS-RS iteration 2: Global Deviance = 477.3284 
GAMLSS-RS iteration 2: Global Deviance = 486.2893 
GAMLSS-RS iteration 3: Global Deviance = 486.2892 
GAMLSS-RS iteration 3: Global Deviance = 477.3282 
GAMLSS-RS iteration 1: Global Deviance = 497.0321 
GAMLSS-RS iteration 2: Global Deviance = 496.9639 
GAMLSS-RS iteration 3: Global Deviance = 496.9638 
GAMLSS-RS iteration 1: Global Deviance = 495.2929 
GAMLSS-RS iteration 2: Global Deviance = 495.1719 
GAMLSS-RS iteration 3: Global Deviance = 495.1717 
GAMLSS-RS iteration 1: Global Deviance = 467.1688 
GAMLSS-RS iteration 2: Global Deviance = 467.0011 
GAMLSS-RS iteration 3: Global Deviance = 467.001 
GAMLSS-RS iteration 1: Global Deviance = 491.7661 
GAMLSS-RS iteration 2: Global Deviance = 491.636 
GAMLSS-RS iteration 3: Global Deviance = 491.6358 
GAMLSS-RS iteration 1: Global Deviance = 460.8093 
GAMLSS-RS iteration 2: Global Deviance = 460.3117 
GAMLSS-RS iteration 3: Global Deviance = 460.3104 
GAMLSS-RS iteration 4: Global Deviance = 460.3104 
GAMLSS-RS iteration 1: Global Deviance = 488.1706 
GAMLSS-RS iteration 2: Global Deviance = 488.0363 
GAMLSS-RS iteration 3: Global Deviance = 488.0362 
GAMLSS-RS iteration 1: Global Deviance = 472.3108 
GAMLSS-RS iteration 2: Global Deviance = 471.9806 
GAMLSS-RS iteration 3: Global Deviance = 471.9801 
GAMLSS-RS iteration 1: Global Deviance = 501.6767 
GAMLSS-RS iteration 2: Global Deviance = 501.5987 
GAMLSS-RS iteration 3: Global Deviance = 501.5984 
GAMLSS-RS iteration 1: Global Deviance = 488.8291 
GAMLSS-RS iteration 2: Global Deviance = 488.7033 
GAMLSS-RS iteration 3: Global Deviance = 488.7028 
GAMLSS-RS iteration 1: Global Deviance = 488.3828 
GAMLSS-RS iteration 2: Global Deviance = 488.29 
GAMLSS-RS iteration 3: Global Deviance = 488.2898 
GAMLSS-RS iteration 1: Global Deviance = 465.8379 
GAMLSS-RS iteration 2: Global Deviance = 465.3658 
GAMLSS-RS iteration 1: Global Deviance = 475.8883 
GAMLSS-RS iteration 3: Global Deviance = 465.3646 
GAMLSS-RS iteration 4: Global Deviance = 465.3646 
GAMLSS-RS iteration 2: Global Deviance = 475.7512 
GAMLSS-RS iteration 3: Global Deviance = 475.7503 
GAMLSS-RS iteration 1: Global Deviance = 487.9224 
GAMLSS-RS iteration 1: Global Deviance = 483.2513 
GAMLSS-RS iteration 2: Global Deviance = 487.8052 
GAMLSS-RS iteration 3: Global Deviance = 487.8047 
GAMLSS-RS iteration 2: Global Deviance = 483.1328 
GAMLSS-RS iteration 3: Global Deviance = 483.1326 
GAMLSS-RS iteration 1: Global Deviance = 476.7628 
GAMLSS-RS iteration 1: Global Deviance = 504.1649 
GAMLSS-RS iteration 2: Global Deviance = 476.6176 
GAMLSS-RS iteration 2: Global Deviance = 504.076 
GAMLSS-RS iteration 3: Global Deviance = 476.6175 
GAMLSS-RS iteration 3: Global Deviance = 504.0759 
GAMLSS-RS iteration 1: Global Deviance = 508.0782 
GAMLSS-RS iteration 1: Global Deviance = 502.2369 
GAMLSS-RS iteration 2: Global Deviance = 508.02 
GAMLSS-RS iteration 2: Global Deviance = 502.1934 
GAMLSS-RS iteration 3: Global Deviance = 508.0199 
GAMLSS-RS iteration 3: Global Deviance = 502.1933 
GAMLSS-RS iteration 1: Global Deviance = 495.8595 
GAMLSS-RS iteration 1: Global Deviance = 465.3722 
GAMLSS-RS iteration 2: Global Deviance = 495.7343 
GAMLSS-RS iteration 2: Global Deviance = 465.1243 
GAMLSS-RS iteration 3: Global Deviance = 495.7338 
GAMLSS-RS iteration 3: Global Deviance = 465.1239 
GAMLSS-RS iteration 1: Global Deviance = 519.6297 
GAMLSS-RS iteration 1: Global Deviance = 503.3958 
GAMLSS-RS iteration 2: Global Deviance = 519.5962 
GAMLSS-RS iteration 2: Global Deviance = 503.3253 
GAMLSS-RS iteration 3: Global Deviance = 519.596 
GAMLSS-RS iteration 3: Global Deviance = 503.3247 
GAMLSS-RS iteration 1: Global Deviance = 488.2914 
GAMLSS-RS iteration 2: Global Deviance = 488.1375 
GAMLSS-RS iteration 3: Global Deviance = 488.1374 
GAMLSS-RS iteration 1: Global Deviance = 443.4601 
GAMLSS-RS iteration 2: Global Deviance = 443.1242 
GAMLSS-RS iteration 3: Global Deviance = 443.1237 
GAMLSS-RS iteration 1: Global Deviance = 456.9469 
GAMLSS-RS iteration 2: Global Deviance = 456.7552 
GAMLSS-RS iteration 3: Global Deviance = 456.755 
GAMLSS-RS iteration 1: Global Deviance = 483.5332 
GAMLSS-RS iteration 2: Global Deviance = 483.4614 
GAMLSS-RS iteration 1: Global Deviance = 473.8033 
GAMLSS-RS iteration 3: Global Deviance = 483.4613 
GAMLSS-RS iteration 2: Global Deviance = 473.5784 
GAMLSS-RS iteration 3: Global Deviance = 473.5781 
GAMLSS-RS iteration 1: Global Deviance = 483.2815 
GAMLSS-RS iteration 2: Global Deviance = 483.1926 
GAMLSS-RS iteration 3: Global Deviance = 483.1925 
> stopImplicitCluster()
> summary(B2)

 Coefficients from nonparam.boot() taken from: 100 simulations 
Error in xm[, cs.ind, drop = FALSE] : subscript out of bounds
Calls: summary -> summary.NonParametric.Boot -> printCoefmat
Execution halted