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 = -114.498368724402
Iteration 3 ended with a performance of aic = -119.808597270977
Iteration 4 ended with a performance of aic = -131.566198447411
Iteration 5 ended with a performance of aic = -125.109858498235
Iteration 6 ended with a performance of aic = -125.29857719931
Iteration 7 ended with a performance of aic = -128.433789445958
Iteration 8 ended with a performance of aic = -133.639985472192
Iteration 9 ended with a performance of aic = -139.981749611066
Iteration 10 ended with a performance of aic = -132.377227739647
Iteration 11 ended with a performance of aic = -131.859433826592
Iteration 12 ended with a performance of aic = -123.877522197018
Iteration 13 ended with a performance of aic = -134.222683195689
Iteration 14 ended with a performance of aic = -132.886548244969
Iteration 15 ended with a performance of aic = -133.517442066507
Iteration 16 ended with a performance of aic = -130.348819946989
Iteration 17 ended with a performance of aic = -130.011951258611
Iteration 18 ended with a performance of aic = -131.412358602466
Iteration 19 ended with a performance of aic = -133.578490383714
Iteration 20 ended with a performance of aic = -139.232590570824
Iteration 21 ended with a performance of aic = -134.444054681021
Iteration 22 ended with a performance of aic = -137.471238224955
Iteration 23 ended with a performance of aic = -137.935397334075
Iteration 24 ended with a performance of aic = -126.845158743327
Iteration 25 ended with a performance of aic = -132.326447992355
Iteration 26 ended with a performance of aic = -126.162392215627
Iteration 27 ended with a performance of aic = -124.661808660695
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