Running ‘spelling.R’
  Running ‘testthat.R’ [51s/118s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(report)
  > 
  > is_dev_version <- length(strsplit(packageDescription("report")$Version, "\\.")[[1]]) > 3
  > 
  > if (is_dev_version) {
  +   Sys.setenv("RunAllreportTests" = "yes")
  + } else {
  +   Sys.setenv("RunAllreportTests" = "no")
  + }
  > 
  > si <- Sys.info()
  > 
  > osx <- tryCatch(
  +   {
  +     if (!is.null(si["sysname"])) {
  +       si["sysname"] == "Darwin" || grepl("^darwin", R.version$os)
  +     } else {
  +       FALSE
  +     }
  +   },
  +   error = function(e) {
  +     FALSE
  +   }
  + )
  > 
  > solaris <- tryCatch(
  +   {
  +     if (!is.null(si["sysname"])) {
  +       grepl("SunOS", si["sysname"], ignore.case = TRUE)
  +     } else {
  +       FALSE
  +     }
  +   },
  +   error = function(e) {
  +     FALSE
  +   }
  + )
  > 
  > # disable / enable if needed
  > if (.Platform$OS.type == "unix" && is_dev_version) {
  +   Sys.setenv("RunAllreportStanTests" = "yes")
  + } else {
  +   Sys.setenv("RunAllreportStanTests" = "no")
  + }
  > 
  > if (!osx && !solaris) {
  +   test_check("report")
  + }
  Loading required package: lme4
  Loading required package: Matrix
  Loading required package: rstanarm
  Loading required package: Rcpp
  This is rstanarm version 2.21.3
  - See https://mc-stan.org/rstanarm/articles/priors for changes to default priors!
  - Default priors may change, so it's safest to specify priors, even if equivalent to the defaults.
  - For execution on a local, multicore CPU with excess RAM we recommend calling
    options(mc.cores = parallel::detectCores())
  For one-way between subjects designs, partial eta squared is equivalent to eta squared.
  Returning eta squared.
  For one-way between subjects designs, partial eta squared is equivalent to eta squared.
  Returning eta squared.
  For one-way between subjects designs, partial eta squared is equivalent to eta squared.
  Returning eta squared.
  Loading required package: bayestestR
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  Loading required package: ivreg
  Loading required package: lavaan
  This is lavaan 0.6-12
  lavaan is FREE software! Please report any bugs.
  Loading required package: effectsize
  boundary (singular) fit: see help('isSingular')
  Loading required package: survival
  Package 'merDeriv' needs to be installed to compute confidence intervals
    for random effect parameters.
  Package 'merDeriv' needs to be installed to compute confidence intervals
    for random effect parameters.
  Package 'merDeriv' needs to be installed to compute confidence intervals
    for random effect parameters.
  Package 'merDeriv' needs to be installed to compute confidence intervals
    for random effect parameters.
  [ FAIL 17 | WARN 7 | SKIP 11 | PASS 96 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (11)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-report.aov.R:4:3): report.aov ─────────────────────────────────
  c(...) (`actual`) not equal to c(7, 2) (`expected`).
  
    `actual`: 9 2
  `expected`: 7 2
  ── Failure (test-report.aov.R:9:3): report.aov ─────────────────────────────────
  c(...) (`actual`) not equal to c(7, 2) (`expected`).
  
    `actual`: 9 2
  `expected`: 7 2
  ── Failure (test-report.aov.R:13:3): report.aov ────────────────────────────────
  c(...) (`actual`) not equal to c(7, 2) (`expected`).
  
    `actual`: 9 2
  `expected`: 7 2
  ── Failure (test-report.aov.R:22:3): report.aov ────────────────────────────────
  c(...) (`actual`) not equal to c(7, 8) (`expected`).
  
    `actual`: 9 8
  `expected`: 7 8
  ── Failure (test-report.aov.R:27:3): report.aov ────────────────────────────────
  c(...) (`actual`) not equal to c(8, 5) (`expected`).
  
    `actual`: 10 5
  `expected`:  8 5
  ── Failure (test-report.bayesfactor_models.R:15:5): models ─────────────────────
  `print\(r\)` does not match "\\(Intercept only\\) model \\(the least supported model\\)".
  Actual value: "Bayes factors were computed using the BIC approximation, by which BF10 =\\nexp\(\(BIC0 - BIC1\)/2\)\. Compared to the \(Intercept only\) model \(the least\\nsupported model\), we found extreme evidence \(BF = 1\.70e\+29\) in favour of the\\nSpecies model; extreme evidence \(BF = 5\.84e\+55\) in favour of the Species \+\\nPetal\.Length model \(the most supported model\); extreme evidence \(BF = 2\.20e\+54\)\\nin favour of the Species \* Petal\.Length model\."
  Backtrace:
      ▆
   1. └─testthat::expect_output(print(r), "\\(Intercept only\\) model \\(the least supported model\\)") at test-report.bayesfactor_models.R:15:4
   2.   └─testthat::expect_match(...)
   3.     └─testthat:::expect_match_(...)
  ── Failure (test-report.bayesfactor_models.R:16:5): models ─────────────────────
  `print\(r\)` does not match "Species \\+ Petal.Length model \\(the most supported model\\)".
  Actual value: "Bayes factors were computed using the BIC approximation, by which BF10 =\\nexp\(\(BIC0 - BIC1\)/2\)\. Compared to the \(Intercept only\) model \(the least\\nsupported model\), we found extreme evidence \(BF = 1\.70e\+29\) in favour of the\\nSpecies model; extreme evidence \(BF = 5\.84e\+55\) in favour of the Species \+\\nPetal\.Length model \(the most supported model\); extreme evidence \(BF = 2\.20e\+54\)\\nin favour of the Species \* Petal\.Length model\."
  Backtrace:
      ▆
   1. └─testthat::expect_output(print(r), "Species \\+ Petal.Length model \\(the most supported model\\)") at test-report.bayesfactor_models.R:16:4
   2.   └─testthat::expect_match(...)
   3.     └─testthat:::expect_match_(...)
  ── Failure (test-report.bayesfactor_models.R:33:5): inclusion ──────────────────
  `print\(r\)` does not match "subjective prior odds".
  Actual value: "Bayesian model averaging \(BMA\) was used to obtain the average evidence for each\\npredictor\. Since each model has a prior probability \(here we used subjective\\nprior odds of 1, 2, 3\), it is possible to sum the prior probability of all\\nmodels that include a predictor of interest \(the prior inclusion probability\),\\nand of all models that do not include that predictor \(the prior exclusion\\nprobability\)\. After the data are observed, we can similarly consider the sums\\nof the posterior models' probabilities to obtain the posterior inclusion\\nprobability and the posterior exclusion probability\. The change from prior to\\nposterior inclusion odds is the Inclusion Bayes factor\. For each predictor,\\naveraging was done only across models that did not include any interactions\\nwith that predictor; additionally, for each interaction predictor, averaging\\nwas done only across models that contained the main effect from which the\\ninteraction predictor was comprised\. This was done to prevent Inclusion Bayes\\nfactors from being contaminated with non-relevant evidence \(see Mathot, 2017\)\.\\nWe found extreme evidence \(BF = 3\.90e\+55\) in favour of including Species, with\\nmodels including Species having an overall posterior probability of 95%;\\nextreme evidence \(BF = 6\.89e\+26\) in favour of including Petal\.Length, with\\nmodels including Petal\.Length having an overall posterior probability of 95%;\\nstrong evidence \(BF = 1/26\.52\) against including Petal\.Length:Species, with\\nmodels including Petal\.Length:Species having an overall posterior probability\\nof 5%\."
  Backtrace:
      ▆
   1. └─testthat::expect_output(print(r), "subjective prior odds") at test-report.bayesfactor_models.R:33:4
   2.   └─testthat::expect_match(...)
   3.     └─testthat:::expect_match_(...)
  ── Error (test-report.ivreg.R:13:5): report-survreg ────────────────────────────
  `report(ivr)` threw an unexpected error.
  Message: could not find function "data_findcols"
  Class:   simpleError/error/condition
  ── Error (test-report.lm.R:6:3): report.lm - lm ────────────────────────────────
  `report(lm(Sepal.Width ~ Species, data = iris))` threw an unexpected error.
  Message: could not find function "data_findcols"
  Class:   simpleError/error/condition
  ── Error (test-report.lm.R:10:3): report.lm - lm ───────────────────────────────
  `report(lm(wt ~ as.factor(am) * as.factor(cyl), data = mtcars))` threw an unexpected error.
  Message: could not find function "data_findcols"
  Class:   simpleError/error/condition
  ── Error (test-report.lm.R:17:3): report.lm - glm ──────────────────────────────
  `report(glm(vs ~ disp, data = mtcars, family = binomial(link = "probit")))` threw an unexpected error.
  Message: could not find function "data_findcols"
  Class:   simpleError/error/condition
  ── Error (test-report.lm.R:20:3): report.lm - glm ──────────────────────────────
  `report(glm(vs ~ mpg, data = mtcars, family = "poisson"))` threw an unexpected error.
  Message: could not find function "data_findcols"
  Class:   simpleError/error/condition
  ── Error (test-report.lmer.R:19:5): report-lmer ────────────────────────────────
  `report(m1)` threw an unexpected error.
  Message: could not find function "data_findcols"
  Class:   simpleError/error/condition
  ── Error (test-report.lmer.R:21:5): report-lmer ────────────────────────────────
  `report(m2)` threw an unexpected error.
  Message: could not find function "data_findcols"
  Class:   simpleError/error/condition
  ── Error (test-report.survreg.R:13:5): report-survreg ──────────────────────────
  `report(mod_survreg)` threw an unexpected error.
  Message: could not find function "data_findcols"
  Class:   simpleError/error/condition
  ── Error (test-report_intercept.R:36:5): reflevel ──────────────────────────────
  Error in `data_findcols(table, candidates)`: could not find function "data_findcols"
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(as.character(report_intercept(m1)), "The model's intercept, corresponding to f = 3, is at 0.07 (95% CI [-0.57, 0.71], t(27) = 0.23, p = 0.819).") at test-report_intercept.R:36:4
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─report::report_intercept(m1)
   5. └─report:::report_intercept.lm(m1)
   6.   ├─base::paste0(...)
   7.   ├─report::report_statistics(x, intercept, include_effectsize = FALSE)
   8.   └─report:::report_statistics.lm(x, intercept, include_effectsize = FALSE)
   9.     └─report:::.find_regression_estimate(table)
  
  [ FAIL 17 | WARN 7 | SKIP 11 | PASS 96 ]
  Error: Test failures
  Execution halted