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 = -107.520213408939
Iteration 3 ended with a performance of aic = -84.3276223132119
Iteration 4 ended with a performance of aic = -105.713141035233
Iteration 5 ended with a performance of aic = -106.531154998364
Iteration 6 ended with a performance of aic = -108.998100531308
Iteration 7 ended with a performance of aic = -107.914099447168
Iteration 8 ended with a performance of aic = -87.2081589580753
Iteration 9 ended with a performance of aic = -101.442288350455
Iteration 10 ended with a performance of aic = -86.5112096082954
Iteration 11 ended with a performance of aic = -86.8925684416599
Iteration 12 ended with a performance of aic = -96.4071594985874
Iteration 13 ended with a performance of aic = -80.3625110375586
Iteration 14 ended with a performance of aic = -84.5210033156627
Iteration 15 ended with a performance of aic = -85.0895861359586
Iteration 16 ended with a performance of aic = -80.8744372107112
Iteration 17 ended with a performance of aic = -87.5244221776345
Iteration 18 ended with a performance of aic = -87.1799282681649
Iteration 19 ended with a performance of aic = -92.1328824317988
Iteration 20 ended with a performance of aic = -93.059483592713
Iteration 21 ended with a performance of aic = -94.5896149311144
Iteration 22 ended with a performance of aic = -92.4888358117991
Iteration 23 ended with a performance of aic = -95.6047278613789
Iteration 24 ended with a performance of aic = -108.632563689174
Iteration 25 ended with a performance of aic = -99.3453227014652
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