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 = -120.031018012699
Iteration 3 ended with a performance of aic = -129.285028723075
Iteration 4 ended with a performance of aic = -123.05945433038
Iteration 5 ended with a performance of aic = -107.351130904205
Iteration 6 ended with a performance of aic = -111.499221950861
Iteration 7 ended with a performance of aic = -129.908864010214
Iteration 8 ended with a performance of aic = -125.885470926329
Iteration 9 ended with a performance of aic = -117.664947768448
Iteration 10 ended with a performance of aic = -120.377185191238
Iteration 11 ended with a performance of aic = -113.169872594036
Iteration 12 ended with a performance of aic = -116.317349878032
Iteration 13 ended with a performance of aic = -104.82418043881
Iteration 14 ended with a performance of aic = -121.562769084718
Iteration 15 ended with a performance of aic = -109.364696117207
Iteration 16 ended with a performance of aic = -123.558676344933
Iteration 17 ended with a performance of aic = -109.15945993004
Iteration 18 ended with a performance of aic = -120.944177778011
Iteration 19 ended with a performance of aic = -115.339451529342
Iteration 20 ended with a performance of aic = -118.854081521459
Iteration 21 ended with a performance of aic = -114.84592847757
Iteration 22 ended with a performance of aic = -108.221965298756
Iteration 23 ended with a performance of aic = -133.086146573089
Iteration 24 ended with a performance of aic = -138.447086212123
Iteration 25 ended with a performance of aic = -135.472590550224
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