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.591097667328
Iteration 3 ended with a performance of aic = -134.472107847602
Iteration 4 ended with a performance of aic = -127.356368994612
Iteration 5 ended with a performance of aic = -123.329899477095
Iteration 6 ended with a performance of aic = -124.438741768948
Iteration 7 ended with a performance of aic = -139.303782991665
Iteration 8 ended with a performance of aic = -113.783335818267
Iteration 9 ended with a performance of aic = -147.454279312524
Iteration 10 ended with a performance of aic = -149.601051409782
Iteration 11 ended with a performance of aic = -148.291007118848
Iteration 12 ended with a performance of aic = -143.935464395098
Iteration 13 ended with a performance of aic = -138.313599199116
Iteration 14 ended with a performance of aic = -145.96845595482
Iteration 15 ended with a performance of aic = -130.021901884388
Iteration 16 ended with a performance of aic = -146.493614039684
Iteration 17 ended with a performance of aic = -126.36236046649
Iteration 18 ended with a performance of aic = -138.093992072316
Iteration 19 ended with a performance of aic = -140.878816800854
Iteration 20 ended with a performance of aic = -138.049962739694
Iteration 21 ended with a performance of aic = -141.455199128067
Iteration 22 ended with a performance of aic = -122.273012015336
Iteration 23 ended with a performance of aic = -133.938073700305
Iteration 24 ended with a performance of aic = -148.632382333675
Iteration 25 ended with a performance of aic = -143.40816765559
Iteration 26 ended with a performance of aic = -141.569045050849
Iteration 27 ended with a performance of aic = -141.935090866378
Iteration 28 ended with a performance of aic = -136.736084003463
Iteration 29 ended with a performance of aic = -132.62654811698
Iteration 30 ended with a performance of aic = -143.70395740736
Iteration 31 ended with a performance of aic = -132.941590013214
Iteration 32 ended with a performance of aic = -152.419370379466
Iteration 33 ended with a performance of aic = -150.058004438516
Iteration 34 ended with a performance of aic = -135.273783797574
Iteration 35 ended with a performance of aic = -143.052200571833
Iteration 36 ended with a performance of aic = -121.84277590397
Iteration 37 ended with a performance of aic = -116.308724330006
Iteration 38 ended with a performance of aic = -121.022514339848
Iteration 39 ended with a performance of aic = -146.295311688423
Iteration 40 ended with a performance of aic = -126.78876509045
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