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 = -131.131523937381
Iteration 3 ended with a performance of aic = -115.759807280335
Iteration 4 ended with a performance of aic = -116.754364005558
Iteration 5 ended with a performance of aic = -106.873873436782
Iteration 6 ended with a performance of aic = -127.512780283323
Iteration 7 ended with a performance of aic = -125.726831797176
Iteration 8 ended with a performance of aic = -115.587340999133
Iteration 9 ended with a performance of aic = -117.268546741418
Iteration 10 ended with a performance of aic = -122.527737644026
Iteration 11 ended with a performance of aic = -121.728749170145
Iteration 12 ended with a performance of aic = -138.240651068067
Iteration 13 ended with a performance of aic = -128.544813521861
Iteration 14 ended with a performance of aic = -127.310255802933
Iteration 15 ended with a performance of aic = -123.581232248182
Iteration 16 ended with a performance of aic = -124.285103957915
Iteration 17 ended with a performance of aic = -120.016141497151
Iteration 18 ended with a performance of aic = -124.702843781511
Iteration 19 ended with a performance of aic = -127.626425007761
Iteration 20 ended with a performance of aic = -132.260367434686
Iteration 21 ended with a performance of aic = -122.366311645747
Iteration 22 ended with a performance of aic = -123.209320190757
Iteration 23 ended with a performance of aic = -129.310684623689
Iteration 24 ended with a performance of aic = -122.402077167452
Iteration 25 ended with a performance of aic = -130.862360750844
Iteration 26 ended with a performance of aic = -123.901276734827
Iteration 27 ended with a performance of aic = -129.815482510322
Iteration 28 ended with a performance of aic = -125.341162997028
Iteration 29 ended with a performance of aic = -125.202374122412
Iteration 30 ended with a performance of aic = -122.446089955078
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