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 = -123.072437777932
Iteration 3 ended with a performance of aic = -132.45676493939
Iteration 4 ended with a performance of aic = -132.767162772906
Iteration 5 ended with a performance of aic = -135.919198551404
Iteration 6 ended with a performance of aic = -139.838025200718
Iteration 7 ended with a performance of aic = -119.726715202097
Iteration 8 ended with a performance of aic = -119.260131285967
Iteration 9 ended with a performance of aic = -130.669294114229
Iteration 10 ended with a performance of aic = -119.776144756121
Iteration 11 ended with a performance of aic = -136.53776172188
Iteration 12 ended with a performance of aic = -112.203914886305
Iteration 13 ended with a performance of aic = -121.416253804382
Iteration 14 ended with a performance of aic = -124.787021411104
Iteration 15 ended with a performance of aic = -108.318702706453
Iteration 16 ended with a performance of aic = -108.479451322532
Iteration 17 ended with a performance of aic = -111.400078930651
Iteration 18 ended with a performance of aic = -106.688033731286
Iteration 19 ended with a performance of aic = -107.878572203234
Iteration 20 ended with a performance of aic = -108.87822755732
Iteration 21 ended with a performance of aic = -106.015989354421
Iteration 22 ended with a performance of aic = -105.342043642365
Iteration 23 ended with a performance of aic = -92.3280425286538
Iteration 24 ended with a performance of aic = -94.1131009796636
Iteration 25 ended with a performance of aic = -97.2648039200694
Iteration 26 ended with a performance of aic = -104.163598905393
Iteration 27 ended with a performance of aic = -100.876202259425
Iteration 28 ended with a performance of aic = -101.151878533813
Iteration 29 ended with a performance of aic = -103.457251482058
Iteration 30 ended with a performance of aic = -99.2761969337527
Iteration 31 ended with a performance of aic = -102.957203360333
Iteration 32 ended with a performance of aic = -103.467137385045
Iteration 33 ended with a performance of aic = -116.357256412453
Iteration 34 ended with a performance of aic = -107.882172944985
Iteration 35 ended with a performance of aic = -105.971594854119
Iteration 36 ended with a performance of aic = -110.14822272298
Iteration 37 ended with a performance of aic = -116.575671328879
Iteration 38 ended with a performance of aic = -126.181371050097
Iteration 39 ended with a performance of aic = -121.031496371286
Iteration 40 ended with a performance of aic = -112.013249668905
Iteration 41 ended with a performance of aic = -120.107574069298
Iteration 42 ended with a performance of aic = -129.560101259358
Iteration 43 ended with a performance of aic = -121.456925506311
Iteration 44 ended with a performance of aic = -131.170529073218
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