Error in re-building vignettes:
  ...
Loading required package: data.table
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 <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 <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-11>
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-13>
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-15>
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-16>
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-17>
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-19>
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-20>
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-22>
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-23>
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-24>
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-26>
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-27>
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-28>
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-30>
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-31>
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-32>
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-33>
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-34>
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-35>
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-36>
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-37>
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-38>
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-39>
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-40>
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-41>
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-42>
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-43>
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-44>
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-45>
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-46>
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-47>
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-48>
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-49>
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-50>
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-52>
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-54>
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-55>
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-56>
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-57>
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-58>
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-59>
reason: Error in loadNamespace(name) : there is no package called 'formatR'

`geom_smooth()` using method = 'gam'
Quitting from lines 1108-1113 (simstudy.Rmd) 
Error: processing vignette 'simstudy.Rmd' failed with diagnostics:
there is no package called 'mgcv'
Execution halted