Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [374s/438s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(metaumbrella)
  > 
  > test_check("metaumbrella")
  Analyzing factor: A 
  Analyzing factor: A 
  Analyzing factor: Pharmacological 
  Analyzing factor: Pharmacological 
  Analyzing factor: Pharmacological 
  Analyzing factor: Physically_active 
  Analyzing factor: Physically_active 
  Analyzing factor: Physically_active 
  The pre/post correlation was calculated using values indicated in studies: Ray (2014) / Livingston (2010) / Israel (2014) / Sosa (2018) / Haulman (2015) / Esquibel (2007) / Ledoux (1982) / Bell (1989) / Canchola (2008) / Gonzalez (2003) / Boucneau (2000)
  Analyzing factor: gestational_diabetes 
  Analyzing factor: gestational_diabetes 
  Analyzing factor: ASD 
  Analyzing factor: ASD 
  Analyzing factor: ASD 
  Analyzing factor: SSRI 
  Analyzing factor: SSRI 
  Analyzing factor: Smoking 
  Analyzing factor: Smoking 
  Analyzing factor: Smoking 
  Analyzing factor: Smoking 
  Analyzing factor: Gestational_hypertension 
  Analyzing factor: Gestational_hypertension 
  Analyzing factor: Pharmacological 
  Analyzing factor: Pharmacological 
  Analyzing factor: Surgical 
  Analyzing factor: ADHD 
  Analyzing factor: ASD 
  Analyzing factor: dyslexia 
  Analyzing factor: ID 
  Analyzing factor: Yoga 
  Analyzing factor: Aerobic training 
  Analyzing factor: Resistance training 
  Analyzing factor: Mindfulness 
  Analyzing factor: Smoking 
  Analyzing factor: SSRI 
  Analyzing factor: Yoga 
  Analyzing factor: Pharmacological 
  Analyzing factor: ADHD 
  Analyzing factor: Pharmacological 
  Analyzing factor: ADHD 
  Analyzing factor: A 
  Analyzing factor: Pharmacological 
  Analyzing factor: Pharmacological 
  Analyzing factor: Weisel 2020 
  In factor 'Weisel 2020': 
  - study: 'Enock (2014)' contains multiple outcomes
  - study: 'Pham (2016)' contains multiple outcomes
  In factor 'Weisel 2020' some studies have multiple outcomes but they are not associated with any within-study correlation (which can be indicated in the 'r' column of the dataset). A value of r = 0.5 is assumed.
  [ FAIL 1 | WARN 0 | SKIP 59 | PASS 612 ]
  
  ══ Skipped tests (59) ══════════════════════════════════════════════════════════
  • On CRAN (59): 'test-esb_test.R:10:5', 'test-esb_test.R:77:5',
    'test-esb_test.R:138:5', 'test-esb_test.R:181:5', 'test-esb_test.R:234:5',
    'test-esb_test.R:247:5', 'test-esb_test.R:299:5', 'test-esb_test.R:354:5',
    'test-estimate_n_from_es.R:10:3', 'test-estimate_n_from_es.R:47:3',
    'test-estimate_n_from_es.R:94:3', 'test-estimate_n_from_es.R:135:3',
    'test-format_dataset.R:12:3', 'test-format_dataset.R:30:3',
    'test-format_dataset.R:53:3', 'test-format_dataset.R:75:3',
    'test-format_dataset.R:101:3', 'test-format_dataset.R:142:3',
    'test-format_dataset.R:176:3', 'test-format_dataset.R:214:3',
    'test-format_dataset.R:254:3', 'test-format_dataset.R:305:3',
    'test-functions_multilevel.R:5:3', 'test-functions_multilevel.R:51:3',
    'test-functions_multilevel.R:86:3', 'test-functions_multilevel.R:119:3',
    'test-functions_multilevel.R:164:3', 'test-umbrella.R:8:3',
    'test-umbrella.R:15:3', 'test-umbrella.R:47:3', 'test-umbrella.R:61:3',
    'test-umbrella.R:82:3', 'test-umbrella.R:96:3', 'test-umbrella.R:124:3',
    'test-umbrella.R:153:3', 'test-umbrella.R:172:3', 'test-umbrella.R:191:3',
    'test-umbrella.R:415:3', 'test-umbrella.R:428:3', 'test-umbrella.R:446:3',
    'test-umbrella.R:461:3', 'test-umbrella.R:477:3', 'test-umbrella.R:491:3',
    'test-umbrella.R:510:3', 'test-umbrella.R:529:3', 'test-umbrella.R:547:3',
    'test-umbrella.R:572:3', 'test-umbrella.R:589:3', 'test-umbrella.R:604:3',
    'test-umbrella.R:624:3', 'test-umbrella.R:641:3', 'test-umbrella.R:658:3',
    'test-umbrella.R:675:3', 'test-umbrella.R:692:3', 'test-umbrella.R:709:3',
    'test-umbrella.R:726:3', 'test-umbrella.R:746:3', 'test-umbrella.R:791:3',
    'test-umbrella.R:836:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-functions_power.R:53:5'): power for OR is correctly estimated ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'epiR'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-functions_power.R:53:5
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 1 | WARN 0 | SKIP 59 | PASS 612 ]
  Error: Test failures
  Execution halted