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 = -141.934423985259
Iteration 3 ended with a performance of aic = -114.731799810685
Iteration 4 ended with a performance of aic = -110.277265746848
Iteration 5 ended with a performance of aic = -134.054333219296
Iteration 6 ended with a performance of aic = -146.275632170682
Iteration 7 ended with a performance of aic = -123.619287405501
Iteration 8 ended with a performance of aic = -127.740432869616
Iteration 9 ended with a performance of aic = -129.517717098849
Iteration 10 ended with a performance of aic = -123.479979577719
Iteration 11 ended with a performance of aic = -133.947031856206
Iteration 12 ended with a performance of aic = -119.781893398619
Iteration 13 ended with a performance of aic = -78.7265971214756
Iteration 14 ended with a performance of aic = -102.879626069906
Iteration 15 ended with a performance of aic = -103.541157954516
Iteration 16 ended with a performance of aic = -125.993563894527
Iteration 17 ended with a performance of aic = -102.348257146983
Iteration 18 ended with a performance of aic = -116.42175690942
Iteration 19 ended with a performance of aic = -121.573171142027
Iteration 20 ended with a performance of aic = -115.583600550068
Iteration 21 ended with a performance of aic = -135.815450715977
Iteration 22 ended with a performance of aic = -99.3959456489619
Iteration 23 ended with a performance of aic = -115.601746123251
Iteration 24 ended with a performance of aic = -110.995212627351
Iteration 25 ended with a performance of aic = -115.764641406198
Iteration 26 ended with a performance of aic = -112.228089556237
Iteration 27 ended with a performance of aic = -109.976869943859
Iteration 28 ended with a performance of aic = -111.881665759665
Iteration 29 ended with a performance of aic = -120.997247693935
Iteration 30 ended with a performance of aic = -119.786612997171
Iteration 31 ended with a performance of aic = -110.932715293907
Iteration 32 ended with a performance of aic = -109.232650800411
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