Running ‘testthat.R’ [86s/159s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (require("testthat")) {
  +   library(see)
  + 
  +   if (length(strsplit(packageDescription("see")$Version, "\\.")[[1]]) > 3) {
  +     Sys.setenv("RunAllseeTests" = "yes")
  +   } else {
  +     Sys.setenv("RunAllseeTests" = "no")
  +   }
  + 
  +   osx <- tryCatch(
  +     {
  +       si <- Sys.info()
  +       if (!is.null(si["sysname"])) {
  +         si["sysname"] == "Darwin" || grepl("^darwin", R.version$os)
  +       } else {
  +         FALSE
  +       }
  +     },
  +     error = function(e) {
  +       FALSE
  +     }
  +   )
  + 
  +   if (!osx) {
  +     test_check("see")
  +   }
  + }
  Loading required package: testthat
  Loading required package: vdiffr
  Loading required package: ggplot2
  Loading required package: lme4
  Loading required package: Matrix
  Loading required package: qqplotr
  
  Attaching package: 'qqplotr'
  
  The following objects are masked from 'package:ggplot2':
  
      StatQqLine, stat_qq_line
  
  Loading required package: parameters
  Loading required package: correlation
  Loading required package: ggridges
  Loading required package: modelbased
  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())
  
  Attaching package: 'rstanarm'
  
  The following object is masked from 'package:parameters':
  
      compare_models
  
  No variable was specified for contrast estimation. Selecting `contrast = "Species"`.
  We selected `at = c("Species")`.
  Loading required package: bayestestR
  Possible multicollinearity between Petal.Width:Speciesversicolor and Petal.Width (r = 0.86), Petal.Width:Speciesversicolor and Speciesversicolor (r = 0.7), Petal.Width:Speciesvirginica and Petal.Width:Speciesversicolor (r = 0.8). This might lead to inappropriate results. See 'Details' in '?rope'.
  Sampling priors, please wait...
  [ FAIL 3 | WARN 2 | SKIP 6 | PASS 27 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • .Platform$OS.type == "windows" is not TRUE (6)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-plot.cluster_analysis.R:3:5): `plot.see_cluster_analysis()` works ──
  Error: Could not find variable '4' in data.
  Backtrace:
      ▆
   1. └─parameters::cluster_analysis(iris[, 1:4], 3) at test-plot.cluster_analysis.R:3:4
   2.   ├─parameters::model_parameters(...)
   3.   └─parameters:::model_parameters.kmeans(...)
   4.     └─datawizard::reshape_longer(...)
   5.       └─datawizard:::.select_nse(...)
   6.         └─datawizard:::.evaluate_pattern(...)
  ── Error (test-plot.compare_performance.R:8:3): `plot.see_compare_performance()` works ──
  Error: 'data_rescale' is not an exported object from 'namespace:datawizard'
  Backtrace:
      ▆
   1. ├─testthat::expect_s3_class(plot(result), "gg") at test-plot.compare_performance.R:8:2
   2. │ └─testthat::quasi_label(enquo(object), arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─base::plot(result)
   5. ├─performance:::plot.compare_performance(result)
   6. ├─base::NextMethod()
   7. └─see:::plot.see_compare_performance(result)
   8.   ├─see::data_plot(x)
   9.   └─see:::data_plot.compare_performance(x)
  ── Error (test-plot.easycormatrix.R:5:5): `plot.see_easycormatrix()` works ─────
  Error in `colnames(data)[sapply(data, select)]`: invalid subscript type 'list'
  Backtrace:
       ▆
    1. ├─testthat::expect_s3_class(plot(s), "gg") at test-plot.easycormatrix.R:5:4
    2. │ └─testthat::quasi_label(enquo(object), arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::plot(s)
    5. └─correlation:::plot.easycormatrix(s)
    6.   ├─base::plot(visualisation_recipe(x, ...), ...)
    7.   ├─datawizard::visualisation_recipe(x, ...)
    8.   └─correlation:::visualisation_recipe.easycormatrix(x, ...)
    9.     └─datawizard::reshape_longer(...)
   10.       └─datawizard:::.select_nse(...)
  
  [ FAIL 3 | WARN 2 | SKIP 6 | PASS 27 ]
  Error: Test failures
  Execution halted