Error(s) in re-building vignettes:
  ...
--- re-building ‘glmdisc.Rmd’ using rmarkdown
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
Iteration 1 ended with a performance of aic = -Inf
Iteration 2 ended with a performance of aic = -136.20706107463
Iteration 3 ended with a performance of aic = -128.429869124342
Iteration 4 ended with a performance of aic = -126.843912328244
Iteration 5 ended with a performance of aic = -124.562788368071
Iteration 6 ended with a performance of aic = -128.44852873422
Iteration 7 ended with a performance of aic = -137.155497994243
Iteration 8 ended with a performance of aic = -129.675355253316
Iteration 9 ended with a performance of aic = -125.44709272845
Iteration 10 ended with a performance of aic = -131.570861323155
Iteration 11 ended with a performance of aic = -129.951719609068
Iteration 12 ended with a performance of aic = -128.453073782481
Iteration 13 ended with a performance of aic = -137.186508999923
Iteration 14 ended with a performance of aic = -135.248765816315
Iteration 15 ended with a performance of aic = -136.069152183236
Iteration 16 ended with a performance of aic = -138.613163695093
Iteration 17 ended with a performance of aic = -141.808052104941
Iteration 18 ended with a performance of aic = -137.152200344449
Iteration 19 ended with a performance of aic = -133.808104371097
Iteration 20 ended with a performance of aic = -124.325047386694
Iteration 21 ended with a performance of aic = -127.129409879288
Iteration 22 ended with a performance of aic = -128.832239551866
Iteration 23 ended with a performance of aic = -135.111625011105
Iteration 24 ended with a performance of aic = -129.724493354722
Iteration 25 ended with a performance of aic = -123.663667901229
Iteration 26 ended with a performance of aic = -119.517955981752
Iteration 27 ended with a performance of aic = -128.453906557918
Iteration 28 ended with a performance of aic = -130.354340732107
Quitting from lines 298-301 (glmdisc.Rmd) 
Error: processing vignette 'glmdisc.Rmd' failed with diagnostics:
subscript out of bounds
--- failed re-building ‘glmdisc.Rmd’

SUMMARY: processing the following file failed:
  ‘glmdisc.Rmd’

Error: Vignette re-building failed.
Execution halted