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 = -136.897453023727
Iteration 3 ended with a performance of aic = -121.761497598009
Iteration 4 ended with a performance of aic = -121.124124343552
Iteration 5 ended with a performance of aic = -125.330016233974
Iteration 6 ended with a performance of aic = -124.252261819139
Iteration 7 ended with a performance of aic = -120.048086492691
Iteration 8 ended with a performance of aic = -109.670196620036
Iteration 9 ended with a performance of aic = -113.321510944289
Iteration 10 ended with a performance of aic = -108.827351486297
Iteration 11 ended with a performance of aic = -100.108069412018
Iteration 12 ended with a performance of aic = -123.165482586971
Iteration 13 ended with a performance of aic = -122.359122515664
Iteration 14 ended with a performance of aic = -110.694688903868
Iteration 15 ended with a performance of aic = -110.093892168598
Iteration 16 ended with a performance of aic = -116.463991381207
Iteration 17 ended with a performance of aic = -97.6384951154971
Iteration 18 ended with a performance of aic = -112.069762285629
Iteration 19 ended with a performance of aic = -114.63994865013
Iteration 20 ended with a performance of aic = -109.276328159733
Iteration 21 ended with a performance of aic = -116.23806858443
Iteration 22 ended with a performance of aic = -110.244223615259
Iteration 23 ended with a performance of aic = -114.049065913204
Iteration 24 ended with a performance of aic = -118.942355026055
Iteration 25 ended with a performance of aic = -113.24570422654
Iteration 26 ended with a performance of aic = -104.15911017538
Iteration 27 ended with a performance of aic = -107.99369203858
Iteration 28 ended with a performance of aic = -109.204430428065
Iteration 29 ended with a performance of aic = -112.192358072455
Iteration 30 ended with a performance of aic = -112.585650286705
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