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 = -127.700499468332
Iteration 3 ended with a performance of aic = -131.593658668271
Iteration 4 ended with a performance of aic = -139.212019787766
Iteration 5 ended with a performance of aic = -138.899795706209
Iteration 6 ended with a performance of aic = -121.493426855187
Iteration 7 ended with a performance of aic = -129.354288933561
Iteration 8 ended with a performance of aic = -129.492804821248
Iteration 9 ended with a performance of aic = -139.875402419633
Iteration 10 ended with a performance of aic = -138.94200888111
Iteration 11 ended with a performance of aic = -138.816994071778
Iteration 12 ended with a performance of aic = -135.268222730144
Iteration 13 ended with a performance of aic = -133.584129835935
Iteration 14 ended with a performance of aic = -133.554874041477
Iteration 15 ended with a performance of aic = -137.080019954172
Iteration 16 ended with a performance of aic = -129.952188933162
Iteration 17 ended with a performance of aic = -129.075087739728
Iteration 18 ended with a performance of aic = -129.703224138229
Iteration 19 ended with a performance of aic = -131.933651384459
Iteration 20 ended with a performance of aic = -132.401551614271
Iteration 21 ended with a performance of aic = -138.725996043987
Iteration 22 ended with a performance of aic = -140.674812677508
Iteration 23 ended with a performance of aic = -142.372332655166
Iteration 24 ended with a performance of aic = -136.533051592597
Iteration 25 ended with a performance of aic = -133.529765229736
Iteration 26 ended with a performance of aic = -143.689018946605
Iteration 27 ended with a performance of aic = -135.626117569004
Iteration 28 ended with a performance of aic = -133.942958205054
Iteration 29 ended with a performance of aic = -135.207794916346
Iteration 30 ended with a performance of aic = -134.794863019027
Iteration 31 ended with a performance of aic = -143.855409270503
Iteration 32 ended with a performance of aic = -140.94715742205
Iteration 33 ended with a performance of aic = -138.970933535602
Iteration 34 ended with a performance of aic = -141.920324699696
Iteration 35 ended with a performance of aic = -140.92424371672
Iteration 36 ended with a performance of aic = -145.773114234648
Iteration 37 ended with a performance of aic = -139.168541188092
Iteration 38 ended with a performance of aic = -147.249001287813
Iteration 39 ended with a performance of aic = -149.916307175335
Iteration 40 ended with a performance of aic = -138.111915795963
Iteration 41 ended with a performance of aic = -132.469713596882
Iteration 42 ended with a performance of aic = -147.51172089005
Iteration 43 ended with a performance of aic = -132.501081692295
Iteration 44 ended with a performance of aic = -141.459627482251
Iteration 45 ended with a performance of aic = -142.805898773288
Iteration 46 ended with a performance of aic = -144.260037136598
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