* using log directory 'd:/Rcompile/CRANpkg/local/4.6/EcoCleanR.Rcheck' * using R Under development (unstable) (2025-12-16 r89184 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'EcoCleanR/DESCRIPTION' ... OK * this is package 'EcoCleanR' version '1.0.1' * 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 'EcoCleanR' 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [9s] OK * checking whether the package can be loaded with stated dependencies ... [9s] OK * checking whether the package can be unloaded cleanly ... [8s] OK * checking whether the namespace can be loaded with stated dependencies ... [8s] OK * checking whether the namespace can be unloaded cleanly ... [9s] OK * checking loading without being on the library search path ... [9s] 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 ... [20s] 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... [1s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [36s] ERROR Running examples in 'EcoCleanR-Ex.R' failed The error most likely occurred in: > ### Name: ec_geographic_map > ### Title: Map view of occurrence data points > ### Aliases: ec_geographic_map > > ### ** Examples > > data <- data.frame( + scientificName = "Mexacanthina lugubris", + decimalLongitude = c(-117, -117.8, -116.9), + decimalLatitude = c(32.9, 33.5, 31.9), + temperature_mean = c(12, 13, 14), + temperature_min = c(9, 6, 10), + temperature_max = c(14, 16, 18) + ) > ec_geographic_map(data, + latitude = "decimalLatitude", + longitude = "decimalLongitude" + ) The geodata server is temporary out of service for maintenance. It should be back on 20 December. Error: unable to find an inherited method for function 'crop' for signature 'x = "NULL"' Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [204s] ERROR Running 'testthat.R' [204s] 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(EcoCleanR) > > test_check("EcoCleanR") == 1 queries =============== Retrieving data for taxon 'Mexacanthina lugubris' ✔ Found: Mexacanthina lugubris == Results ================= • Total: 1 • Found: 1 • Not Found: 0 Suggested threshold at 96th percentile: 8801832 Extracting BO_sstmean... Imputation iteration 1 Imputation iteration 2 No more missing values to impute. The geodata server is temporary out of service for maintenance. It should be back on 20 December. Saving _problems/test-data_cleaning-294.R The geodata server is temporary out of service for maintenance. It should be back on 20 December. Saving _problems/test-data_cleaning-329.R [ FAIL 2 | WARN 0 | SKIP 3 | PASS 30 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • Skipping ec_flag_non_east_atlantic test - big shape files required to load for it (1): 'test-data_cleaning.R:417:3' • Skipping ec_flag_non_west_atlantic test - big shape files required to load for it (1): 'test-data_cleaning.R:438:3' • Skipping ec_flag_non_west_pacific test - big shape files required to load for it (1): 'test-data_cleaning.R:459:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-data_cleaning.R:290:3'): ec_geographic_map_w_flag works ──────── Error: unable to find an inherited method for function 'crop' for signature 'x = "NULL"' Backtrace: ▆ 1. └─EcoCleanR::ec_geographic_map_w_flag(...) at test-data_cleaning.R:290:3 2. └─terra::crop(x = world_map, y = geographic_extent) 3. └─methods (local) ``(``, ``, ``) ── Error ('test-data_cleaning.R:326:3'): ec_geographic_map works ─────────────── Error: unable to find an inherited method for function 'crop' for signature 'x = "NULL"' Backtrace: ▆ 1. └─EcoCleanR::ec_geographic_map(...) at test-data_cleaning.R:326:3 2. └─terra::crop(x = world_map, y = geographic_extent) 3. └─methods (local) ``(``, ``, ``) [ FAIL 2 | WARN 0 | SKIP 3 | PASS 30 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [75s] ERROR Error(s) in re-building vignettes: --- re-building 'data_cleaning.Rmd' using rmarkdown Quitting from data_cleaning.Rmd:68-73 [unnamed-chunk-3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: ! unable to find an inherited method for function 'crop' for signature 'x = "NULL"' --- Backtrace: ▆ 1. └─EcoCleanR::ec_geographic_map(...) 2. └─terra::crop(x = world_map, y = geographic_extent) 3. └─methods (local) ``(``, ``, ``) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'data_cleaning.Rmd' failed with diagnostics: unable to find an inherited method for function 'crop' for signature 'x = "NULL"' --- failed re-building 'data_cleaning.Rmd' --- re-building 'data_merging.Rmd' using rmarkdown Quitting from data_merging.Rmd:141-147 [unnamed-chunk-8] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: ! unable to find an inherited method for function 'crop' for signature 'x = "NULL"' --- Backtrace: ▆ 1. └─EcoCleanR::ec_geographic_map(Mixdb.occ, "decimalLatitude", longitude = "decimalLongitude") 2. └─terra::crop(x = world_map, y = geographic_extent) 3. └─methods (local) ``(``, ``, ``) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'data_merging.Rmd' failed with diagnostics: unable to find an inherited method for function 'crop' for signature 'x = "NULL"' --- failed re-building 'data_merging.Rmd' SUMMARY: processing the following files failed: 'data_cleaning.Rmd' 'data_merging.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [19s] OK * checking HTML version of manual ... [6s] OK * DONE Status: 3 ERRORs