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 = -132.554189280065
Iteration 3 ended with a performance of aic = -122.924644204238
Iteration 4 ended with a performance of aic = -130.313031895926
Iteration 5 ended with a performance of aic = -135.257885492793
Iteration 6 ended with a performance of aic = -144.263657073425
Iteration 7 ended with a performance of aic = -133.132947670857
Iteration 8 ended with a performance of aic = -125.932884645777
Iteration 9 ended with a performance of aic = -134.517344346296
Iteration 10 ended with a performance of aic = -146.939695438232
Iteration 11 ended with a performance of aic = -147.49748320307
Iteration 12 ended with a performance of aic = -153.202313256745
Iteration 13 ended with a performance of aic = -145.178600342926
Iteration 14 ended with a performance of aic = -147.24123085694
Iteration 15 ended with a performance of aic = -142.263949361895
Iteration 16 ended with a performance of aic = -129.668575006817
Iteration 17 ended with a performance of aic = -139.978971705149
Iteration 18 ended with a performance of aic = -126.765802773844
Iteration 19 ended with a performance of aic = -133.993669995317
Iteration 20 ended with a performance of aic = -134.30540509767
Iteration 21 ended with a performance of aic = -131.482463121338
Iteration 22 ended with a performance of aic = -142.197481137295
Iteration 23 ended with a performance of aic = -144.351732143222
Iteration 24 ended with a performance of aic = -150.944939987814
Iteration 25 ended with a performance of aic = -150.470446371055
Iteration 26 ended with a performance of aic = -147.943043036916
Iteration 27 ended with a performance of aic = -137.051989399638
Iteration 28 ended with a performance of aic = -136.180083152791
Iteration 29 ended with a performance of aic = -140.339814810043
Iteration 30 ended with a performance of aic = -134.286337155771
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