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.919764   2.418603   2.959931   3.311148   2.8855
mu.x                0.086727   0.073745   0.087488   0.098247   0.0874
mu.qrt2            -0.154015  -0.484809  -0.154000   0.240301  -0.1204
mu.qrt3             0.078002  -0.239069   0.086038   0.529567   0.1118
mu.qrt4            -0.105767  -0.424600  -0.104312   0.199042  -0.0755
sigma.(Intercept)  -1.729803  -2.376486  -1.711408  -1.335061  -1.6032
deviance          488.590474 460.916334 489.018585 513.138422 492.6373
> plot(B1)
> B2 <- NonParametricBoot(m1)
GAMLSS-RS iteration 1: Global Deviance = 487.2022 
GAMLSS-RS iteration 2: Global Deviance = 487.0533 
GAMLSS-RS iteration 1: Global Deviance = 470.5879 
GAMLSS-RS iteration 3: Global Deviance = 487.0532 
GAMLSS-RS iteration 2: Global Deviance = 470.488 
GAMLSS-RS iteration 3: Global Deviance = 470.4878 
GAMLSS-RS iteration 1: Global Deviance = 508.5709 
GAMLSS-RS iteration 2: Global Deviance = 508.5067 
GAMLSS-RS iteration 3: Global Deviance = 508.5066 
GAMLSS-RS iteration 1: Global Deviance = 506.2267 
GAMLSS-RS iteration 1: Global Deviance = 501.5177 
GAMLSS-RS iteration 2: Global Deviance = 501.4591 
GAMLSS-RS iteration 2: Global Deviance = 506.1769 
GAMLSS-RS iteration 3: Global Deviance = 501.459 
GAMLSS-RS iteration 3: Global Deviance = 506.1767 
GAMLSS-RS iteration 1: Global Deviance = 476.5477 
GAMLSS-RS iteration 2: Global Deviance = 476.4185 
GAMLSS-RS iteration 3: Global Deviance = 476.418 
GAMLSS-RS iteration 1: Global Deviance = 496.317 
GAMLSS-RS iteration 2: Global Deviance = 496.2474 
GAMLSS-RS iteration 3: Global Deviance = 496.2473 
GAMLSS-RS iteration 1: Global Deviance = 478.9223 
GAMLSS-RS iteration 2: Global Deviance = 478.7724 
GAMLSS-RS iteration 3: Global Deviance = 478.7723 
GAMLSS-RS iteration 1: Global Deviance = 492.6988 
GAMLSS-RS iteration 1: Global Deviance = 486.8031 
GAMLSS-RS iteration 2: Global Deviance = 486.7356 
GAMLSS-RS iteration 2: Global Deviance = 492.4591 
GAMLSS-RS iteration 3: Global Deviance = 486.7355 
GAMLSS-RS iteration 3: Global Deviance = 492.4587 
GAMLSS-RS iteration 1: Global Deviance = 504.9666 
GAMLSS-RS iteration 2: Global Deviance = 504.8969 
GAMLSS-RS iteration 3: Global Deviance = 504.8967 
GAMLSS-RS iteration 1: Global Deviance = 482.5702 
GAMLSS-RS iteration 1: Global Deviance = 503.7159 
GAMLSS-RS iteration 2: Global Deviance = 482.4705 
GAMLSS-RS iteration 3: Global Deviance = 482.4704 
GAMLSS-RS iteration 2: Global Deviance = 503.6441 
GAMLSS-RS iteration 3: Global Deviance = 503.6439 
GAMLSS-RS iteration 1: Global Deviance = 470.2519 
GAMLSS-RS iteration 2: Global Deviance = 470.1366 
GAMLSS-RS iteration 3: Global Deviance = 470.1365 
GAMLSS-RS iteration 1: Global Deviance = 484.8251 
GAMLSS-RS iteration 2: Global Deviance = 484.7458 
GAMLSS-RS iteration 1: Global Deviance = 488.9596 
GAMLSS-RS iteration 3: Global Deviance = 484.7457 
GAMLSS-RS iteration 2: Global Deviance = 488.8493 
GAMLSS-RS iteration 3: Global Deviance = 488.849 
GAMLSS-RS iteration 1: Global Deviance = 480.2278 
GAMLSS-RS iteration 2: Global Deviance = 480.0728 
GAMLSS-RS iteration 3: Global Deviance = 480.0725 
GAMLSS-RS iteration 1: Global Deviance = 471.6531 
GAMLSS-RS iteration 2: Global Deviance = 471.5636 
GAMLSS-RS iteration 1: Global Deviance = 476.0503 
GAMLSS-RS iteration 3: Global Deviance = 471.5636 
GAMLSS-RS iteration 2: Global Deviance = 475.8565 
GAMLSS-RS iteration 3: Global Deviance = 475.8563 
GAMLSS-RS iteration 1: Global Deviance = 485.5818 
GAMLSS-RS iteration 2: Global Deviance = 485.4106 
GAMLSS-RS iteration 1: Global Deviance = 470.8858 
GAMLSS-RS iteration 3: Global Deviance = 485.4105 
GAMLSS-RS iteration 2: Global Deviance = 470.6991 
GAMLSS-RS iteration 3: Global Deviance = 470.6988 
GAMLSS-RS iteration 1: Global Deviance = 483.3175 
GAMLSS-RS iteration 2: Global Deviance = 483.103 
GAMLSS-RS iteration 1: Global Deviance = 466.8326 
GAMLSS-RS iteration 3: Global Deviance = 483.1029 
GAMLSS-RS iteration 2: Global Deviance = 466.652 
GAMLSS-RS iteration 3: Global Deviance = 466.6518 
GAMLSS-RS iteration 1: Global Deviance = 495.746 
GAMLSS-RS iteration 1: Global Deviance = 484.3678 
GAMLSS-RS iteration 2: Global Deviance = 495.6636 
GAMLSS-RS iteration 3: Global Deviance = 495.6634 
GAMLSS-RS iteration 2: Global Deviance = 484.287 
GAMLSS-RS iteration 3: Global Deviance = 484.2868 
GAMLSS-RS iteration 1: Global Deviance = 494.0444 
GAMLSS-RS iteration 1: Global Deviance = 492.7105 
GAMLSS-RS iteration 2: Global Deviance = 493.8865 
GAMLSS-RS iteration 2: Global Deviance = 492.6391 
GAMLSS-RS iteration 3: Global Deviance = 493.8862 
GAMLSS-RS iteration 3: Global Deviance = 492.639 
GAMLSS-RS iteration 1: Global Deviance = 483.2602 
GAMLSS-RS iteration 1: Global Deviance = 510.76 
GAMLSS-RS iteration 2: Global Deviance = 483.1163 
GAMLSS-RS iteration 2: Global Deviance = 510.7033 
GAMLSS-RS iteration 3: Global Deviance = 483.1161 
GAMLSS-RS iteration 3: Global Deviance = 510.7032 
GAMLSS-RS iteration 1: Global Deviance = 517.292 
GAMLSS-RS iteration 1: Global Deviance = 504.8413 
GAMLSS-RS iteration 2: Global Deviance = 517.2258 
GAMLSS-RS iteration 2: Global Deviance = 504.7973 
GAMLSS-RS iteration 3: Global Deviance = 517.2256 
GAMLSS-RS iteration 3: Global Deviance = 504.7971 
GAMLSS-RS iteration 1: Global Deviance = 496.5155 
GAMLSS-RS iteration 1: Global Deviance = 494.0395 
GAMLSS-RS iteration 2: Global Deviance = 496.4344 
GAMLSS-RS iteration 2: Global Deviance = 493.9659 
GAMLSS-RS iteration 3: Global Deviance = 496.4344 
GAMLSS-RS iteration 3: Global Deviance = 493.9657 
GAMLSS-RS iteration 1: Global Deviance = 490.2537 
GAMLSS-RS iteration 1: Global Deviance = 486.3959 
GAMLSS-RS iteration 2: Global Deviance = 490.1865 
GAMLSS-RS iteration 2: Global Deviance = 486.2553 
GAMLSS-RS iteration 3: Global Deviance = 490.1864 
GAMLSS-RS iteration 3: Global Deviance = 486.2546 
GAMLSS-RS iteration 1: Global Deviance = 455.9761 
GAMLSS-RS iteration 1: Global Deviance = 492.8128 
GAMLSS-RS iteration 2: Global Deviance = 455.5408 
GAMLSS-RS iteration 2: Global Deviance = 492.7078 
GAMLSS-RS iteration 3: Global Deviance = 492.7077 
GAMLSS-RS iteration 3: Global Deviance = 455.5401 
GAMLSS-RS iteration 1: Global Deviance = 523.986 
GAMLSS-RS iteration 2: Global Deviance = 523.9545 
GAMLSS-RS iteration 3: Global Deviance = 523.9545 
GAMLSS-RS iteration 1: Global Deviance = 471.9256 
GAMLSS-RS iteration 1: Global Deviance = 504.2787 
GAMLSS-RS iteration 2: Global Deviance = 504.2543 
GAMLSS-RS iteration 3: Global Deviance = 504.2542 
GAMLSS-RS iteration 2: Global Deviance = 471.7995 
GAMLSS-RS iteration 3: Global Deviance = 471.7995 
GAMLSS-RS iteration 1: Global Deviance = 463.2031 
GAMLSS-RS iteration 2: Global Deviance = 463.0244 
GAMLSS-RS iteration 3: Global Deviance = 463.0243 
GAMLSS-RS iteration 1: Global Deviance = 457.8508 
GAMLSS-RS iteration 1: Global Deviance = 489.3137 
GAMLSS-RS iteration 2: Global Deviance = 457.7093 
GAMLSS-RS iteration 3: Global Deviance = 457.709 
GAMLSS-RS iteration 2: Global Deviance = 489.2562 
GAMLSS-RS iteration 3: Global Deviance = 489.2561 
GAMLSS-RS iteration 1: Global Deviance = 479.2117 
GAMLSS-RS iteration 2: Global Deviance = 479.0838 
GAMLSS-RS iteration 3: Global Deviance = 479.0837 
GAMLSS-RS iteration 1: Global Deviance = 485.476 
GAMLSS-RS iteration 2: Global Deviance = 485.4069 
GAMLSS-RS iteration 3: Global Deviance = 485.4068 
GAMLSS-RS iteration 1: Global Deviance = 499.1294 
GAMLSS-RS iteration 2: Global Deviance = 499.0446 
GAMLSS-RS iteration 3: Global Deviance = 499.0445 
GAMLSS-RS iteration 1: Global Deviance = 485.262 
GAMLSS-RS iteration 1: Global Deviance = 484.0425 
GAMLSS-RS iteration 2: Global Deviance = 485.196 
GAMLSS-RS iteration 2: Global Deviance = 483.8652 
GAMLSS-RS iteration 3: Global Deviance = 485.1958 
GAMLSS-RS iteration 3: Global Deviance = 483.8649 
GAMLSS-RS iteration 1: Global Deviance = 480.5407 
GAMLSS-RS iteration 2: Global Deviance = 480.3295 
GAMLSS-RS iteration 3: Global Deviance = 480.3291 
GAMLSS-RS iteration 1: Global Deviance = 509.5326 
GAMLSS-RS iteration 2: Global Deviance = 509.4317 
GAMLSS-RS iteration 3: Global Deviance = 509.4316 
GAMLSS-RS iteration 1: Global Deviance = 461.6018 
GAMLSS-RS iteration 2: Global Deviance = 461.4048 
GAMLSS-RS iteration 1: Global Deviance = 485.4301 
GAMLSS-RS iteration 2: Global Deviance = 485.331 
GAMLSS-RS iteration 3: Global Deviance = 485.3309 
GAMLSS-RS iteration 3: Global Deviance = 461.4047 
GAMLSS-RS iteration 1: Global Deviance = 475.9109 
GAMLSS-RS iteration 2: Global Deviance = 475.7318 
GAMLSS-RS iteration 3: Global Deviance = 475.7315 
GAMLSS-RS iteration 1: Global Deviance = 510.2425 
GAMLSS-RS iteration 1: Global Deviance = 515.0772 
GAMLSS-RS iteration 2: Global Deviance = 510.2049 
GAMLSS-RS iteration 3: Global Deviance = 510.2048 
GAMLSS-RS iteration 2: Global Deviance = 515.0487 
GAMLSS-RS iteration 3: Global Deviance = 515.0486 
GAMLSS-RS iteration 1: Global Deviance = 496.5388 
GAMLSS-RS iteration 2: Global Deviance = 496.4919 
GAMLSS-RS iteration 3: Global Deviance = 496.4918 
GAMLSS-RS iteration 1: Global Deviance = 497.8249 
GAMLSS-RS iteration 2: Global Deviance = 497.7402 
GAMLSS-RS iteration 3: Global Deviance = 497.7399 
GAMLSS-RS iteration 1: Global Deviance = 475.5959 
GAMLSS-RS iteration 2: Global Deviance = 475.4264 
GAMLSS-RS iteration 3: Global Deviance = 475.4261 
GAMLSS-RS iteration 1: Global Deviance = 504.7233 
GAMLSS-RS iteration 1: Global Deviance = 497.0267 
GAMLSS-RS iteration 2: Global Deviance = 496.9881 
GAMLSS-RS iteration 3: Global Deviance = 496.988 
GAMLSS-RS iteration 2: Global Deviance = 504.6523 
GAMLSS-RS iteration 3: Global Deviance = 504.6522 
GAMLSS-RS iteration 1: Global Deviance = 490.6956 
GAMLSS-RS iteration 2: Global Deviance = 490.6007 
GAMLSS-RS iteration 3: Global Deviance = 490.5999 
GAMLSS-RS iteration 1: Global Deviance = 487.2016 
GAMLSS-RS iteration 1: Global Deviance = 486.4598 
GAMLSS-RS iteration 2: Global Deviance = 487.0566 
GAMLSS-RS iteration 3: Global Deviance = 487.0564 
GAMLSS-RS iteration 2: Global Deviance = 486.3461 
GAMLSS-RS iteration 3: Global Deviance = 486.346 
GAMLSS-RS iteration 1: Global Deviance = 486.8862 
GAMLSS-RS iteration 2: Global Deviance = 486.8042 
GAMLSS-RS iteration 3: Global Deviance = 486.804 
GAMLSS-RS iteration 1: Global Deviance = 487.9794 
GAMLSS-RS iteration 1: Global Deviance = 460.9115 
GAMLSS-RS iteration 2: Global Deviance = 487.8969 
GAMLSS-RS iteration 2: Global Deviance = 460.6671 
GAMLSS-RS iteration 3: Global Deviance = 460.6666 
GAMLSS-RS iteration 3: Global Deviance = 487.8968 
GAMLSS-RS iteration 1: Global Deviance = 492.5244 
GAMLSS-RS iteration 2: Global Deviance = 492.439 
GAMLSS-RS iteration 1: Global Deviance = 497.5362 
GAMLSS-RS iteration 3: Global Deviance = 492.4389 
GAMLSS-RS iteration 2: Global Deviance = 497.4671 
GAMLSS-RS iteration 3: Global Deviance = 497.467 
GAMLSS-RS iteration 1: Global Deviance = 493.3737 
GAMLSS-RS iteration 2: Global Deviance = 493.3056 
GAMLSS-RS iteration 1: Global Deviance = 494.8265 
GAMLSS-RS iteration 3: Global Deviance = 493.3054 
GAMLSS-RS iteration 2: Global Deviance = 494.772 
GAMLSS-RS iteration 3: Global Deviance = 494.7719 
GAMLSS-RS iteration 1: Global Deviance = 480.5095 
GAMLSS-RS iteration 2: Global Deviance = 480.336 
GAMLSS-RS iteration 1: Global Deviance = 489.9866 
GAMLSS-RS iteration 2: Global Deviance = 489.8958 
GAMLSS-RS iteration 3: Global Deviance = 489.8956 
GAMLSS-RS iteration 3: Global Deviance = 480.3357 
GAMLSS-RS iteration 1: Global Deviance = 478.6964 
GAMLSS-RS iteration 2: Global Deviance = 478.6069 
GAMLSS-RS iteration 3: Global Deviance = 478.6067 
GAMLSS-RS iteration 1: Global Deviance = 452.9067 
GAMLSS-RS iteration 2: Global Deviance = 452.3171 
GAMLSS-RS iteration 3: Global Deviance = 452.3158 
GAMLSS-RS iteration 4: Global Deviance = 452.3151 
GAMLSS-RS iteration 1: Global Deviance = 480.3511 
GAMLSS-RS iteration 2: Global Deviance = 480.2603 
GAMLSS-RS iteration 3: Global Deviance = 480.2602 
GAMLSS-RS iteration 1: Global Deviance = 497.6057 
GAMLSS-RS iteration 2: Global Deviance = 497.5374 
GAMLSS-RS iteration 3: Global Deviance = 497.5373 
GAMLSS-RS iteration 1: Global Deviance = 496.3507 
GAMLSS-RS iteration 2: Global Deviance = 496.3043 
GAMLSS-RS iteration 3: Global Deviance = 496.3042 
GAMLSS-RS iteration 1: Global Deviance = 465.0141 
GAMLSS-RS iteration 2: Global Deviance = 464.7883 
GAMLSS-RS iteration 3: Global Deviance = 464.7879 
GAMLSS-RS iteration 1: Global Deviance = 456.8049 
GAMLSS-RS iteration 2: Global Deviance = 456.6389 
GAMLSS-RS iteration 1: Global Deviance = 481.5431 
GAMLSS-RS iteration 2: Global Deviance = 481.3675 
GAMLSS-RS iteration 3: Global Deviance = 456.6386 
GAMLSS-RS iteration 3: Global Deviance = 481.3672 
GAMLSS-RS iteration 1: Global Deviance = 496.2415 
GAMLSS-RS iteration 2: Global Deviance = 496.1803 
GAMLSS-RS iteration 3: Global Deviance = 496.1802 
GAMLSS-RS iteration 1: Global Deviance = 510.102 
GAMLSS-RS iteration 1: Global Deviance = 456.1155 
GAMLSS-RS iteration 2: Global Deviance = 455.7953 
GAMLSS-RS iteration 3: Global Deviance = 455.7947 
GAMLSS-RS iteration 2: Global Deviance = 510.0372 
GAMLSS-RS iteration 3: Global Deviance = 510.0369 
GAMLSS-RS iteration 1: Global Deviance = 494.6041 
GAMLSS-RS iteration 2: Global Deviance = 494.537 
GAMLSS-RS iteration 3: Global Deviance = 494.5368 
GAMLSS-RS iteration 1: Global Deviance = 471.0633 
GAMLSS-RS iteration 2: Global Deviance = 470.944 
GAMLSS-RS iteration 3: Global Deviance = 470.9439 
GAMLSS-RS iteration 1: Global Deviance = 483.6388 
GAMLSS-RS iteration 2: Global Deviance = 483.395 
GAMLSS-RS iteration 3: Global Deviance = 483.3946 
GAMLSS-RS iteration 1: Global Deviance = 496.2445 
GAMLSS-RS iteration 2: Global Deviance = 496.143 
GAMLSS-RS iteration 3: Global Deviance = 496.1428 
GAMLSS-RS iteration 1: Global Deviance = 502.2611 
GAMLSS-RS iteration 2: Global Deviance = 502.1962 
GAMLSS-RS iteration 3: Global Deviance = 502.196 
GAMLSS-RS iteration 1: Global Deviance = 468.9065 
GAMLSS-RS iteration 2: Global Deviance = 468.7019 
GAMLSS-RS iteration 3: Global Deviance = 468.7004 
GAMLSS-RS iteration 4: Global Deviance = 468.6999 
GAMLSS-RS iteration 1: Global Deviance = 484.8683 
GAMLSS-RS iteration 2: Global Deviance = 484.7452 
GAMLSS-RS iteration 3: Global Deviance = 484.745 
GAMLSS-RS iteration 1: Global Deviance = 492.3115 
GAMLSS-RS iteration 2: Global Deviance = 492.2665 
GAMLSS-RS iteration 3: Global Deviance = 492.2664 
GAMLSS-RS iteration 1: Global Deviance = 490.3094 
GAMLSS-RS iteration 2: Global Deviance = 490.2174 
GAMLSS-RS iteration 3: Global Deviance = 490.2172 
GAMLSS-RS iteration 1: Global Deviance = 476.815 
GAMLSS-RS iteration 2: Global Deviance = 476.6704 
GAMLSS-RS iteration 3: Global Deviance = 476.6702 
GAMLSS-RS iteration 1: Global Deviance = 500.8422 
GAMLSS-RS iteration 2: Global Deviance = 500.7756 
GAMLSS-RS iteration 3: Global Deviance = 500.7756 
GAMLSS-RS iteration 1: Global Deviance = 497.4816 
GAMLSS-RS iteration 2: Global Deviance = 497.4148 
GAMLSS-RS iteration 3: Global Deviance = 497.4146 
GAMLSS-RS iteration 1: Global Deviance = 496.3367 
GAMLSS-RS iteration 2: Global Deviance = 496.2661 
GAMLSS-RS iteration 3: Global Deviance = 496.266 
GAMLSS-RS iteration 1: Global Deviance = 505.6664 
GAMLSS-RS iteration 2: Global Deviance = 505.6366 
GAMLSS-RS iteration 3: Global Deviance = 505.6364 
GAMLSS-RS iteration 1: Global Deviance = 467.812 
GAMLSS-RS iteration 2: Global Deviance = 467.5246 
GAMLSS-RS iteration 3: Global Deviance = 467.5242 
GAMLSS-RS iteration 1: Global Deviance = 479.4253 
GAMLSS-RS iteration 2: Global Deviance = 479.297 
GAMLSS-RS iteration 3: Global Deviance = 479.2969 
GAMLSS-RS iteration 1: Global Deviance = 482.0262 
GAMLSS-RS iteration 2: Global Deviance = 481.9186 
GAMLSS-RS iteration 3: Global Deviance = 481.9185 
> 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