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 = -132.264793254776
Iteration 3 ended with a performance of aic = -136.930683078427
Iteration 4 ended with a performance of aic = -144.397076245507
Iteration 5 ended with a performance of aic = -121.096445141059
Iteration 6 ended with a performance of aic = -122.102879579666
Iteration 7 ended with a performance of aic = -125.695834724806
Iteration 8 ended with a performance of aic = -140.175897971207
Iteration 9 ended with a performance of aic = -141.4228271743
Iteration 10 ended with a performance of aic = -135.146050554265
Iteration 11 ended with a performance of aic = -139.078876118918
Iteration 12 ended with a performance of aic = -126.6936922923
Iteration 13 ended with a performance of aic = -133.584207500476
Iteration 14 ended with a performance of aic = -126.935739605782
Iteration 15 ended with a performance of aic = -125.380769286501
Iteration 16 ended with a performance of aic = -130.547404037407
Iteration 17 ended with a performance of aic = -133.278463402007
Iteration 18 ended with a performance of aic = -129.291172306607
Iteration 19 ended with a performance of aic = -118.329571715974
Iteration 20 ended with a performance of aic = -139.128158995741
Iteration 21 ended with a performance of aic = -143.637529204375
Iteration 22 ended with a performance of aic = -146.412033416034
Iteration 23 ended with a performance of aic = -137.06566270822
Iteration 24 ended with a performance of aic = -131.023492253194
Iteration 25 ended with a performance of aic = -122.621492417641
Iteration 26 ended with a performance of aic = -125.403580550509
Iteration 27 ended with a performance of aic = -124.830899029751
Iteration 28 ended with a performance of aic = -115.425631275281
Iteration 29 ended with a performance of aic = -116.479136179911
Iteration 30 ended with a performance of aic = -121.970991252509
Iteration 31 ended with a performance of aic = -125.64463759072
Iteration 32 ended with a performance of aic = -125.861514793813
Iteration 33 ended with a performance of aic = -126.659959017911
Iteration 34 ended with a performance of aic = -124.313691088474
Iteration 35 ended with a performance of aic = -125.267547048635
Iteration 36 ended with a performance of aic = -121.152471582732
Iteration 37 ended with a performance of aic = -111.67527971776
Iteration 38 ended with a performance of aic = -125.561267236988
Iteration 39 ended with a performance of aic = -119.631614407386
Iteration 40 ended with a performance of aic = -123.033134771129
Iteration 41 ended with a performance of aic = -127.809160234506
Iteration 42 ended with a performance of aic = -119.479460158457
Iteration 43 ended with a performance of aic = -122.088570488387
Iteration 44 ended with a performance of aic = -136.573817999606
Iteration 45 ended with a performance of aic = -139.415937801773
Iteration 46 ended with a performance of aic = -143.322769856961
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