Error in re-building vignettes:
  ...
Warning in block_exec(params) :
  failed to tidy R code in chunk <unnamed-chunk-1>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Warning in block_exec(params) :
  failed to tidy R code in chunk <loading.data>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Warning in block_exec(params) :
  failed to tidy R code in chunk <console.output>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Warning in block_exec(params) :
  failed to tidy R code in chunk <unnamed-chunk-2>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Warning in block_exec(params) :
  failed to tidy R code in chunk <unnamed-chunk-3>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Warning in block_exec(params) :
  failed to tidy R code in chunk <unnamed-chunk-4>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Warning in block_exec(params) :
  failed to tidy R code in chunk <unnamed-chunk-5>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Warning in block_exec(params) :
  failed to tidy R code in chunk <unnamed-chunk-6>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Warning in block_exec(params) :
  failed to tidy R code in chunk <labelTranslations>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Warning in block_exec(params) :
  failed to tidy R code in chunk <sparse>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Warning in block_exec(params) :
  failed to tidy R code in chunk <na.options>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Warning in block_exec(params) :
  failed to tidy R code in chunk <freq.counts>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Warning in block_exec(params) :
  failed to tidy R code in chunk <changelabs>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Warning in block_exec(params) :
  failed to tidy R code in chunk <unnamed-chunk-7>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Warning in block_exec(params) :
  failed to tidy R code in chunk <xtable.setup>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Warning in block_exec(params) :
  failed to tidy R code in chunk <printxtable>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Warning in block_exec(params) :
  failed to tidy R code in chunk <unnamed-chunk-8>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Warning in block_exec(params) :
  failed to tidy R code in chunk <unnamed-chunk-9>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Warning in block_exec(params) :
  failed to tidy R code in chunk <unnamed-chunk-10>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Warning in block_exec(params) :
  failed to tidy R code in chunk <unnamed-chunk-11>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

Loading required package: knitr
Loading required package: broom
Loading required package: gam
Loading required package: splines
Loading required package: foreach
Loaded gam 1.16

Loading required package: MASS
Loading required package: pROC
Type 'citation("pROC")' for a citation.

Attaching package: 'pROC'

The following objects are masked from 'package:stats':

    cov, smooth, var

Loading required package: rpart
Quitting from lines 219-224 (modelsum.Rmd) 
Error: processing vignette 'modelsum.Rmd' failed with diagnostics:
subscript out of bounds
Execution halted