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 = -125.494074832595
Iteration 3 ended with a performance of aic = -129.935572141103
Iteration 4 ended with a performance of aic = -121.9348900516
Iteration 5 ended with a performance of aic = -128.899299995098
Iteration 6 ended with a performance of aic = -134.089582338855
Iteration 7 ended with a performance of aic = -115.100816724107
Iteration 8 ended with a performance of aic = -126.313100747114
Iteration 9 ended with a performance of aic = -128.489871844555
Iteration 10 ended with a performance of aic = -118.194378415242
Iteration 11 ended with a performance of aic = -126.762529576924
Iteration 12 ended with a performance of aic = -114.495870392835
Iteration 13 ended with a performance of aic = -114.519745126095
Iteration 14 ended with a performance of aic = -103.016625659024
Iteration 15 ended with a performance of aic = -100.711632550411
Iteration 16 ended with a performance of aic = -100.223052168258
Iteration 17 ended with a performance of aic = -117.180284286453
Iteration 18 ended with a performance of aic = -136.118696865196
Iteration 19 ended with a performance of aic = -114.521310662789
Iteration 20 ended with a performance of aic = -120.00493620113
Iteration 21 ended with a performance of aic = -115.325696065664
Iteration 22 ended with a performance of aic = -118.312358444639
Iteration 23 ended with a performance of aic = -120.209122628664
Iteration 24 ended with a performance of aic = -118.549943253494
Iteration 25 ended with a performance of aic = -124.294730319565
Iteration 26 ended with a performance of aic = -115.700374078454
Iteration 27 ended with a performance of aic = -129.1608990698
Iteration 28 ended with a performance of aic = -125.662475336762
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