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 = -130.167375585736
Iteration 3 ended with a performance of aic = -120.827862099115
Iteration 4 ended with a performance of aic = -118.72099914067
Iteration 5 ended with a performance of aic = -121.628665797279
Iteration 6 ended with a performance of aic = -124.271631311454
Iteration 7 ended with a performance of aic = -130.388507039372
Iteration 8 ended with a performance of aic = -122.276349565737
Iteration 9 ended with a performance of aic = -111.197418815208
Iteration 10 ended with a performance of aic = -120.284335934436
Iteration 11 ended with a performance of aic = -123.218662121772
Iteration 12 ended with a performance of aic = -136.848216745458
Iteration 13 ended with a performance of aic = -132.774088717539
Iteration 14 ended with a performance of aic = -120.631896952615
Iteration 15 ended with a performance of aic = -126.732205996121
Iteration 16 ended with a performance of aic = -117.626004416217
Iteration 17 ended with a performance of aic = -121.199273151167
Iteration 18 ended with a performance of aic = -131.432196585007
Iteration 19 ended with a performance of aic = -133.820739657377
Iteration 20 ended with a performance of aic = -125.637376352272
Iteration 21 ended with a performance of aic = -131.114178574348
Iteration 22 ended with a performance of aic = -130.523563387949
Iteration 23 ended with a performance of aic = -133.058007502439
Iteration 24 ended with a performance of aic = -127.695593824047
Iteration 25 ended with a performance of aic = -128.945232094472
Iteration 26 ended with a performance of aic = -137.976025775781
Iteration 27 ended with a performance of aic = -131.408545159619
Iteration 28 ended with a performance of aic = -138.902306512418
Iteration 29 ended with a performance of aic = -127.450592698608
Iteration 30 ended with a performance of aic = -127.38599075329
Iteration 31 ended with a performance of aic = -125.242706753039
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