Running ‘testthat.R’ [8m/10m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(datawizard)
  > 
  > test_check("datawizard")
  Starting 2 test processes
  [ FAIL 2 | WARN 2 | SKIP 81 | PASS 1865 ]
  
  ══ Skipped tests (81) ══════════════════════════════════════════════════════════
  • On CRAN (80): 'test-contr.deviation.R:21:3', 'test-categorize.R:239:3',
    'test-categorize.R:246:3', 'test-data_codebook.R:5:3',
    'test-data_codebook.R:10:3', 'test-data_codebook.R:18:3',
    'test-data_codebook.R:31:3', 'test-data_codebook.R:36:3',
    'test-data_codebook.R:41:3', 'test-data_codebook.R:49:3',
    'test-data_codebook.R:57:3', 'test-data_codebook.R:70:3',
    'test-data_codebook.R:81:3', 'test-data_codebook.R:91:3',
    'test-data_codebook.R:103:3', 'test-data_codebook.R:121:3',
    'test-data_codebook.R:138:3', 'test-data_codebook.R:147:3',
    'test-data_codebook.R:156:3', 'test-data_codebook.R:177:3',
    'test-data_codebook.R:208:3', 'test-data_partition.R:11:3',
    'test-data_peek.R:32:3', 'test-data_read.R:8:1', 'test-data_modify.R:389:3',
    'test-data_modify.R:398:3', 'test-data_rescale.R:34:3',
    'test-data_seek.R:80:3', 'test-data_separate.R:172:3',
    'test-data_separate.R:236:3', 'test-data_separate.R:321:3',
    'test-data_separate.R:333:3', 'test-data_summary.R:170:3',
    'test-data_summary.R:177:3', 'test-data_to_factor.R:87:1',
    'test-data_tabulate.R:64:3', 'test-data_tabulate.R:157:3',
    'test-data_tabulate.R:163:3', 'test-data_tabulate.R:170:3',
    'test-data_tabulate.R:177:3', 'test-data_tabulate.R:234:3',
    'test-data_tabulate.R:240:3', 'test-data_tabulate.R:248:3',
    'test-data_tabulate.R:306:3', 'test-data_tabulate.R:342:3',
    'test-data_tabulate.R:382:3', 'test-data_tabulate.R:414:3',
    'test-data_to_numeric.R:2:3', 'test-data_to_numeric.R:44:3',
    'test-data_to_numeric.R:175:3', 'test-data_to_long.R:72:3',
    'test-data_to_long.R:496:3', 'test-data_write.R:5:1', 'test-demean.R:12:3',
    'test-demean.R:66:3', 'test-empty-dataframe.R:16:3',
    'test-describe_distribution.R:95:3', 'test-describe_distribution.R:104:3',
    'test-describe_distribution.R:281:3', 'test-means_by_group.R:4:3',
    'test-means_by_group.R:19:3', 'test-print.dw_transformer.R:3:3',
    'test-ranktransform.R:67:3', 'test-normalize.R:30:3',
    'test-reshape_ci.R:12:3', 'test-reshape_ci.R:25:3',
    'test-rescale_weights.R:6:3', 'test-rescale_weights.R:31:3',
    'test-rescale_weights.R:41:3', 'test-skewness-kurtosis.R:27:3',
    'test-skewness-kurtosis.R:37:3', 'test-skewness-kurtosis.R:48:3',
    'test-skewness-kurtosis.R:58:3', 'test-smoothness.R:28:3',
    'test-standardize_models.R:210:3', 'test-standardize_models.R:241:3',
    'test-standardize_models.R:320:3', 'test-text_format.R:2:3',
    'test-text_format.R:74:3', 'test-winsorization.R:8:3'
  • {bayestesR} is not installed (1): 'test-data_summary.R:234:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-adjust.R:4:3'): adjust multilevel ────────────────────────────
  head(adj$Sepal.Length) (`actual`) not equal to c(0.08698, -0.11302, -0.31302, -0.41302, -0.01302, 0.38698) (`expected`).
  
    `actual`: 0.0838 -0.1162 -0.3162 -0.4162 -0.0162 0.3838
  `expected`: 0.0870 -0.1130 -0.3130 -0.4130 -0.0130 0.3870
  ── Error ('test-data_rename.R:40:3'): data_rename: multiple selection types ────
  Error in `grep(pattern, x, ignore.case, value, perl, fixed, useBytes, invert)`: NA in coercion to boolean
  Backtrace:
      ▆
   1. ├─testthat::expect_named(...) at test-data_rename.R:40:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─datawizard::data_rename(...)
   5.   └─datawizard:::.select_nse(...)
   6.     └─datawizard:::.eval_expr(...)
   7.       └─datawizard:::.eval_call(...)
   8.         └─datawizard:::.select_helper(...)
   9.           └─base::grep(rgx, colnames(data), ignore.case = ignore_case)
  
  [ FAIL 2 | WARN 2 | SKIP 81 | PASS 1865 ]
  Error: Test failures
  Execution halted