* using log directory ‘/data/gannet/ripley/R/packages/tests-devel/rempsyc.Rcheck’ * using R Under development (unstable) (2025-02-28 r87848) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘rempsyc/DESCRIPTION’ ... OK * this is package ‘rempsyc’ version ‘0.1.9’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘rempsyc’ can be installed ... [11s/13s] OK See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-gcc/rempsyc-00install.html' for details. * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [18s/22s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘rempsyc-Ex.R’ failed The error most likely occurred in: > ### Name: cormatrix_excel > ### Title: Easy export of correlation matrix to Excel > ### Aliases: cormatrix_excel > ### Keywords: Excel correlation matrix > > ### ** Examples > > ## Don't show: > if (requireNamespace("correlation", quietly = TRUE) && requireNamespace("openxlsx2", quietly = TRUE)) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf + ## End(Don't show) + ## Don't show: + .old_wd <- setwd(tempdir()) + ## End(Don't show) + # Basic example + cormatrix_excel(mtcars, select = c("mpg", "cyl", "disp", "hp", "carb"), filename = "cormatrix1") + cormatrix_excel(iris, p_adjust = "none", filename = "cormatrix2") + cormatrix_excel(airquality, method = "spearman", filename = "cormatrix3") + ## Don't show: + setwd(.old_wd) + ## End(Don't show) + ## Don't show: + }) # examplesIf > .old_wd <- setwd(tempdir()) > cormatrix_excel(mtcars, select = c("mpg", "cyl", "disp", "hp", "carb"), + filename = "cormatrix1") # Correlation Matrix (pearson-method) Parameter | mpg | cyl | disp | hp | carb --------------------------------------------------------------- mpg | | -0.85*** | -0.85*** | -0.78*** | -0.55** cyl | -0.85*** | | 0.90*** | 0.83*** | 0.53** disp | -0.85*** | 0.90*** | | 0.79*** | 0.39* hp | -0.78*** | 0.83*** | 0.79*** | | 0.75*** carb | -0.55** | 0.53** | 0.39* | 0.75*** | p-value adjustment method: none Error: x must be class wbColour Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [30s/37s] ERROR Running ‘testthat.R’ [29s/37s] 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 19 | PASS 46 ] â•â• Skipped tests (19) â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• • On CRAN (19): '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_table.R:13:3', 'test-nice_var.R:2:3', 'test-scale_mad.R:2:3', 'test-winsorize_mad.R:2:3' â•â• Failed tests â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• ── Error ('test-cormatrix_excel.R:5:3'): cormatrix_excel ─────────────────────── Error: x must be class wbColour Backtrace: â–† 1. └─testthat::expect_snapshot(...) at test-cormatrix_excel.R:5:3 2. └─rlang::cnd_signal(state$error) [ FAIL 1 | WARN 0 | SKIP 19 | PASS 46 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [249s/341s] OK * checking PDF version of manual ... [9s/12s] OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs