* using log directory 'd:/Rcompile/CRANpkg/local/4.3/correlation.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'correlation/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'correlation' version '0.8.5' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'correlation' can be installed ... OK * checking installed package size ... OK * 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] 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 ... [11s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 ... [11s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [40s] ERROR Running 'testthat.R' [40s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(correlation) > > test_check("correlation") [ FAIL 6 | WARN 149 | SKIP 13 | PASS 117 ] ══ Skipped tests (13) ══════════════════════════════════════════════════════════ • On CRAN (13): 'test-as.list.R:7:3', 'test-cormatrix_to_excel.R:3:3', 'test-cormatrix_to_excel.R:16:3', 'test-correlation.R:172:3', 'test-correlation.R:195:3', 'test-display_print_dataframe.R:2:3', 'test-display_print_dataframe.R:14:3', 'test-display_print_matrix.R:4:3', 'test-display_print_matrix.R:13:3', 'test-display_print_matrix.R:31:3', 'test-methods.R:9:3', 'test-renaming.R:3:3', 'test-selecting_variables.R:28:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-correlation.R:110:3'): format checks ───────────────────────── c(nrow(summary(out, redundant = TRUE)), ncol(summary(out, redundant = TRUE))) (`actual`) not identical to c(7L, 8L) (`expected`). `actual`: 5 6 `expected`: 7 8 ── Failure ('test-correlation.R:111:3'): format checks ───────────────────────── c(nrow(summary(out)), ncol(summary(out))) (`actual`) not identical to c(6L, 7L) (`expected`). `actual`: 4 5 `expected`: 6 7 ── Failure ('test-correlation.R:113:3'): format checks ───────────────────────── `out <- correlation(iris, method = "auto", include_factors = TRUE)` did not throw the expected message. ── Failure ('test-correlation.R:117:3'): format checks ───────────────────────── c(nrow(summary(out, redundant = TRUE)), ncol(summary(out, redundant = TRUE))) (`actual`) not identical to c(7L, 8L) (`expected`). `actual`: 5 6 `expected`: 7 8 ── Failure ('test-correlation.R:118:3'): format checks ───────────────────────── c(nrow(summary(out)), ncol(summary(out))) (`actual`) not identical to c(6L, 7L) (`expected`). `actual`: 4 5 `expected`: 6 7 ── Failure ('test-correlation.R:120:3'): format checks ───────────────────────── all(...) is not TRUE `actual`: FALSE `expected`: TRUE [ FAIL 6 | WARN 149 | SKIP 13 | PASS 117 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [82s] OK * checking PDF version of manual ... [17s] OK * checking HTML version of manual ... [4s] OK * DONE Status: 1 ERROR