Error in re-building vignettes:
  ...
Loading required package: xts
Loading required package: zoo

Attaching package: 'zoo'

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

    as.Date, as.Date.numeric

Registered S3 method overwritten by 'xts':
  method     from
  as.zoo.xts zoo 
Loading required package: TTR
Registered S3 method overwritten by 'quantmod':
  method            from
  as.zoo.data.frame zoo 
Version 0.4-0 included new data defaults. See ?getSymbols.
Warning in block_exec(params) :
  failed to tidy R code in chunk <babysteps>
reason: Error in loadNamespace(name) : there is no package called 'formatR'


Attaching package: 'SharpeR'

The following object is masked from 'package:quantmod':

    summary

The following object is masked from 'package:base':

    summary

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Quitting from lines 2495-2537 (SharpeRatio.Rnw) 
Error: processing vignette ‘SharpeRatio.Rnw’ failed with diagnostics:
$ operator is invalid for atomic vectors
Execution halted