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.859188   2.317621   2.894136   3.362150   2.8855
mu.x                0.089038   0.073481   0.089345   0.106463   0.0874
mu.qrt2            -0.158033  -0.496011  -0.160970   0.182930  -0.1204
mu.qrt3             0.102648  -0.283792   0.108435   0.462352   0.1118
mu.qrt4            -0.096191  -0.454760  -0.092422   0.194519  -0.0755
sigma.(Intercept)  -1.724383  -2.331569  -1.714595  -1.237191  -1.6032
deviance          483.853421 453.953584 485.232274 507.819414 492.6373
> plot(B1)
> B2 <- NonParametricBoot(m1)
GAMLSS-RS iteration 1: Global Deviance = 497.8885 
GAMLSS-RS iteration 2: Global Deviance = 497.802 
GAMLSS-RS iteration 3: Global Deviance = 497.8019 
GAMLSS-RS iteration 1: Global Deviance = 471.3031 
GAMLSS-RS iteration 2: Global Deviance = 471.1308 
GAMLSS-RS iteration 3: Global Deviance = 471.1306 
GAMLSS-RS iteration 1: Global Deviance = 500.2529 
GAMLSS-RS iteration 1: Global Deviance = 494.8402 
GAMLSS-RS iteration 2: Global Deviance = 499.8452 
GAMLSS-RS iteration 2: Global Deviance = 494.7906 
GAMLSS-RS iteration 3: Global Deviance = 494.7904 
GAMLSS-RS iteration 3: Global Deviance = 499.8437 
GAMLSS-RS iteration 4: Global Deviance = 499.8437 
GAMLSS-RS iteration 1: Global Deviance = 485.8268 
GAMLSS-RS iteration 2: Global Deviance = 485.7139 
GAMLSS-RS iteration 3: Global Deviance = 485.7138 
GAMLSS-RS iteration 1: Global Deviance = 505.0651 
GAMLSS-RS iteration 2: Global Deviance = 504.9854 
GAMLSS-RS iteration 3: Global Deviance = 504.9852 
GAMLSS-RS iteration 1: Global Deviance = 486.1837 
GAMLSS-RS iteration 2: Global Deviance = 486.0147 
GAMLSS-RS iteration 1: Global Deviance = 492.5696 
GAMLSS-RS iteration 3: Global Deviance = 486.0145 
GAMLSS-RS iteration 2: Global Deviance = 492.5091 
GAMLSS-RS iteration 3: Global Deviance = 492.509 
GAMLSS-RS iteration 1: Global Deviance = 485.8546 
GAMLSS-RS iteration 2: Global Deviance = 485.7613 
GAMLSS-RS iteration 3: Global Deviance = 485.7611 
GAMLSS-RS iteration 1: Global Deviance = 512.9862 
GAMLSS-RS iteration 1: Global Deviance = 496.6839 
GAMLSS-RS iteration 2: Global Deviance = 512.9264 
GAMLSS-RS iteration 2: Global Deviance = 496.6059 
GAMLSS-RS iteration 3: Global Deviance = 512.9263 
GAMLSS-RS iteration 3: Global Deviance = 496.6059 
GAMLSS-RS iteration 1: Global Deviance = 493.397 
GAMLSS-RS iteration 2: Global Deviance = 493.3455 
GAMLSS-RS iteration 3: Global Deviance = 493.3454 
GAMLSS-RS iteration 1: Global Deviance = 448.5809 
GAMLSS-RS iteration 1: Global Deviance = 473.1185 
GAMLSS-RS iteration 2: Global Deviance = 472.9594 
GAMLSS-RS iteration 2: Global Deviance = 448.1389 
GAMLSS-RS iteration 3: Global Deviance = 472.9592 
GAMLSS-RS iteration 3: Global Deviance = 448.1383 
GAMLSS-RS iteration 1: Global Deviance = 507.6622 
GAMLSS-RS iteration 2: Global Deviance = 507.5745 
GAMLSS-RS iteration 3: Global Deviance = 507.5744 
GAMLSS-RS iteration 1: Global Deviance = 485.0002 
GAMLSS-RS iteration 1: Global Deviance = 491.1663 
GAMLSS-RS iteration 2: Global Deviance = 484.8721 
GAMLSS-RS iteration 3: Global Deviance = 484.8719 
GAMLSS-RS iteration 2: Global Deviance = 491.1128 
GAMLSS-RS iteration 3: Global Deviance = 491.1126 
GAMLSS-RS iteration 1: Global Deviance = 489.9774 
GAMLSS-RS iteration 2: Global Deviance = 489.859 
GAMLSS-RS iteration 3: Global Deviance = 489.8589 
GAMLSS-RS iteration 1: Global Deviance = 476.78 
GAMLSS-RS iteration 1: Global Deviance = 498.0004 
GAMLSS-RS iteration 2: Global Deviance = 476.6721 
GAMLSS-RS iteration 3: Global Deviance = 476.672 
GAMLSS-RS iteration 2: Global Deviance = 497.8997 
GAMLSS-RS iteration 3: Global Deviance = 497.8994 
GAMLSS-RS iteration 1: Global Deviance = 489.9689 
GAMLSS-RS iteration 2: Global Deviance = 489.8574 
GAMLSS-RS iteration 3: Global Deviance = 489.8572 
GAMLSS-RS iteration 1: Global Deviance = 466.2406 
GAMLSS-RS iteration 2: Global Deviance = 466.1259 
GAMLSS-RS iteration 3: Global Deviance = 466.1255 
GAMLSS-RS iteration 1: Global Deviance = 513.4374 
GAMLSS-RS iteration 2: Global Deviance = 513.4174 
GAMLSS-RS iteration 3: Global Deviance = 513.4173 
GAMLSS-RS iteration 1: Global Deviance = 504.4209 
GAMLSS-RS iteration 2: Global Deviance = 504.3989 
GAMLSS-RS iteration 3: Global Deviance = 504.3989 
GAMLSS-RS iteration 1: Global Deviance = 519.0001 
GAMLSS-RS iteration 2: Global Deviance = 518.9175 
GAMLSS-RS iteration 3: Global Deviance = 518.9172 
GAMLSS-RS iteration 1: Global Deviance = 486.0466 
GAMLSS-RS iteration 2: Global Deviance = 485.9578 
GAMLSS-RS iteration 3: Global Deviance = 485.9576 
GAMLSS-RS iteration 1: Global Deviance = 509.379 
GAMLSS-RS iteration 2: Global Deviance = 509.3195 
GAMLSS-RS iteration 3: Global Deviance = 509.3194 
GAMLSS-RS iteration 1: Global Deviance = 489.7776 
GAMLSS-RS iteration 2: Global Deviance = 489.7117 
GAMLSS-RS iteration 3: Global Deviance = 489.7115 
GAMLSS-RS iteration 1: Global Deviance = 519.005 
GAMLSS-RS iteration 2: Global Deviance = 518.9594 
GAMLSS-RS iteration 3: Global Deviance = 518.9594 
GAMLSS-RS iteration 1: Global Deviance = 487.1942 
GAMLSS-RS iteration 2: Global Deviance = 487.075 
GAMLSS-RS iteration 3: Global Deviance = 487.0749 
GAMLSS-RS iteration 1: Global Deviance = 467.5865 
GAMLSS-RS iteration 2: Global Deviance = 467.3992 
GAMLSS-RS iteration 3: Global Deviance = 467.3989 
GAMLSS-RS iteration 1: Global Deviance = 483.8537 
GAMLSS-RS iteration 2: Global Deviance = 483.6671 
GAMLSS-RS iteration 3: Global Deviance = 483.6668 
GAMLSS-RS iteration 1: Global Deviance = 475.188 
GAMLSS-RS iteration 2: Global Deviance = 475.0032 
GAMLSS-RS iteration 1: Global Deviance = 455.1498 
GAMLSS-RS iteration 3: Global Deviance = 475.0029 
GAMLSS-RS iteration 2: Global Deviance = 455.0084 
GAMLSS-RS iteration 3: Global Deviance = 455.0083 
GAMLSS-RS iteration 1: Global Deviance = 441.0542 
GAMLSS-RS iteration 2: Global Deviance = 440.8289 
GAMLSS-RS iteration 1: Global Deviance = 489.6505 
GAMLSS-RS iteration 3: Global Deviance = 440.8288 
GAMLSS-RS iteration 2: Global Deviance = 489.5222 
GAMLSS-RS iteration 3: Global Deviance = 489.5221 
GAMLSS-RS iteration 1: Global Deviance = 487.888 
GAMLSS-RS iteration 1: Global Deviance = 489.0532 
GAMLSS-RS iteration 2: Global Deviance = 487.756 
GAMLSS-RS iteration 3: Global Deviance = 487.7558 
GAMLSS-RS iteration 2: Global Deviance = 488.9077 
GAMLSS-RS iteration 3: Global Deviance = 488.9075 
GAMLSS-RS iteration 1: Global Deviance = 481.8146 
GAMLSS-RS iteration 2: Global Deviance = 481.653 
GAMLSS-RS iteration 3: Global Deviance = 481.6527 
GAMLSS-RS iteration 1: Global Deviance = 466.8307 
GAMLSS-RS iteration 2: Global Deviance = 466.65 
GAMLSS-RS iteration 3: Global Deviance = 466.6497 
GAMLSS-RS iteration 1: Global Deviance = 472.2996 
GAMLSS-RS iteration 2: Global Deviance = 472.1559 
GAMLSS-RS iteration 3: Global Deviance = 472.1558 
GAMLSS-RS iteration 1: Global Deviance = 501.3124 
GAMLSS-RS iteration 1: Global Deviance = 482.8431 
GAMLSS-RS iteration 2: Global Deviance = 501.1678 
GAMLSS-RS iteration 2: Global Deviance = 482.6288 
GAMLSS-RS iteration 3: Global Deviance = 501.1676 
GAMLSS-RS iteration 3: Global Deviance = 482.6286 
GAMLSS-RS iteration 1: Global Deviance = 452.737 
GAMLSS-RS iteration 2: Global Deviance = 452.5425 
GAMLSS-RS iteration 1: Global Deviance = 483.2106 
GAMLSS-RS iteration 3: Global Deviance = 452.5405 
GAMLSS-RS iteration 4: Global Deviance = 452.5399 
GAMLSS-RS iteration 2: Global Deviance = 482.9389 
GAMLSS-RS iteration 3: Global Deviance = 482.9386 
GAMLSS-RS iteration 1: Global Deviance = 481.0343 
GAMLSS-RS iteration 2: Global Deviance = 480.9496 
GAMLSS-RS iteration 3: Global Deviance = 480.9495 
GAMLSS-RS iteration 1: Global Deviance = 503.3219 
GAMLSS-RS iteration 2: Global Deviance = 503.1538 
GAMLSS-RS iteration 1: Global Deviance = 501.5014 
GAMLSS-RS iteration 3: Global Deviance = 503.1532 
GAMLSS-RS iteration 2: Global Deviance = 501.3405 
GAMLSS-RS iteration 3: Global Deviance = 501.3402 
GAMLSS-RS iteration 1: Global Deviance = 489.2281 
GAMLSS-RS iteration 1: Global Deviance = 490.734 
GAMLSS-RS iteration 2: Global Deviance = 489.145 
GAMLSS-RS iteration 3: Global Deviance = 489.1449 
GAMLSS-RS iteration 2: Global Deviance = 490.6309 
GAMLSS-RS iteration 3: Global Deviance = 490.6308 
GAMLSS-RS iteration 1: Global Deviance = 490.0349 
GAMLSS-RS iteration 2: Global Deviance = 489.9237 
GAMLSS-RS iteration 3: Global Deviance = 489.9237 
GAMLSS-RS iteration 1: Global Deviance = 470.8576 
GAMLSS-RS iteration 2: Global Deviance = 470.7072 
GAMLSS-RS iteration 3: Global Deviance = 470.707 
GAMLSS-RS iteration 1: Global Deviance = 489.5983 
GAMLSS-RS iteration 2: Global Deviance = 489.5158 
GAMLSS-RS iteration 3: Global Deviance = 489.5157 
GAMLSS-RS iteration 1: Global Deviance = 481.2944 
GAMLSS-RS iteration 2: Global Deviance = 481.1398 
GAMLSS-RS iteration 3: Global Deviance = 481.1396 
GAMLSS-RS iteration 1: Global Deviance = 503.5535 
GAMLSS-RS iteration 2: Global Deviance = 503.5187 
GAMLSS-RS iteration 3: Global Deviance = 503.5186 
GAMLSS-RS iteration 1: Global Deviance = 458.6899 
GAMLSS-RS iteration 1: Global Deviance = 462.392 
GAMLSS-RS iteration 2: Global Deviance = 458.2836 
GAMLSS-RS iteration 3: Global Deviance = 458.2827 
GAMLSS-RS iteration 2: Global Deviance = 462.1391 
GAMLSS-RS iteration 3: Global Deviance = 462.1388 
GAMLSS-RS iteration 1: Global Deviance = 476.1175 
GAMLSS-RS iteration 2: Global Deviance = 475.9837 
GAMLSS-RS iteration 3: Global Deviance = 475.9836 
GAMLSS-RS iteration 1: Global Deviance = 492.8776 
GAMLSS-RS iteration 2: Global Deviance = 492.8138 
GAMLSS-RS iteration 3: Global Deviance = 492.8137 
GAMLSS-RS iteration 1: Global Deviance = 447.5769 
GAMLSS-RS iteration 2: Global Deviance = 447.3369 
GAMLSS-RS iteration 3: Global Deviance = 447.3366 
GAMLSS-RS iteration 1: Global Deviance = 496.109 
GAMLSS-RS iteration 2: Global Deviance = 496.0091 
GAMLSS-RS iteration 3: Global Deviance = 496.0091 
GAMLSS-RS iteration 1: Global Deviance = 482.3063 
GAMLSS-RS iteration 2: Global Deviance = 482.2079 
GAMLSS-RS iteration 3: Global Deviance = 482.2078 
GAMLSS-RS iteration 1: Global Deviance = 499.7018 
GAMLSS-RS iteration 2: Global Deviance = 499.5881 
GAMLSS-RS iteration 1: Global Deviance = 487.5952 
GAMLSS-RS iteration 3: Global Deviance = 499.5878 
GAMLSS-RS iteration 2: Global Deviance = 487.4904 
GAMLSS-RS iteration 3: Global Deviance = 487.4903 
GAMLSS-RS iteration 1: Global Deviance = 468.0057 
GAMLSS-RS iteration GAMLSS-RS iteration 2: Global Deviance = 1467.7803: Global Deviance =  
490.5596 
GAMLSS-RS iteration 3: Global Deviance = 467.7802 
GAMLSS-RS iteration 2: Global Deviance = 490.4713 
GAMLSS-RS iteration 3: Global Deviance = 490.4713 
GAMLSS-RS iteration 1: Global Deviance = 494.2713 
GAMLSS-RS iteration 1: Global Deviance = 485.8819 
GAMLSS-RS iteration 2: Global Deviance = 494.1147 
GAMLSS-RS iteration 2: Global Deviance = 485.7649 
GAMLSS-RS iteration 3: Global Deviance = 494.1146 
GAMLSS-RS iteration 3: Global Deviance = 485.7647 
GAMLSS-RS iteration 1: Global Deviance = 434.1425 
GAMLSS-RS iteration 1: Global Deviance = 490.5234 
GAMLSS-RS iteration 2: Global Deviance = 433.7052 
GAMLSS-RS iteration 3: Global Deviance = 433.7041 
GAMLSS-RS iteration 2: Global Deviance = 490.4092 
GAMLSS-RS iteration 4: Global Deviance = 433.7039 
GAMLSS-RS iteration 3: Global Deviance = 490.4089 
GAMLSS-RS iteration 1: Global Deviance = 489.221 
GAMLSS-RS iteration 2: Global Deviance = 489.1471 
GAMLSS-RS iteration 3: Global Deviance = 489.1469 
GAMLSS-RS iteration 1: Global Deviance = 479.1037 
GAMLSS-RS iteration 2: Global Deviance = 478.9696 
GAMLSS-RS iteration 3: Global Deviance = 478.9695 
GAMLSS-RS iteration 1: Global Deviance = 488.1776 
GAMLSS-RS iteration 2: Global Deviance = 488.0235 
GAMLSS-RS iteration 3: Global Deviance = 488.0231 
GAMLSS-RS iteration 1: Global Deviance = 491.9791 
GAMLSS-RS iteration 2: Global Deviance = 491.8646 
GAMLSS-RS iteration 3: Global Deviance = 491.8643 
GAMLSS-RS iteration 1: Global Deviance = 495.6425 
GAMLSS-RS iteration 2: Global Deviance = 495.551 
GAMLSS-RS iteration 3: Global Deviance = 495.5506 
GAMLSS-RS iteration 1: Global Deviance = 461.2592 
GAMLSS-RS iteration 2: Global Deviance = 461.0701 
GAMLSS-RS iteration 3: Global Deviance = 461.07 
GAMLSS-RS iteration 1: Global Deviance = 461.9856 
GAMLSS-RS iteration 2: Global Deviance = 461.6635 
GAMLSS-RS iteration 1: Global Deviance = 486.5375 
GAMLSS-RS iteration 3: Global Deviance = 461.6632 
GAMLSS-RS iteration 2: Global Deviance = 486.4126 
GAMLSS-RS iteration 3: Global Deviance = 486.4125 
GAMLSS-RS iteration 1: Global Deviance = 467.6212 
GAMLSS-RS iteration 1: Global Deviance = 477.4378 
GAMLSS-RS iteration GAMLSS-RS iteration 22: Global Deviance = : Global Deviance = 467.4761477.2718 
 
