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 = -117.276155182287
Iteration 3 ended with a performance of aic = -136.807605107569
Iteration 4 ended with a performance of aic = -135.334489472634
Iteration 5 ended with a performance of aic = -129.607656339854
Iteration 6 ended with a performance of aic = -135.531732065236
Iteration 7 ended with a performance of aic = -102.945462531307
Iteration 8 ended with a performance of aic = -112.500423668724
Iteration 9 ended with a performance of aic = -135.387984146051
Iteration 10 ended with a performance of aic = -126.632116067945
Iteration 11 ended with a performance of aic = -109.241643372927
Iteration 12 ended with a performance of aic = -124.431249924096
Iteration 13 ended with a performance of aic = -119.43535626869
Iteration 14 ended with a performance of aic = -119.570003485284
Iteration 15 ended with a performance of aic = -113.042731906606
Iteration 16 ended with a performance of aic = -115.911371075808
Iteration 17 ended with a performance of aic = -103.624182045878
Iteration 18 ended with a performance of aic = -98.6838027367406
Iteration 19 ended with a performance of aic = -118.703352901964
Iteration 20 ended with a performance of aic = -112.757282743927
Iteration 21 ended with a performance of aic = -123.035428429034
Iteration 22 ended with a performance of aic = -138.947131835482
Iteration 23 ended with a performance of aic = -141.891238946085
Iteration 24 ended with a performance of aic = -138.137843854748
Iteration 25 ended with a performance of aic = -132.637450720318
Iteration 26 ended with a performance of aic = -138.830633924858
Iteration 27 ended with a performance of aic = -126.378334105587
Iteration 28 ended with a performance of aic = -135.393104268347
Iteration 29 ended with a performance of aic = -124.087113526609
Iteration 30 ended with a performance of aic = -139.143364065714
Iteration 31 ended with a performance of aic = -131.894161460079
Iteration 32 ended with a performance of aic = -137.221081496826
Iteration 33 ended with a performance of aic = -145.198777281201
Iteration 34 ended with a performance of aic = -141.107353111181
Iteration 35 ended with a performance of aic = -143.338687973117
Iteration 36 ended with a performance of aic = -136.858219993677
Iteration 37 ended with a performance of aic = -127.10926432973
Iteration 38 ended with a performance of aic = -129.093333107982
Iteration 39 ended with a performance of aic = -123.56472827522
Iteration 40 ended with a performance of aic = -122.613864274536
Iteration 41 ended with a performance of aic = -112.968615729932
Iteration 42 ended with a performance of aic = -114.004548052953
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