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 = -137.130964397099
Iteration 3 ended with a performance of aic = -132.888597412747
Iteration 4 ended with a performance of aic = -132.897017334073
Iteration 5 ended with a performance of aic = -136.159710969598
Iteration 6 ended with a performance of aic = -141.566568128762
Iteration 7 ended with a performance of aic = -131.756326547194
Iteration 8 ended with a performance of aic = -129.353666699483
Iteration 9 ended with a performance of aic = -134.00496801461
Iteration 10 ended with a performance of aic = -131.308613857387
Iteration 11 ended with a performance of aic = -131.028096224206
Iteration 12 ended with a performance of aic = -125.872949881338
Iteration 13 ended with a performance of aic = -131.312187964619
Iteration 14 ended with a performance of aic = -130.290619547876
Iteration 15 ended with a performance of aic = -136.115131274045
Iteration 16 ended with a performance of aic = -138.77521393571
Iteration 17 ended with a performance of aic = -138.241731744889
Iteration 18 ended with a performance of aic = -140.737037491426
Iteration 19 ended with a performance of aic = -142.605169157181
Iteration 20 ended with a performance of aic = -134.954315742297
Iteration 21 ended with a performance of aic = -135.890789236735
Iteration 22 ended with a performance of aic = -136.482836981065
Iteration 23 ended with a performance of aic = -130.619452646839
Iteration 24 ended with a performance of aic = -138.085260093006
Iteration 25 ended with a performance of aic = -138.914536886128
Iteration 26 ended with a performance of aic = -144.536793030875
Iteration 27 ended with a performance of aic = -146.386270332933
Iteration 28 ended with a performance of aic = -141.684514572372
Iteration 29 ended with a performance of aic = -141.714459250321
Iteration 30 ended with a performance of aic = -142.368466900989
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