Error(s) in re-building vignettes:
--- re-building ‘glmdisc.Rmd’ using rmarkdown
Iteration 1 ended with a performance of aic = -Inf
Iteration 2 ended with a performance of aic = -134.021089151952
Iteration 3 ended with a performance of aic = -136.427756906408
Iteration 4 ended with a performance of aic = -144.056203787901
Iteration 5 ended with a performance of aic = -122.308546359541
Iteration 6 ended with a performance of aic = -130.26918942147
Iteration 7 ended with a performance of aic = -135.099677850263
Iteration 8 ended with a performance of aic = -133.576780637158
Iteration 9 ended with a performance of aic = -124.374142034395
Iteration 10 ended with a performance of aic = -139.498055762396
Iteration 11 ended with a performance of aic = -137.384659560013
Iteration 12 ended with a performance of aic = -142.126909060357
Iteration 13 ended with a performance of aic = -140.644986827776
Iteration 14 ended with a performance of aic = -138.618844482437
Iteration 15 ended with a performance of aic = -140.981385062791
Iteration 16 ended with a performance of aic = -141.702316420428
Iteration 17 ended with a performance of aic = -138.429569804519
Iteration 18 ended with a performance of aic = -144.048844028021
Iteration 19 ended with a performance of aic = -145.41897171265
Iteration 20 ended with a performance of aic = -141.178036824974
Iteration 21 ended with a performance of aic = -148.277849774476
Iteration 22 ended with a performance of aic = -144.239793549041
Iteration 23 ended with a performance of aic = -133.546602934634
Iteration 24 ended with a performance of aic = -145.052231831117
Iteration 25 ended with a performance of aic = -144.948467245872
Iteration 26 ended with a performance of aic = -145.152531720347
Iteration 27 ended with a performance of aic = -129.771360667594
Iteration 28 ended with a performance of aic = -132.322283967981
Iteration 29 ended with a performance of aic = -136.573467132765
Iteration 30 ended with a performance of aic = -137.906449828136
Iteration 31 ended with a performance of aic = -130.128235084677
Iteration 32 ended with a performance of aic = -125.17269869522
Quitting from lines 298-301 (glmdisc.Rmd) 
Error: processing vignette 'glmdisc.Rmd' failed with diagnostics:
subscript out of bounds
--- failed re-building ‘glmdisc.Rmd’

SUMMARY: processing the following file failed:
  ‘glmdisc.Rmd’

Error: Vignette re-building failed.
Execution halted