Running ‘testthat.R’ [12s/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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > 
  > testthat::test_check("TAD")
  Loading required package: TAD
  Starting 2 test processes
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 99 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-utilities.R:156:3'): Saving and loading statistics per obs works ──
  TAD::load_statistics_per_obs(path = file, factor_names = colnames(datasets$good2$param$weighted_moments$weights_factor)) (`actual`) not identical to `abd_df` (`expected`).
  
  `actual$significancemean` is an S3 object of class <factor>, an integer vector
  `expected$significancemean` is a logical vector (FALSE, FALSE, FALSE, FALSE, FALSE, ...)
  
  `actual$significancevariance` is an S3 object of class <factor>, an integer vector
  `expected$significancevariance` is a logical vector (FALSE, FALSE, TRUE, FALSE, FALSE, ...)
  
  `actual$significanceskewness` is an S3 object of class <factor>, an integer vector
  `expected$significanceskewness` is a logical vector (FALSE, TRUE, TRUE, FALSE, FALSE, ...)
  ── Failure ('test-utilities.R:170:3'): Saving and loading statistics per obs works ──
  TAD::load_statistics_per_obs(path = file, factor_names = colnames(datasets$good2$param$weighted_moments$weights_factor)) (`actual`) not identical to `statistics_per_observation` (`expected`).
  
  `actual$significancemean` is an S3 object of class <factor>, an integer vector
  `expected$significancemean` is a logical vector (FALSE, FALSE, FALSE, FALSE, FALSE, ...)
  
  `actual$significancevariance` is an S3 object of class <factor>, an integer vector
  `expected$significancevariance` is a logical vector (FALSE, FALSE, TRUE, FALSE, FALSE, ...)
  
  `actual$significanceskewness` is an S3 object of class <factor>, an integer vector
  `expected$significanceskewness` is a logical vector (FALSE, TRUE, TRUE, FALSE, FALSE, ...)
  ── Failure ('test-utilities.R:213:3'): Saving and loading stat_skr_param works ──
  TAD::load_stat_skr_param(path = file, character_names = param$stat_per_rand_dataframe$statistics_factor_name) (`actual`) not identical to `abd_df` (`expected`).
  
  `actual$rsquare_signi` is an S3 object of class <factor>, an integer vector
  `expected$rsquare_signi` is a logical vector (FALSE, FALSE)
  
  `actual$cv_distance_to_family_signi` is an S3 object of class <factor>, an integer vector
  `expected$cv_distance_to_family_signi` is a logical vector (FALSE, TRUE)
  ── Failure ('test-utilities.R:225:3'): Saving and loading stat_skr_param works ──
  TAD::load_stat_skr_param(path = file, character_names = param$stat_per_rand_dataframe$statistics_factor_name) (`actual`) not identical to `stat_skr_param` (`expected`).
  
  `actual$rsquare_signi` is an S3 object of class <factor>, an integer vector
  `expected$rsquare_signi` is a logical vector (FALSE, FALSE)
  
  `actual$cv_distance_to_family_signi` is an S3 object of class <factor>, an integer vector
  `expected$cv_distance_to_family_signi` is a logical vector (FALSE, TRUE)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 99 ]
  Error: Test failures
  Execution halted