* using log directory ‘/srv/hornik/tmp/CRAN_pretest/ClimaRep.Rcheck’ * using R Under development (unstable) (2025-06-15 r88316) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (3) Debian flang-new version 19.1.7 (3) * running under: Debian GNU/Linux 13 (trixie) * using session charset: UTF-8 * checking for file ‘ClimaRep/DESCRIPTION’ ... OK * this is package ‘ClimaRep’ version ‘0.1’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/4s] NOTE Maintainer: ‘Mario Mingarro Lopez ’ New submission Possibly misspelled words in DESCRIPTION: ClimaRep (2:8, 10:18) Representativeness (2:37, 10:72) The Title field starts with the package name. * 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 serialization versions ... OK * checking whether package ‘ClimaRep’ can be installed ... [11s/11s] 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [4s/4s] OK * checking whether the package can be loaded with stated dependencies ... [4s/4s] OK * checking whether the package can be unloaded cleanly ... [3s/3s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s/3s] OK * checking whether the namespace can be unloaded cleanly ... [4s/4s] OK * checking loading without being on the library search path ... [4s/4s] 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 ... [16s/16s] OK * checking Rd files ... [0s/0s] 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 examples ... [4s/4s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [8s/8s] ERROR Running ‘testthat.R’ [8s/8s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(ClimaRep) > > test_check("ClimaRep") terra 1.8.54 Attaching package: 'terra' The following objects are masked from 'package:testthat': compare, describe Linking to GEOS 3.13.1, GDAL 3.10.3, PROJ 9.6.0; sf_use_s2() is TRUE --- VIF Filtering Summary --- Kept layers: varA, varC, varE, varF, varG Excluded layers: varD, varB Pearson correlation matrix of original data: varA varB varC varD varE varF varG varA 1.0000 0.8870 0.0087 0.0938 -0.0745 0.5855 0.0029 varB 0.8870 1.0000 0.0043 0.0997 -0.0769 0.6556 0.0000 varC 0.0087 0.0043 1.0000 0.8523 0.0517 0.5694 0.8374 varD 0.0938 0.0997 0.8523 1.0000 0.0576 0.7108 0.9560 varE -0.0745 -0.0769 0.0517 0.0576 1.0000 -0.0257 0.0649 varF 0.5855 0.6556 0.5694 0.7108 -0.0257 1.0000 0.6352 varG 0.0029 0.0000 0.8374 0.9560 0.0649 0.6352 1.0000 Final VIF values for kept variables: VIF varA 2.3495 varC 3.3984 varE 1.0121 varF 3.9769 varG 4.5129 ---------------------------- VIF filtering completed --- VIF Filtering Summary --- Kept layers: varA, varC, varE, varF, varG Excluded layers: varD, varB Pearson correlation matrix of original data: varA varB varC varD varE varF varG varA 1.0000 0.8870 0.0087 0.0938 -0.0745 0.5816 0.0028 varB 0.8870 1.0000 0.0043 0.0997 -0.0769 0.6513 0.0003 varC 0.0087 0.0043 1.0000 0.8523 0.0517 0.5676 0.8341 varD 0.0938 0.0997 0.8523 1.0000 0.0576 0.7077 0.9529 varE -0.0745 -0.0769 0.0517 0.0576 1.0000 -0.0256 0.0653 varF 0.5816 0.6513 0.5676 0.7077 -0.0256 1.0000 0.6305 varG 0.0028 0.0003 0.8341 0.9529 0.0653 0.6305 1.0000 Final VIF values for kept variables: VIF varA 2.2832 varC 3.3473 varE 1.0121 varF 3.8325 varG 4.3545 ---------------------------- VIF filtering completed Validating Coordinate Reference Systems (CRS) Starting per-polygon processing: Processing polygon: pol_1 (1 of 2) Processing polygon: pol_2 (2 of 2) All processes were completed Output files in: /tmp/RtmpJn0DSJ/working_dir/Rtmpcf1rj6/mh_overlay_test Processing 2 rasters from /tmp/RtmpJn0DSJ/working_dir/Rtmpcf1rj6/mh_overlay_test/Change Calculating counts for category: Lost (value = 2) Calculating counts for category: Retained (value = 1) Calculating counts for category: Novel (value = 3) All processes were completed Output files in: /tmp/RtmpJn0DSJ/working_dir/Rtmpcf1rj6/mh_overlay_test/Change/overlay/ClimaRep_overlay.tif Attaching package: 'tidyterra' The following object is masked from 'package:stats': filter --- VIF Filtering Summary --- Kept layers: varA, varC, varE, varF, varG Excluded layers: varD, varB Pearson correlation matrix of original data: varA varB varC varD varE varF varG varA 1.0000 0.8870 0.0087 0.0938 -0.0745 0.5816 0.0028 varB 0.8870 1.0000 0.0043 0.0997 -0.0769 0.6513 0.0003 varC 0.0087 0.0043 1.0000 0.8523 0.0517 0.5676 0.8341 varD 0.0938 0.0997 0.8523 1.0000 0.0576 0.7077 0.9529 varE -0.0745 -0.0769 0.0517 0.0576 1.0000 -0.0256 0.0653 varF 0.5816 0.6513 0.5676 0.7077 -0.0256 1.0000 0.6305 varG 0.0028 0.0003 0.8341 0.9529 0.0653 0.6305 1.0000 Final VIF values for kept variables: VIF varA 2.2832 varC 3.3473 varE 1.0121 varF 3.8325 varG 4.3545 ---------------------------- VIF filtering completed Validating and adjusting Coordinate Reference Systems (CRS) Starting per-polygon processing: Processing polygon: pol_1 (1 of 2) Processing polygon: pol_2 (2 of 2) All processes were completed Output files in: /tmp/RtmpJn0DSJ/working_dir/Rtmpcf1rj6/mh_rep_test --- VIF Filtering Summary --- Kept layers: varA, varC, varE, varF, varG Excluded layers: varD, varB Pearson correlation matrix of original data: varA varB varC varD varE varF varG varA 1.0000 0.8870 0.0087 0.0938 -0.0745 0.5816 0.0028 varB 0.8870 1.0000 0.0043 0.0997 -0.0769 0.6513 0.0003 varC 0.0087 0.0043 1.0000 0.8523 0.0517 0.5676 0.8341 varD 0.0938 0.0997 0.8523 1.0000 0.0576 0.7077 0.9529 varE -0.0745 -0.0769 0.0517 0.0576 1.0000 -0.0256 0.0653 varF 0.5816 0.6513 0.5676 0.7077 -0.0256 1.0000 0.6305 varG 0.0028 0.0003 0.8341 0.9529 0.0653 0.6305 1.0000 Final VIF values for kept variables: VIF varA 2.2832 varC 3.3473 varE 1.0121 varF 3.8325 varG 4.3545 ---------------------------- VIF filtering completed Validating Coordinate Reference Systems (CRS) Starting per-polygon processing: Processing polygon: pol_1 (1 of 2) Processing polygon: pol_2 (2 of 2) All processes were completed Output files in: /tmp/RtmpJn0DSJ/working_dir/Rtmpcf1rj6/mh_rep_ch_test [ FAIL 2 | WARN 0 | SKIP 0 | PASS 19 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-mh_overlay.R:67:3'): mh_overlay works correctly ────────────── file.exists(overlay_output_file) is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-mh_overlay.R:68:3'): mh_overlay works correctly ────────────── file.size(overlay_output_file) is not strictly more than 0. Difference: NA [ FAIL 2 | WARN 0 | SKIP 0 | PASS 19 ] Error: Test failures Execution halted * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE