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.846916   2.246342   2.837857   3.303062   2.8855
mu.x                0.088560   0.073642   0.087903   0.104506   0.0874
mu.qrt2            -0.093034  -0.407518  -0.114519   0.261665  -0.1204
mu.qrt3             0.146079  -0.267109   0.135111   0.528061   0.1118
mu.qrt4            -0.052182  -0.371294  -0.059259   0.295910  -0.0755
sigma.(Intercept)  -1.744463  -2.192055  -1.746019  -1.282752  -1.6032
deviance          486.200439 454.531320 487.919005 513.738783 492.6373
> plot(B1)
> B2 <- NonParametricBoot(m1)
GAMLSS-RS iteration 1: Global Deviance = 477.2351 
GAMLSS-RS iteration 2: Global Deviance = 477.0083 
GAMLSS-RS iteration 1: Global Deviance = 505.8084 
GAMLSS-RS iteration 2: Global Deviance = 505.7488 
GAMLSS-RS iteration 3: Global Deviance = 477.0082 
GAMLSS-RS iteration 3: Global Deviance = 505.7487 
GAMLSS-RS iteration 1: Global Deviance = 501.4957 
GAMLSS-RS iteration 2: Global Deviance = 501.4377 
GAMLSS-RS iteration 3: Global Deviance = 501.4376 
GAMLSS-RS iteration 1: Global Deviance = 505.3332 
GAMLSS-RS iteration 2: Global Deviance = 505.1994 
GAMLSS-RS iteration 3: Global Deviance = 505.199 
GAMLSS-RS iteration 1: Global Deviance = 480.2604 
GAMLSS-RS iteration 2: Global Deviance = 480.2049 
GAMLSS-RS iteration 3: Global Deviance = 480.2048 
GAMLSS-RS iteration 1: Global Deviance = 488.1693 
GAMLSS-RS iteration 2: Global Deviance = 487.9005 
GAMLSS-RS iteration 1: Global Deviance = 499.5451 
GAMLSS-RS iteration 3: Global Deviance = 487.9 
GAMLSS-RS iteration 2: Global Deviance = 499.4699 
GAMLSS-RS iteration 1: Global Deviance = 506.9956 
GAMLSS-RS iteration 3: Global Deviance = 499.4697 
GAMLSS-RS iteration 2: Global Deviance = 506.9266 
GAMLSS-RS iteration 3: Global Deviance = 506.9264 
GAMLSS-RS iteration 1: Global Deviance = 491.4851 
GAMLSS-RS iteration 2: Global Deviance = 491.4047 
GAMLSS-RS iteration 3: Global Deviance = 491.4045 
GAMLSS-RS iteration 1: Global Deviance = 470.0358 
GAMLSS-RS iteration 1: Global Deviance = 505.0223 
GAMLSS-RS iteration 2: Global Deviance = 504.9517 
GAMLSS-RS iteration 2: Global Deviance = 469.8804 
GAMLSS-RS iteration 3: Global Deviance = 504.9516 
GAMLSS-RS iteration 3: Global Deviance = 469.8803 
GAMLSS-RS iteration 1: Global Deviance = 481.3469 
GAMLSS-RS iteration 2: Global Deviance = 481.2894 
GAMLSS-RS iteration 3: Global Deviance = 481.2895 
GAMLSS-RS iteration 1: Global Deviance = 449.3989 
GAMLSS-RS iteration 1: Global Deviance = 475.281 
GAMLSS-RS iteration 2: Global Deviance = 449.0419 
GAMLSS-RS iteration 2: Global Deviance = 475.0872 
GAMLSS-RS iteration 3: Global Deviance = 449.0415 
GAMLSS-RS iteration 3: Global Deviance = 475.0871 
GAMLSS-RS iteration 1: Global Deviance = 482.4184 
GAMLSS-RS iteration 2: Global Deviance = 482.3447 
GAMLSS-RS iteration 3: Global Deviance = 482.3446 
GAMLSS-RS iteration 1: Global Deviance = 474.1705 
GAMLSS-RS iteration 2: Global Deviance = 474.0184 
GAMLSS-RS iteration 1: Global Deviance = 457.2658 
GAMLSS-RS iteration 3: Global Deviance = 474.0184 
GAMLSS-RS iteration 2: Global Deviance = 457.1158 
GAMLSS-RS iteration 3: Global Deviance = 457.1156 
GAMLSS-RS iteration 1: Global Deviance = 479.2384 
GAMLSS-RS iteration 2: Global Deviance = 479.0957 
GAMLSS-RS iteration 3: Global Deviance = 479.0947 
GAMLSS-RS iteration 4: Global Deviance = 479.0945 
GAMLSS-RS iteration 1: Global Deviance = 460.2527 
GAMLSS-RS iteration 2: Global Deviance = 459.9957 
GAMLSS-RS iteration 3: Global Deviance = 459.9956 
GAMLSS-RS iteration 1: Global Deviance = 493.1947 
GAMLSS-RS iteration 2: Global Deviance = 493.1239 
GAMLSS-RS iteration 3: Global Deviance = 493.1239 
GAMLSS-RS iteration 1: Global Deviance = 472.9667 
GAMLSS-RS iteration 2: Global Deviance = 472.8189 
GAMLSS-RS iteration 3: Global Deviance = 472.8185 
GAMLSS-RS iteration 1: Global Deviance = 496.7255 
GAMLSS-RS iteration 2: Global Deviance = 496.614 
GAMLSS-RS iteration 3: Global Deviance = 496.6138 
GAMLSS-RS iteration 1: Global Deviance = 465.6243 
GAMLSS-RS iteration 2: Global Deviance = 465.4913 
GAMLSS-RS iteration 3: Global Deviance = 465.4918 
GAMLSS-RS iteration 1: Global Deviance = 513.284 
GAMLSS-RS iteration 2: Global Deviance = 513.2346 
GAMLSS-RS iteration 3: Global Deviance = 513.2344 
GAMLSS-RS iteration 1: Global Deviance = 485.2545 
GAMLSS-RS iteration 1: Global Deviance = 475.3673 
GAMLSS-RS iteration 2: Global Deviance = 485.1126 
GAMLSS-RS iteration 3: Global Deviance = 485.1125 
GAMLSS-RS iteration 2: Global Deviance = 475.1128 
GAMLSS-RS iteration 3: Global Deviance = 475.1125 
GAMLSS-RS iteration 1: Global Deviance = 511.5959 
GAMLSS-RS iteration 2: Global Deviance = 511.5465 
GAMLSS-RS iteration 3: Global Deviance = 511.5464 
GAMLSS-RS iteration 1: Global Deviance = 478.9438 
GAMLSS-RS iteration 2: Global Deviance = 478.841 
GAMLSS-RS iteration 3: Global Deviance = 478.8409 
GAMLSS-RS iteration 1: Global Deviance = 494.9045 
GAMLSS-RS iteration 2: Global Deviance = 494.8371 
GAMLSS-RS iteration 3: Global Deviance = 494.8371 
GAMLSS-RS iteration 1: Global Deviance = 496.1527 
GAMLSS-RS iteration 2: Global Deviance = 496.0773 
GAMLSS-RS iteration 3: Global Deviance = 496.0772 
GAMLSS-RS iteration 1: Global Deviance = 476.3945 
GAMLSS-RS iteration 2: Global Deviance = 476.1995 
GAMLSS-RS iteration 3: Global Deviance = 476.1992 
GAMLSS-RS iteration 1: Global Deviance = 508.766 
GAMLSS-RS iteration 2: Global Deviance = 508.6698 
GAMLSS-RS iteration 3: Global Deviance = 508.6696 
GAMLSS-RS iteration 1: Global Deviance = 520.3606 
GAMLSS-RS iteration 2: Global Deviance = 520.3468 
GAMLSS-RS iteration 3: Global Deviance = 520.3467 
GAMLSS-RS iteration 1: Global Deviance = 493.1393 
GAMLSS-RS iteration 2: Global Deviance = 493.0679 
GAMLSS-RS iteration 3: Global Deviance = 493.0678 
GAMLSS-RS iteration 1: Global Deviance = 473.2153 
GAMLSS-RS iteration GAMLSS-RS iteration 21: Global Deviance = : Global Deviance = 472.983469.6514 
 
GAMLSS-RS iteration 2: Global Deviance = 469.4628 
GAMLSS-RS iteration 3: Global Deviance = 469.4627 
GAMLSS-RS iteration 3: Global Deviance = 472.9827 
GAMLSS-RS iteration 1: Global Deviance = 480.7225 
GAMLSS-RS iteration 2: Global Deviance = 480.5523 
GAMLSS-RS iteration 3: Global Deviance = 480.5521 
GAMLSS-RS iteration 1: Global Deviance = 447.7042 
GAMLSS-RS iteration 2: Global Deviance = 447.4938 
GAMLSS-RS iteration 3: Global Deviance = 447.4893 
GAMLSS-RS iteration 4: Global Deviance = 447.4871 
GAMLSS-RS iteration 5: Global Deviance = 447.4857 
GAMLSS-RS iteration 6: Global Deviance = 447.4851 
GAMLSS-RS iteration 1: Global Deviance = 462.479 
GAMLSS-RS iteration 2: Global Deviance = 462.2758 
GAMLSS-RS iteration 3: Global Deviance = 462.2756 
GAMLSS-RS iteration 1: Global Deviance = 506.0749 
GAMLSS-RS iteration 2: Global Deviance = 505.978 
GAMLSS-RS iteration 1: Global Deviance = 483.9474 
GAMLSS-RS iteration 3: Global Deviance = 505.9778 
GAMLSS-RS iteration 2: Global Deviance = 483.817 
GAMLSS-RS iteration 3: Global Deviance = 483.8169 
GAMLSS-RS iteration 1: Global Deviance = 482.5142 
GAMLSS-RS iteration 2: Global Deviance = 482.3873 
GAMLSS-RS iteration 3: Global Deviance = 482.3872 
GAMLSS-RS iteration 1: Global Deviance = 484.717 
GAMLSS-RS iteration 2: Global Deviance = 484.5923 
GAMLSS-RS iteration 3: Global Deviance = 484.5922 
GAMLSS-RS iteration 1: Global Deviance = 485.8083 
GAMLSS-RS iteration 2: Global Deviance = 485.5915 
GAMLSS-RS iteration 3: Global Deviance = 485.591 
GAMLSS-RS iteration 1: Global Deviance = 469.5803 
GAMLSS-RS iteration 2: Global Deviance = 469.4327 
GAMLSS-RS iteration 3: Global Deviance = 469.4326 
GAMLSS-RS iteration 1: Global Deviance = 484.0694 
GAMLSS-RS iteration 2: Global Deviance = 484.0094 
GAMLSS-RS iteration 3: Global Deviance = 484.009 
GAMLSS-RS iteration 1: Global Deviance = 479.9599 
GAMLSS-RS iteration 2: Global Deviance = 479.8253 
GAMLSS-RS iteration 3: Global Deviance = 479.8253 
GAMLSS-RS iteration 1: Global Deviance = 488.6206 
GAMLSS-RS iteration 2: Global Deviance = 488.5543 
GAMLSS-RS iteration 3: Global Deviance = 488.5543 
GAMLSS-RS iteration 1: Global Deviance = 501.5433 
GAMLSS-RS iteration 2: Global Deviance = 501.4219 
GAMLSS-RS iteration 3: Global Deviance = 501.4218 
GAMLSS-RS iteration 1: Global Deviance = 501.4354 
GAMLSS-RS iteration 2: Global Deviance = 501.362 
GAMLSS-RS iteration 3: Global Deviance = 501.3619 
GAMLSS-RS iteration 1: Global Deviance = 490.0919 
GAMLSS-RS iteration 1: Global Deviance = 481.3438 
GAMLSS-RS iteration 2: Global Deviance = 489.9032 
GAMLSS-RS iteration 2: Global Deviance = 481.2277 
GAMLSS-RS iteration 3: Global Deviance = 489.9026 
GAMLSS-RS iteration 3: Global Deviance = 481.2276 
GAMLSS-RS iteration 1: Global Deviance = 464.3072 
GAMLSS-RS iteration 2: Global Deviance = 463.9761 
GAMLSS-RS iteration 3: Global Deviance = 463.9755 
GAMLSS-RS iteration 1: Global Deviance = 470.1414 
GAMLSS-RS iteration 2: Global Deviance = 470.0177 
GAMLSS-RS iteration 3: Global Deviance = 470.0176 
GAMLSS-RS iteration 1: Global Deviance = 493.1311 
GAMLSS-RS iteration 2: Global Deviance = 493.0035 
GAMLSS-RS iteration 3: Global Deviance = 493.0034 
GAMLSS-RS iteration 1: Global Deviance = 444.4399 
GAMLSS-RS iteration 2: Global Deviance = 444.2724 
GAMLSS-RS iteration 3: Global Deviance = 444.2721 
GAMLSS-RS iteration 1: Global Deviance = 491.7116 
GAMLSS-RS iteration 2: Global Deviance = 491.5306 
GAMLSS-RS iteration 3: Global Deviance = 491.5304 
GAMLSS-RS iteration 1: Global Deviance = 505.9553 
GAMLSS-RS iteration 2: Global Deviance = 505.887 
GAMLSS-RS iteration 3: Global Deviance = 505.8869 
GAMLSS-RS iteration 1: Global Deviance = 507.1079 
GAMLSS-RS iteration 2: Global Deviance = 507.05 
GAMLSS-RS iteration 1: Global Deviance = 506.1419 
GAMLSS-RS iteration 3: Global Deviance = 507.0498 
GAMLSS-RS iteration 2: Global Deviance = 506.0919 
GAMLSS-RS iteration 3: Global Deviance = 506.0917 
GAMLSS-RS iteration 1: Global Deviance = 463.46 
GAMLSS-RS iteration 2: Global Deviance = 463.3454 
GAMLSS-RS iteration 3: Global Deviance = 463.3452 
GAMLSS-RS iteration 1: Global Deviance = 472.2998 
GAMLSS-RS iteration 1: Global Deviance = 487.9318 
GAMLSS-RS iteration 2: Global Deviance = 487.8588 
GAMLSS-RS iteration 3: Global Deviance = 487.8588 
GAMLSS-RS iteration 2: Global Deviance = 472.1841 
GAMLSS-RS iteration 3: Global Deviance = 472.1841 
GAMLSS-RS iteration 1: Global Deviance = 468.8831 
GAMLSS-RS iteration 2: Global Deviance = 468.7797 
GAMLSS-RS iteration 3: Global Deviance = 468.7795 
GAMLSS-RS iteration 1: Global Deviance = 477.2068 
GAMLSS-RS iteration 1: Global Deviance = 508.8053 
GAMLSS-RS iteration 2: Global Deviance = 477.1141 
GAMLSS-RS iteration 3: Global Deviance = 477.114 
GAMLSS-RS iteration 2: Global Deviance = 508.7725 
GAMLSS-RS iteration 3: Global Deviance = 508.7725 
GAMLSS-RS iteration 1: Global Deviance = 478.6358 
GAMLSS-RS iteration 2: Global Deviance = 478.5031 
GAMLSS-RS iteration 3: Global Deviance = 478.5029 
GAMLSS-RS iteration 1: Global Deviance = 476.6766 
GAMLSS-RS iteration 1: Global Deviance = 475.745 
GAMLSS-RS iteration 2: Global Deviance = 475.6388 
GAMLSS-RS iteration 2: Global Deviance = 476.5788 
GAMLSS-RS iteration 3: Global Deviance = 475.6387 
GAMLSS-RS iteration 3: Global Deviance = 476.5786 
GAMLSS-RS iteration 1: Global Deviance = 475.6369 
GAMLSS-RS iteration 2: Global Deviance = 475.454 
GAMLSS-RS iteration 3: Global Deviance = 475.4537 
GAMLSS-RS iteration 1: Global Deviance = 464.92 
GAMLSS-RS iteration 2: Global Deviance = 464.7207 
GAMLSS-RS iteration 3: Global Deviance = 464.7206 
GAMLSS-RS iteration 1: Global Deviance = 485.8426 
GAMLSS-RS iteration 2: Global Deviance = 485.6779 
GAMLSS-RS iteration 3: Global Deviance = 485.6777 
GAMLSS-RS iteration 1: Global Deviance = 458.996 
GAMLSS-RS iteration 1: Global Deviance = 481.6602 
GAMLSS-RS iteration 2: Global Deviance = 481.5627 
GAMLSS-RS iteration 2: Global Deviance = 458.7934 
GAMLSS-RS iteration 3: Global Deviance = 481.5626 
GAMLSS-RS iteration 3: Global Deviance = 458.7931 
GAMLSS-RS iteration 1: Global Deviance = 473.2521 
GAMLSS-RS iteration 2: Global Deviance = 472.9942 
GAMLSS-RS iteration 3: Global Deviance = 472.9938 
GAMLSS-RS iteration 1: Global Deviance = 504.5335 
GAMLSS-RS iteration 1: Global Deviance = 480.0429 
GAMLSS-RS iteration 2: Global Deviance = 479.9328 
GAMLSS-RS iteration 2: Global Deviance = 504.4467 
GAMLSS-RS iteration 3: Global Deviance = 479.9326 
GAMLSS-RS iteration 3: Global Deviance = 504.4466 
GAMLSS-RS iteration 1: Global Deviance = 469.9592 
GAMLSS-RS iteration 2: Global Deviance = 469.8477 
GAMLSS-RS iteration 3: Global Deviance = 469.8475 
GAMLSS-RS iteration 1: Global Deviance = 498.5388 
GAMLSS-RS iteration 2: Global Deviance = 498.4949 
GAMLSS-RS iteration 3: Global Deviance = 498.4948 
GAMLSS-RS iteration 1: Global Deviance = 506.9985 
GAMLSS-RS iteration 2: Global Deviance = 506.8775 
GAMLSS-RS iteration 3: Global Deviance = 506.8773 
GAMLSS-RS iteration 1: Global Deviance = 466.4795 
GAMLSS-RS iteration 2: Global Deviance = 466.3568 
GAMLSS-RS iteration 3: Global Deviance = 466.3568 
GAMLSS-RS iteration 1: Global Deviance = 489.5309 
GAMLSS-RS iteration 2: Global Deviance = 489.4309 
GAMLSS-RS iteration 3: Global Deviance = 489.4307 
GAMLSS-RS iteration 1: Global Deviance = 468.8029 
GAMLSS-RS iteration 2: Global Deviance = 468.5853 
GAMLSS-RS iteration 3: Global Deviance = 468.585 
GAMLSS-RS iteration 1: Global Deviance = 474.612 
GAMLSS-RS iteration 2: Global Deviance = 474.428 
GAMLSS-RS iteration 3: Global Deviance = 474.4277 
GAMLSS-RS iteration 1: Global Deviance = 478.8033 
GAMLSS-RS iteration 1: Global Deviance = 472.4494 
GAMLSS-RS iteration 2: Global Deviance = 478.7429 
GAMLSS-RS iteration 3: Global Deviance = 478.7428 
GAMLSS-RS iteration 2: Global Deviance = 472.3554 
GAMLSS-RS iteration 3: Global Deviance = 472.3553 
GAMLSS-RS iteration 1: Global Deviance = 447.3971 
GAMLSS-RS iteration 2: Global Deviance = 447.2561 
GAMLSS-RS iteration 1: Global Deviance = 511.9642 
GAMLSS-RS iteration 3: Global Deviance = 447.2557 
GAMLSS-RS iteration 2: Global Deviance = 511.9001 
GAMLSS-RS iteration 3: Global Deviance = 511.9 
GAMLSS-RS iteration 1: Global Deviance = 480.6848 
GAMLSS-RS iteration 2: Global Deviance = 480.6207 
GAMLSS-RS iteration 3: Global Deviance = 480.6206 
GAMLSS-RS iteration 1: Global Deviance = 503.41 
GAMLSS-RS iteration 2: Global Deviance = 503.3841 
GAMLSS-RS iteration 3: Global Deviance = 503.3838 
GAMLSS-RS iteration 1: Global Deviance = 490.6467 
GAMLSS-RS iteration 2: Global Deviance = 490.5415 
GAMLSS-RS iteration 3: Global Deviance = 490.5403 
GAMLSS-RS iteration 4: Global Deviance = 490.5404 
GAMLSS-RS iteration 1: Global Deviance = 480.2757 
GAMLSS-RS iteration 2: Global Deviance = 480.1611 
GAMLSS-RS iteration 3: Global Deviance = 480.1609 
GAMLSS-RS iteration 1: Global Deviance = 483.1363 
GAMLSS-RS iteration 2: Global Deviance = 483.0238 
GAMLSS-RS iteration 3: Global Deviance = 483.0237 
GAMLSS-RS iteration 1: Global Deviance = 497.6138 
GAMLSS-RS iteration 2: Global Deviance = 497.5326 
GAMLSS-RS iteration 3: Global Deviance = 497.5326 
GAMLSS-RS iteration 1: Global Deviance = 487.6205 
GAMLSS-RS iteration 2: Global Deviance = 487.4813 
GAMLSS-RS iteration 3: Global Deviance = 487.4812 
GAMLSS-RS iteration 1: Global Deviance = 490.2578 
GAMLSS-RS iteration 2: Global Deviance = 490.1996 
GAMLSS-RS iteration 3: Global Deviance = 490.1995 
GAMLSS-RS iteration 1: Global Deviance = 491.5202 
GAMLSS-RS iteration 2: Global Deviance = 491.3904 
GAMLSS-RS iteration 3: Global Deviance = 491.3903 
GAMLSS-RS iteration 1: Global Deviance = 488.5687 
GAMLSS-RS iteration 2: Global Deviance = 488.5115 
GAMLSS-RS iteration 3: Global Deviance = 488.5114 
GAMLSS-RS iteration 1: Global Deviance = 497.4969 
GAMLSS-RS iteration 2: Global Deviance = 497.44 
GAMLSS-RS iteration 3: Global Deviance = 497.4398 
GAMLSS-RS iteration 1: Global Deviance = 487.4554 
GAMLSS-RS iteration 2: Global Deviance = 487.2303 
GAMLSS-RS iteration 3: Global Deviance = 487.23 
> 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