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 = -138.260886095306
Iteration 3 ended with a performance of aic = -131.62912104531
Iteration 4 ended with a performance of aic = -137.6685358028
Iteration 5 ended with a performance of aic = -117.527689047845
Iteration 6 ended with a performance of aic = -133.257314912356
Iteration 7 ended with a performance of aic = -138.634827245327
Iteration 8 ended with a performance of aic = -135.96883556466
Iteration 9 ended with a performance of aic = -137.419622191321
Iteration 10 ended with a performance of aic = -134.060402157112
Iteration 11 ended with a performance of aic = -141.105092280352
Iteration 12 ended with a performance of aic = -138.623744669642
Iteration 13 ended with a performance of aic = -134.328211333935
Iteration 14 ended with a performance of aic = -140.428813236834
Iteration 15 ended with a performance of aic = -134.243779379612
Iteration 16 ended with a performance of aic = -120.854826554201
Iteration 17 ended with a performance of aic = -129.029238841703
Iteration 18 ended with a performance of aic = -133.279632962636
Iteration 19 ended with a performance of aic = -130.360496421314
Iteration 20 ended with a performance of aic = -123.711576281611
Iteration 21 ended with a performance of aic = -118.458414109915
Iteration 22 ended with a performance of aic = -128.932728937125
Iteration 23 ended with a performance of aic = -119.138931279514
Iteration 24 ended with a performance of aic = -123.492843640904
Iteration 25 ended with a performance of aic = -113.745946024526
Iteration 26 ended with a performance of aic = -117.883377880504
Iteration 27 ended with a performance of aic = -112.932433635579
Iteration 28 ended with a performance of aic = -117.068036736515
Iteration 29 ended with a performance of aic = -140.206722804809
Iteration 30 ended with a performance of aic = -140.898971262569
Iteration 31 ended with a performance of aic = -117.80299058749
Iteration 32 ended with a performance of aic = -120.619392260955
Iteration 33 ended with a performance of aic = -121.318737958708
Iteration 34 ended with a performance of aic = -131.372573995989
Iteration 35 ended with a performance of aic = -129.297435508755
Iteration 36 ended with a performance of aic = -128.615168169396
Iteration 37 ended with a performance of aic = -122.219294350679
Quitting from lines 298-301 (glmdisc.Rmd) 
Error: processing vignette 'glmdisc.Rmd' failed with diagnostics:
number of items to replace is not a multiple of replacement length
--- failed re-building ‘glmdisc.Rmd’

SUMMARY: processing the following file failed:
  ‘glmdisc.Rmd’

Error: Vignette re-building failed.
Execution halted