Running ‘testthat.R’ [56s/70s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > ### to also run skip_on_cran() tests, uncomment:
  > #Sys.setenv(NOT_CRAN="true")
  > 
  > library(testthat)
  > library(metafor)
  Loading required package: Matrix
  Loading 'metafor' package (version 1.9-9). For an overview 
  and introduction to the package please type: help(metafor).
  > test_check("metafor")
  1. Error: results are correct for the CLASP example. (@test_analysis_example_dersimonian2007.r#19) 
  Error in iterative search for tau2. Try increasing 'tau2.max' or switch to another 'method'.
  1: rma(yi, vi, method = "PM", data = dat) at testthat/test_analysis_example_dersimonian2007.r:19
  2: stop("Error in iterative search for tau2. Try increasing 'tau2.max' or switch to another 'method'.")
  
  2. Error: confint() gives correct results for example 1 in Jackson et al. (2014). (@test_analysis_example_jackson2014.r#36) 
  Error in iterative search for tau2. Try increasing 'tau2.max' or switch to another 'method'.
  1: rma(yi, vi, mods = ~xi, method = "PM", digits = 3) at testthat/test_analysis_example_jackson2014.r:36
  2: stop("Error in iterative search for tau2. Try increasing 'tau2.max' or switch to another 'method'.")
  
  3. Error: confint() gives correct results for example 2 in Jackson et al. (2014). (@test_analysis_example_jackson2014.r#76) 
  Error in iterative search for tau2. Try increasing 'tau2.max' or switch to another 'method'.
  1: rma(yi, vi, mods = ~xi, method = "PM", digits = 3) at testthat/test_analysis_example_jackson2014.r:76
  2: stop("Error in iterative search for tau2. Try increasing 'tau2.max' or switch to another 'method'.")
  
  testthat results ================================================================
  OK: 777 SKIPPED: 30 FAILED: 3
  1. Error: results are correct for the CLASP example. (@test_analysis_example_dersimonian2007.r#19) 
  2. Error: confint() gives correct results for example 1 in Jackson et al. (2014). (@test_analysis_example_jackson2014.r#36) 
  3. Error: confint() gives correct results for example 2 in Jackson et al. (2014). (@test_analysis_example_jackson2014.r#76) 
  
  Error: testthat unit tests failed
  Execution halted