* using log directory ‘/srv/hornik/tmp/CRAN/pastclim.Rcheck’ * using R Under development (unstable) (2024-06-18 r86781) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.5 (2) Debian flang-new version 18.1.5 (2) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘pastclim/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘pastclim’ version ‘2.1.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [5s/7s] Note_to_CRAN_maintainers Maintainer: ‘Andrea Manica ’ * 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 ‘pastclim’ can be installed ... [10s/10s] OK * checking package directory ... OK * checking for future file timestamps ... 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 ... [3s/3s] OK * checking whether the package can be loaded with stated dependencies ... [3s/3s] 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 ... [3s/3s] OK * checking loading without being on the library search path ... [3s/3s] OK * checking whether startup messages can be suppressed ... [3s/3s] 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 ... [14s/14s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... NOTE Found the following Rd file(s) with Rd \link{} targets missing package anchors: location_slice_from_region_series.Rd: SpatRasterDataset slice_region_series.Rd: SpatRaster Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. * 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 ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking R/sysdata.rda ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [4s/4s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [47s/47s] ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [47s/47s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(pastclim) Loading required package: terra terra 1.7.78 WARNING: different compile-time and run-time versions of GEOS Compiled with:3.12.1-CAPI-1.18.1 Running with:3.12.2-CAPI-1.18.2 You should reinstall package 'terra' Attaching package: 'terra' The following objects are masked from 'package:testthat': compare, describe > > test_check("pastclim") |---------|---------|---------|---------| ========================================= |---------|---------|---------|---------| ========================================= |---------|---------|---------|---------| ========================================= |---------|---------|---------|---------| ========================================= |---------|---------|---------|---------| ========================================= |---------|---------|---------|---------| ========================================= [ FAIL 2 | WARN 2 | SKIP 8 | PASS 1232 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • On CRAN (7): 'test_filenames_chelsa_future.R:4:3', 'test_filenames_chelsa_present.R:4:3', 'test_filenames_chelsa_trace21k.R:4:3', 'test_filenames_hyde.R:5:3', 'test_filenames_paleoclim.R:4:3', 'test_filenames_worldclim_future.R:4:3', 'test_filenames_worldclim_present.R:4:3' • Sys.getenv("PASTCLIM_TEST") != "download_full" is TRUE (1): 'test_remote_files.R:22:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_pastclim_rast.R:12:3'): pastclim_rast handles vrt correctly ──── Error: buildvrt: options error Backtrace: ▆ 1. └─sf::gdal_utils(...) at test_pastclim_rast.R:12:3 2. └─sf:::CPL_gdalbuildvrt(...) ── Error ('test_vrt_set_get_meta.R:11:3'): setting and getting vrt meta ──────── Error: buildvrt: options error Backtrace: ▆ 1. └─sf::gdal_utils(...) at test_vrt_set_get_meta.R:11:3 2. └─sf:::CPL_gdalbuildvrt(...) [ FAIL 2 | WARN 2 | SKIP 8 | PASS 1232 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [38s/38s] OK * checking PDF version of manual ... [4s/4s] OK * checking HTML version of manual ... [1s/1s] 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