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 = -140.388163887274
Iteration 3 ended with a performance of aic = -132.982700298978
Iteration 4 ended with a performance of aic = -139.507529864622
Iteration 5 ended with a performance of aic = -126.881975969543
Iteration 6 ended with a performance of aic = -125.53030605838
Iteration 7 ended with a performance of aic = -130.409326913449
Iteration 8 ended with a performance of aic = -126.74882661052
Iteration 9 ended with a performance of aic = -128.08427778223
Iteration 10 ended with a performance of aic = -124.338086131057
Iteration 11 ended with a performance of aic = -138.981308005962
Iteration 12 ended with a performance of aic = -137.167662510112
Iteration 13 ended with a performance of aic = -135.088410262191
Iteration 14 ended with a performance of aic = -138.001468944154
Iteration 15 ended with a performance of aic = -139.782545739799
Iteration 16 ended with a performance of aic = -134.373609522093
Iteration 17 ended with a performance of aic = -132.709858046613
Iteration 18 ended with a performance of aic = -135.982908657925
Iteration 19 ended with a performance of aic = -136.335563563004
Iteration 20 ended with a performance of aic = -136.227561802873
Iteration 21 ended with a performance of aic = -136.098493667079
Iteration 22 ended with a performance of aic = -146.645842255495
Iteration 23 ended with a performance of aic = -145.502243291937
Iteration 24 ended with a performance of aic = -148.84958372089
Iteration 25 ended with a performance of aic = -148.467578644182
Iteration 26 ended with a performance of aic = -141.803462990101
Iteration 27 ended with a performance of aic = -141.217743070727
Iteration 28 ended with a performance of aic = -139.096032949579
Iteration 29 ended with a performance of aic = -140.174487680229
Iteration 30 ended with a performance of aic = -131.802212111774
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