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 = -135.843559207943
Iteration 3 ended with a performance of aic = -92.2624025187763
Iteration 4 ended with a performance of aic = -118.014208818961
Iteration 5 ended with a performance of aic = -112.889051867335
Iteration 6 ended with a performance of aic = -126.241396120829
Iteration 7 ended with a performance of aic = -125.717150097613
Iteration 8 ended with a performance of aic = -131.427916171117
Iteration 9 ended with a performance of aic = -138.628797075092
Iteration 10 ended with a performance of aic = -134.179172476016
Iteration 11 ended with a performance of aic = -132.569295272526
Iteration 12 ended with a performance of aic = -124.380285655789
Iteration 13 ended with a performance of aic = -118.052779963092
Iteration 14 ended with a performance of aic = -120.957830660741
Iteration 15 ended with a performance of aic = -124.957017133644
Iteration 16 ended with a performance of aic = -122.820345958981
Iteration 17 ended with a performance of aic = -118.247416696202
Iteration 18 ended with a performance of aic = -120.762438552087
Iteration 19 ended with a performance of aic = -128.547550507415
Iteration 20 ended with a performance of aic = -122.879383443644
Iteration 21 ended with a performance of aic = -132.626252547492
Iteration 22 ended with a performance of aic = -125.471555286137
Iteration 23 ended with a performance of aic = -139.146236414077
Iteration 24 ended with a performance of aic = -139.814680463583
Iteration 25 ended with a performance of aic = -137.510904792817
Iteration 26 ended with a performance of aic = -131.430933779808
Iteration 27 ended with a performance of aic = -136.836065829735
Iteration 28 ended with a performance of aic = -127.442770400877
Iteration 29 ended with a performance of aic = -140.857489447647
Iteration 30 ended with a performance of aic = -136.823674679201
Iteration 31 ended with a performance of aic = -134.606167684462
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