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 = -120.96685836912
Iteration 3 ended with a performance of aic = -123.42480902549
Iteration 4 ended with a performance of aic = -127.082089292689
Iteration 5 ended with a performance of aic = -133.185780788399
Iteration 6 ended with a performance of aic = -122.018620676531
Iteration 7 ended with a performance of aic = -133.926268120332
Iteration 8 ended with a performance of aic = -128.75593989701
Iteration 9 ended with a performance of aic = -127.400106504003
Iteration 10 ended with a performance of aic = -114.645104742449
Iteration 11 ended with a performance of aic = -121.879005796544
Iteration 12 ended with a performance of aic = -125.785878900462
Iteration 13 ended with a performance of aic = -130.437549528059
Iteration 14 ended with a performance of aic = -130.076340010304
Iteration 15 ended with a performance of aic = -124.515349210286
Iteration 16 ended with a performance of aic = -123.837450808267
Iteration 17 ended with a performance of aic = -139.18705848846
Iteration 18 ended with a performance of aic = -123.137070000668
Iteration 19 ended with a performance of aic = -127.132684371746
Iteration 20 ended with a performance of aic = -134.30384317258
Iteration 21 ended with a performance of aic = -113.045849709603
Iteration 22 ended with a performance of aic = -125.522570154683
Iteration 23 ended with a performance of aic = -120.73548893434
Iteration 24 ended with a performance of aic = -109.250233316645
Iteration 25 ended with a performance of aic = -121.34432266342
Iteration 26 ended with a performance of aic = -113.879394032243
Iteration 27 ended with a performance of aic = -120.820708977751
Iteration 28 ended with a performance of aic = -126.394007625737
Iteration 29 ended with a performance of aic = -125.566288522601
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