Running ‘testthat.R’ [6s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(FuzzyImputationTest)
  > 
  > test_check("FuzzyImputationTest")
  [ FAIL 1 | WARN 0 | SKIP 15 | PASS 80 ]
  
  ══ Skipped tests (15) ══════════════════════════════════════════════════════════
  • On CRAN (15): 'test-ApplyStatisticalTests.R:152:3',
    'test-CalculateFuzzyMeasures.R:152:3', 'test-ErrorMatrix.R:141:3',
    'test-FuzzifyMatrix.R:7:3', 'test-FuzzyImputation.R:30:3',
    'test-FuzzyNumbersToMatrix.R:16:3', 'test-ImputationDimp.R:30:3',
    'test-ImputationTests.R:152:3', 'test-IntroducingNA.R:7:3',
    'test-MatrixToFuzzyNumbers.R:14:3', 'test-MeasureAHD.R:26:3',
    'test-MeasureEuclidean.R:26:3', 'test-MeasureHSD.R:26:3',
    'test-RemoveNotFuzzy.R:50:3', 'test-StatisticalMeasures.R:152:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-MethodsComparison.R:61:3'): Function returns correct values ────
  Error in `ranger::ranger(x = obsX, y = obsY, num.trees = ntree, mtry = mtry, 
      replace = replace, sample.fraction = sf, min.bucket = if (!is.null(nodesize)) nodesize[1] else 5, 
      write.forest = TRUE, oob.error = TRUE, num.threads = if (!is.null(num.threads)) num.threads else if (parallelize == 
          "forests") foreach::getDoParWorkers() else NULL, verbose = FALSE)`: Error: No covariates found.
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-MethodsComparison.R:61:3
   2.   └─rlang::cnd_signal(state$error)
  
  [ FAIL 1 | WARN 0 | SKIP 15 | PASS 80 ]
  Error: Test failures
  Execution halted