* using log directory 'd:/RCompile/CRANincoming/R-devel/x3ptools.Rcheck' * using R Under development (unstable) (2024-01-20 r85814 ucrt) * using platform: x86_64-w64-mingw32 * 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 'x3ptools/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'x3ptools' version '0.0.4' * package encoding: UTF-8 * checking CRAN incoming feasibility ... Note_to_CRAN_maintainers Maintainer: 'Heike Hofmann ' * 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 'x3ptools' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 ... 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 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 ... 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... ERROR Running 'testthat.R' Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(x3ptools) > > > test_check("x3ptools") updating: bindata/ (stored 0%) updating: bindata/data.bin (stored 0%) updating: main.xml (deflated 65%) updating: md5checksum.hex (stored 0%) [ FAIL 2 | WARN 2 | SKIP 1 | PASS 150 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test_read_x3p.R:9:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_x3p_trim_na.R:30:3'): x3p_trim_na works as expected ────────── tmp$surface.matrix not equivalent to logo_NA$surface.matrix. Lengths differ: 309738 is not 310479 ── Failure ('test_x3p_trim_na.R:37:3'): x3p_trim_na works as expected ────────── logo$surface.matrix not equivalent to tmp$surface.matrix. Lengths differ: 310479 is not 309738 [ FAIL 2 | WARN 2 | SKIP 1 | PASS 150 ] Error: Test failures In addition: Warning messages: 1: In grDevices::png(file = "bindata/mask.png", width = x3p$header.info$sizeX, : 'width=6, height=7' are unlikely values in pixels 2: `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use `purrr::list_flatten()` or `purrr::list_c()`. This warning is displayed once every 8 hours. Execution halted * checking PDF version of manual ... [14s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR