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 = -115.232844651428
Iteration 3 ended with a performance of aic = -117.767470565665
Iteration 4 ended with a performance of aic = -131.560586689587
Iteration 5 ended with a performance of aic = -140.412968095482
Iteration 6 ended with a performance of aic = -117.879537584103
Iteration 7 ended with a performance of aic = -123.929886606403
Iteration 8 ended with a performance of aic = -124.455238308552
Iteration 9 ended with a performance of aic = -117.045339247941
Iteration 10 ended with a performance of aic = -122.198435888515
Iteration 11 ended with a performance of aic = -120.907436223901
Iteration 12 ended with a performance of aic = -124.525688537161
Iteration 13 ended with a performance of aic = -121.446484334436
Iteration 14 ended with a performance of aic = -119.050487467026
Iteration 15 ended with a performance of aic = -117.002009372675
Iteration 16 ended with a performance of aic = -130.162271620814
Iteration 17 ended with a performance of aic = -144.945509613974
Iteration 18 ended with a performance of aic = -133.497118866726
Iteration 19 ended with a performance of aic = -137.312212681915
Iteration 20 ended with a performance of aic = -130.521790040222
Iteration 21 ended with a performance of aic = -120.209118858653
Iteration 22 ended with a performance of aic = -109.740792074285
Iteration 23 ended with a performance of aic = -119.767404742047
Iteration 24 ended with a performance of aic = -119.185762229494
Iteration 25 ended with a performance of aic = -114.150621564785
Iteration 26 ended with a performance of aic = -114.85576330558
Iteration 27 ended with a performance of aic = -122.907891742276
Iteration 28 ended with a performance of aic = -113.23206804398
Iteration 29 ended with a performance of aic = -121.397535150883
Iteration 30 ended with a performance of aic = -124.913752111398
Iteration 31 ended with a performance of aic = -109.175357308197
Iteration 32 ended with a performance of aic = -108.018570558538
Iteration 33 ended with a performance of aic = -111.07624001436
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