GAMLSS-RS iteration 3: Global Deviance = 477.2715 
GAMLSS-RS iteration 3: Global Deviance = 467.4759 
GAMLSS-RS iteration 1: Global Deviance = 476.9825 
GAMLSS-RS iteration 1: Global Deviance = 484.0095 
GAMLSS-RS iteration 2: Global Deviance = 476.7143 
GAMLSS-RS iteration 2: Global Deviance = 483.8331 
GAMLSS-RS iteration 3: Global Deviance = 476.7141 
GAMLSS-RS iteration 3: Global Deviance = 483.8329 
GAMLSS-RS iteration 1: Global Deviance = 511.3907 
GAMLSS-RS iteration 1: Global Deviance = 494.1245 
GAMLSS-RS iteration 2: Global Deviance = 511.3504 
GAMLSS-RS iteration 3: Global Deviance = 511.3504 
GAMLSS-RS iteration 2: Global Deviance = 493.943 
GAMLSS-RS iteration 3: Global Deviance = 493.9427 
GAMLSS-RS iteration 1: Global Deviance = 488.8238 
GAMLSS-RS iteration 2: Global Deviance = 488.7719 
GAMLSS-RS iteration 1: Global Deviance = 473.0266 
GAMLSS-RS iteration 3: Global Deviance = 488.7717 
GAMLSS-RS iteration 2: Global Deviance = 472.824 
GAMLSS-RS iteration 3: Global Deviance = 472.8237 
GAMLSS-RS iteration 1: Global Deviance = 465.9376 
GAMLSS-RS iteration 2: Global Deviance = 465.6258 
GAMLSS-RS iteration 1: Global Deviance = 473.3426 
GAMLSS-RS iteration 3: Global Deviance = 465.6254 
GAMLSS-RS iteration 2: Global Deviance = 473.1228 
GAMLSS-RS iteration 3: Global Deviance = 473.1225 
GAMLSS-RS iteration 1: Global Deviance = 489.2164 
GAMLSS-RS iteration 2: Global Deviance = 489.1608 
GAMLSS-RS iteration 3: Global Deviance = 489.1606 
GAMLSS-RS iteration 1: Global Deviance = 487.7771 
GAMLSS-RS iteration 2: Global Deviance = 487.6798 
GAMLSS-RS iteration 3: Global Deviance = 487.6795 
GAMLSS-RS iteration 1: Global Deviance = 498.7508 
GAMLSS-RS iteration 2: Global Deviance = 498.6237 
GAMLSS-RS iteration 3: Global Deviance = 498.6232 
GAMLSS-RS iteration 1: Global Deviance = 502.6692 
GAMLSS-RS iteration 2: Global Deviance = 502.6241 
GAMLSS-RS iteration 3: Global Deviance = 502.624 
GAMLSS-RS iteration 1: Global Deviance = 490.2717 
GAMLSS-RS iteration 2: Global Deviance = 490.1575 
GAMLSS-RS iteration 3: Global Deviance = 490.1573 
GAMLSS-RS iteration 1: Global Deviance = 477.1564 
GAMLSS-RS iteration 2: Global Deviance = 476.9572 
GAMLSS-RS iteration 3: Global Deviance = 476.9569 
GAMLSS-RS iteration 1: Global Deviance = 475.1664 
GAMLSS-RS iteration 2: Global Deviance = 475.0394 
GAMLSS-RS iteration 3: Global Deviance = 475.0392 
GAMLSS-RS iteration 1: Global Deviance = 493.359 
GAMLSS-RS iteration 2: Global Deviance = 493.2705 
GAMLSS-RS iteration 3: Global Deviance = 493.2703 
GAMLSS-RS iteration 1: Global Deviance = 518.9385 
GAMLSS-RS iteration 2: Global Deviance = 518.8906 
GAMLSS-RS iteration 3: Global Deviance = 518.8905 
GAMLSS-RS iteration 1: Global Deviance = 446.9677 
GAMLSS-RS iteration 2: Global Deviance = 446.6722 
GAMLSS-RS iteration 3: Global Deviance = 446.6718 
GAMLSS-RS iteration 1: Global Deviance = 486.8818 
GAMLSS-RS iteration 2: Global Deviance = 486.751 
GAMLSS-RS iteration 3: Global Deviance = 486.7508 
GAMLSS-RS iteration 1: Global Deviance = 484.9852 
GAMLSS-RS iteration 2: Global Deviance = 484.8994 
GAMLSS-RS iteration 3: Global Deviance = 484.8993 
> 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