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 = -149.292400983136
Iteration 3 ended with a performance of aic = -146.013168905972
Iteration 4 ended with a performance of aic = -142.295508425187
Iteration 5 ended with a performance of aic = -140.919397154651
Iteration 6 ended with a performance of aic = -144.371748554108
Iteration 7 ended with a performance of aic = -146.285484852813
Iteration 8 ended with a performance of aic = -136.59267638013
Iteration 9 ended with a performance of aic = -139.804855412986
Iteration 10 ended with a performance of aic = -143.970359007861
Iteration 11 ended with a performance of aic = -143.017486199825
Iteration 12 ended with a performance of aic = -138.833673044939
Iteration 13 ended with a performance of aic = -132.18158098456
Iteration 14 ended with a performance of aic = -141.549850761826
Iteration 15 ended with a performance of aic = -129.503236148658
Iteration 16 ended with a performance of aic = -134.458530654506
Iteration 17 ended with a performance of aic = -130.224427241496
Iteration 18 ended with a performance of aic = -126.311051524396
Iteration 19 ended with a performance of aic = -130.800158423918
Iteration 20 ended with a performance of aic = -130.517760240985
Iteration 21 ended with a performance of aic = -137.999586829443
Iteration 22 ended with a performance of aic = -138.62764997728
Iteration 23 ended with a performance of aic = -140.000751867067
Iteration 24 ended with a performance of aic = -129.232651267407
Iteration 25 ended with a performance of aic = -123.818798318879
Iteration 26 ended with a performance of aic = -125.27083645094
Iteration 27 ended with a performance of aic = -115.699955151227
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