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 = -135.911063706136
Iteration 3 ended with a performance of aic = -129.393644979311
Iteration 4 ended with a performance of aic = -135.943905081786
Iteration 5 ended with a performance of aic = -137.03942506166
Iteration 6 ended with a performance of aic = -127.678883779936
Iteration 7 ended with a performance of aic = -124.603448588835
Iteration 8 ended with a performance of aic = -130.719516443221
Iteration 9 ended with a performance of aic = -122.015331862237
Iteration 10 ended with a performance of aic = -133.431053472354
Iteration 11 ended with a performance of aic = -135.50994528569
Iteration 12 ended with a performance of aic = -132.822638145193
Iteration 13 ended with a performance of aic = -130.728785650361
Iteration 14 ended with a performance of aic = -137.294694122262
Iteration 15 ended with a performance of aic = -128.127644606278
Iteration 16 ended with a performance of aic = -124.087517123197
Iteration 17 ended with a performance of aic = -116.082864374053
Iteration 18 ended with a performance of aic = -139.115793039812
Iteration 19 ended with a performance of aic = -134.137705597081
Iteration 20 ended with a performance of aic = -139.151214888485
Iteration 21 ended with a performance of aic = -121.88745068683
Iteration 22 ended with a performance of aic = -132.445354157423
Iteration 23 ended with a performance of aic = -137.959467258798
Iteration 24 ended with a performance of aic = -140.307768281683
Iteration 25 ended with a performance of aic = -142.287317632121
Iteration 26 ended with a performance of aic = -139.502968726328
Iteration 27 ended with a performance of aic = -134.066669409964
Iteration 28 ended with a performance of aic = -139.973811812385
Iteration 29 ended with a performance of aic = -139.86322712987
Iteration 30 ended with a performance of aic = -140.59660844351
Iteration 31 ended with a performance of aic = -139.467490423087
Iteration 32 ended with a performance of aic = -137.787432963351
Iteration 33 ended with a performance of aic = -133.789924052814
Iteration 34 ended with a performance of aic = -130.569322829063
Iteration 35 ended with a performance of aic = -134.000533376997
Iteration 36 ended with a performance of aic = -139.292456878039
Iteration 37 ended with a performance of aic = -140.72427969448
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