Running ‘testthat.R’ [12s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rempsyc)
  Suggested APA citation: Thériault, R. (2023). rempsyc: Convenience functions for psychology. 
  Journal of Open Source Software, 8(87), 5466. https://doi.org/10.21105/joss.05466
  > 
  > test_check("rempsyc")
  [ FAIL 1 | WARN 0 | SKIP 24 | PASS 26 ]
  
  ══ Skipped tests (24) ══════════════════════════════════════════════════════════
  • On CRAN (18): 'test-best_duplicate.R:8:3', 'test-extract_duplicates.R:8:3',
    'test-find_mad.R:2:3', 'test-format_value.R:2:3',
    'test-nice_assumptions.R:9:3', 'test-nice_contrasts.R:7:3',
    'test-nice_lm.R:5:3', 'test-nice_lm_contrasts.R:12:3',
    'test-nice_lm_slopes.R:5:3', 'test-nice_mod.R:4:3', 'test-nice_na.R:2:3',
    'test-nice_randomize.R:5:3', 'test-nice_reverse.R:3:3',
    'test-nice_slopes.R:4:3', 'test-nice_t_test.R:5:3', 'test-nice_var.R:2:3',
    'test-scale_mad.R:2:3', 'test-winsorize_mad.R:2:3'
  • flextable cannot be loaded (1): 'test-nice_table.R:2:3'
  • ggrepel cannot be loaded (3): 'test-nice_density.R:3:3',
    'test-nice_varplot.R:3:3', 'test-nice_violin.R:5:3'
  • openxlsx2 cannot be loaded (1): 'test-cormatrix_excel.R:3:3'
  • qqplotr cannot be loaded (1): 'test-nice_qq.R:3:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-nice_normality.R:4:3'): nice_normality ─────────────────────────
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `nice_qq(data = data, variable = variable, group = group, colours = colours, 
      groups.labels = groups.labels, grid = grid, shapiro = shapiro, 
      title = NULL, ...)`: The package "qqplotr" (>= 0.0.6) is required for this function.
  Backtrace:
      ▆
   1. └─rempsyc::nice_normality(...) at test-nice_normality.R:4:3
   2.   └─rempsyc::nice_qq(...)
   3.     └─rlang::check_installed(...)
  
  [ FAIL 1 | WARN 0 | SKIP 24 | PASS 26 ]
  Error: Test failures
  Execution halted