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 = -131.316619695285
Iteration 3 ended with a performance of aic = -140.136802848915
Iteration 4 ended with a performance of aic = -132.81829257818
Iteration 5 ended with a performance of aic = -134.219399938002
Iteration 6 ended with a performance of aic = -131.585224810932
Iteration 7 ended with a performance of aic = -133.598241017058
Iteration 8 ended with a performance of aic = -128.033845188733
Iteration 9 ended with a performance of aic = -131.508075764203
Iteration 10 ended with a performance of aic = -134.594901883647
Iteration 11 ended with a performance of aic = -132.734399923455
Iteration 12 ended with a performance of aic = -136.464355668446
Iteration 13 ended with a performance of aic = -124.457599720882
Iteration 14 ended with a performance of aic = -117.248914770777
Iteration 15 ended with a performance of aic = -123.054103768154
Iteration 16 ended with a performance of aic = -117.91270474053
Iteration 17 ended with a performance of aic = -123.865922923001
Iteration 18 ended with a performance of aic = -118.819601391683
Iteration 19 ended with a performance of aic = -120.472083820139
Iteration 20 ended with a performance of aic = -126.761867619369
Iteration 21 ended with a performance of aic = -116.707887233494
Iteration 22 ended with a performance of aic = -117.265014520873
Iteration 23 ended with a performance of aic = -116.392125136124
Iteration 24 ended with a performance of aic = -126.705391188375
Iteration 25 ended with a performance of aic = -126.32632811092
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