* using log directory 'd:/RCompile/CRANincoming/R-devel/waywiser.Rcheck' * using R Under development (unstable) (2025-02-11 r87713 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'waywiser/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'waywiser' version '0.6.1' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [30s] OK * 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 'waywiser' can be installed ... OK * checking installed package size ... 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 ... 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 ... [10s] 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 R/sysdata.rda ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [17s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [225s] ERROR Running 'testthat.R' [225s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(waywiser) > > test_check("waywiser") Starting 2 test processes [ FAIL 5 | WARN 0 | SKIP 146 | PASS 276 ] ══ Skipped tests (146) ═════════════════════════════════════════════════════════ • On CRAN (143): 'test-global_geary.R:10:3', 'test-global_moran.R:10:3', 'test-local_geary.R:12:3', 'test-local_getis.R:11:3', 'test-local_getis.R:66:3', 'test-local_moran.R:11:3', 'test-misc.R:4:3', 'test-misc.R:14:3', 'test-misc.R:24:3', 'test-misc.R:51:3', 'test-misc.R:82:3', 'test-misc_yardstick.R:6:3', 'test-misc_yardstick.R:17:3', 'test-area_of_applicability.R:38:3', 'test-area_of_applicability.R:148:3', 'test-area_of_applicability.R:222:3', 'test-area_of_applicability.R:265:3', 'test-area_of_applicability.R:280:3', 'test-area_of_applicability.R:294:3', 'test-srr-ww_agreement_coefficient.R:7:3', 'test-srr-ww_agreement_coefficient.R:19:3', 'test-srr-ww_agreement_coefficient.R:42:3', 'test-srr-ww_agreement_coefficient.R:56:3', 'test-srr-ww_agreement_coefficient.R:98:3', 'test-srr-ww_agreement_coefficient.R:116:3', 'test-srr-ww_agreement_coefficient.R:145:3', 'test-srr-ww_area_of_applicability.R:33:3', 'test-srr-ww_global_geary_c.R:18:3', 'test-srr-ww_global_geary_c.R:284:3', 'test-multi_scale.R:33:3', 'test-multi_scale.R:97:3', 'test-multi_scale.R:144:3', 'test-multi_scale.R:670:3', 'test-srr-ww_global_geary_pvalue.R:18:3', 'test-srr-ww_global_geary_pvalue.R:284:3', 'test-srr-ww_global_moran_i.R:18:3', 'test-srr-ww_global_moran_i.R:284:3', 'test-srr-ww_global_moran_pvalue.R:18:3', 'test-srr-ww_global_moran_pvalue.R:284:3', 'test-srr-ww_local_geary_c.R:18:3', 'test-srr-ww_local_geary_c.R:284:3', 'test-srr-ww_local_getis_ord_g.R:18:3', 'test-srr-ww_local_getis_ord_g.R:284:3', 'test-srr-ww_local_geary_pvalue.R:18:3', 'test-srr-ww_local_geary_pvalue.R:284:3', 'test-srr-ww_local_getis_ord_g_pvalue.R:18:3', 'test-srr-ww_local_getis_ord_g_pvalue.R:284:3', 'test-srr-ww_local_moran_i.R:18:3', 'test-srr-ww_local_moran_i.R:284:3', 'test-srr-ww_systematic_agreement_coefficient.R:7:3', 'test-srr-ww_systematic_agreement_coefficient.R:19:3', 'test-srr-ww_systematic_agreement_coefficient.R:42:3', 'test-srr-ww_systematic_agreement_coefficient.R:56:3', 'test-srr-ww_systematic_agreement_coefficient.R:98:3', 'test-srr-ww_systematic_agreement_coefficient.R:116:3', 'test-srr-ww_systematic_agreement_coefficient.R:145:3', 'test-srr-ww_systematic_mpd.R:7:3', 'test-srr-ww_systematic_mpd.R:19:3', 'test-srr-ww_systematic_mpd.R:42:3', 'test-srr-ww_systematic_mpd.R:56:3', 'test-srr-ww_systematic_mpd.R:98:3', 'test-srr-ww_systematic_mpd.R:116:3', 'test-srr-ww_systematic_mpd.R:145:3', 'test-srr-ww_systematic_mse.R:7:3', 'test-srr-ww_systematic_mse.R:19:3', 'test-srr-ww_systematic_mse.R:42:3', 'test-srr-ww_systematic_mse.R:56:3', 'test-srr-ww_systematic_mse.R:98:3', 'test-srr-ww_systematic_mse.R:116:3', 'test-srr-ww_systematic_mse.R:145:3', 'test-srr-ww_systematic_rmpd.R:7:3', 'test-srr-ww_systematic_rmpd.R:19:3', 'test-srr-ww_systematic_rmpd.R:42:3', 'test-srr-ww_systematic_rmpd.R:56:3', 'test-srr-ww_systematic_rmpd.R:98:3', 'test-srr-ww_systematic_rmpd.R:116:3', 'test-srr-ww_systematic_rmpd.R:145:3', 'test-srr-ww_systematic_rmse.R:7:3', 'test-srr-ww_systematic_rmse.R:19:3', 'test-srr-ww_systematic_rmse.R:42:3', 'test-srr-ww_systematic_rmse.R:56:3', 'test-srr-ww_systematic_rmse.R:98:3', 'test-srr-ww_systematic_rmse.R:116:3', 'test-srr-ww_systematic_rmse.R:145:3', 'test-srr-ww_unsystematic_agreement_coefficient.R:7:3', 'test-srr-ww_unsystematic_agreement_coefficient.R:19:3', 'test-srr-ww_unsystematic_agreement_coefficient.R:42:3', 'test-srr-ww_unsystematic_agreement_coefficient.R:56:3', 'test-srr-ww_unsystematic_agreement_coefficient.R:98:3', 'test-srr-ww_unsystematic_agreement_coefficient.R:116:3', 'test-srr-ww_unsystematic_agreement_coefficient.R:145:3', 'test-srr-ww_unsystematic_mpd.R:7:3', 'test-srr-ww_unsystematic_mpd.R:19:3', 'test-srr-ww_unsystematic_mpd.R:42:3', 'test-srr-ww_unsystematic_mpd.R:56:3', 'test-srr-ww_unsystematic_mpd.R:98:3', 'test-srr-ww_unsystematic_mpd.R:116:3', 'test-srr-ww_unsystematic_mpd.R:145:3', 'test-srr-ww_unsystematic_mse.R:7:3', 'test-srr-ww_unsystematic_mse.R:19:3', 'test-srr-ww_unsystematic_mse.R:42:3', 'test-srr-ww_unsystematic_mse.R:56:3', 'test-srr-ww_unsystematic_mse.R:98:3', 'test-srr-ww_unsystematic_mse.R:116:3', 'test-srr-ww_unsystematic_mse.R:145:3', 'test-srr-ww_unsystematic_rmpd.R:7:3', 'test-srr-ww_unsystematic_rmpd.R:19:3', 'test-srr-ww_unsystematic_rmpd.R:42:3', 'test-srr-ww_unsystematic_rmpd.R:56:3', 'test-srr-ww_unsystematic_rmpd.R:98:3', 'test-srr-ww_unsystematic_rmpd.R:116:3', 'test-srr-ww_unsystematic_rmpd.R:145:3', 'test-srr-ww_unsystematic_rmse.R:7:3', 'test-srr-ww_unsystematic_rmse.R:19:3', 'test-srr-ww_unsystematic_rmse.R:42:3', 'test-srr-ww_unsystematic_rmse.R:56:3', 'test-srr-ww_unsystematic_rmse.R:98:3', 'test-srr-ww_unsystematic_rmse.R:116:3', 'test-srr-ww_unsystematic_rmse.R:145:3', 'test-srr-ww_willmott_d.R:7:3', 'test-srr-ww_willmott_d.R:19:3', 'test-srr-ww_willmott_d.R:42:3', 'test-srr-ww_willmott_d.R:56:3', 'test-srr-ww_willmott_d.R:98:3', 'test-srr-ww_willmott_d.R:116:3', 'test-srr-ww_willmott_d.R:145:3', 'test-srr-ww_willmott_d1.R:7:3', 'test-srr-ww_willmott_d1.R:19:3', 'test-srr-ww_willmott_d1.R:42:3', 'test-srr-ww_willmott_d1.R:56:3', 'test-srr-ww_willmott_d1.R:98:3', 'test-srr-ww_willmott_d1.R:116:3', 'test-srr-ww_willmott_d1.R:145:3', 'test-srr-ww_willmott_dr.R:7:3', 'test-srr-ww_willmott_dr.R:19:3', 'test-srr-ww_willmott_dr.R:42:3', 'test-srr-ww_willmott_dr.R:56:3', 'test-srr-ww_willmott_dr.R:98:3', 'test-srr-ww_willmott_dr.R:116:3', 'test-srr-ww_willmott_dr.R:145:3', 'test-tidy_importance.R:31:3', 'test-srr-ww_local_moran_pvalue.R:18:3', 'test-srr-ww_local_moran_pvalue.R:284:3' • {exactextractr} is not installed (3): 'test-multi_scale.R:368:3', 'test-multi_scale.R:440:3', 'test-multi_scale.R:471:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-multi_scale.R:786:3'): ww_multi_scale with raster args can handle classification metrics (#60) ── Error in `ww_multi_scale_raster_args(data = data, truth = truth, estimate = estimate, metrics = metrics, grids = grids, ..., na_rm = na_rm, aggregation_function = aggregation_function, autoexpand_grid = autoexpand_grid, progress = progress)`: The package "exactextractr" is required. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-multi_scale.R:786:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─waywiser::ww_multi_scale(...) 5. └─waywiser:::ww_multi_scale_raster_args(...) 6. └─rlang::check_installed("exactextractr") ── Error ('test-multi_scale.R:805:3'): ww_multi_scale with raster data can handle classification metrics (#60) ── Error in `ww_multi_scale(r, truth = "l1", estimate = "l2", metrics = list(yardstick::precision), grids = list(sf::st_make_grid(l1)))`: The package "exactextractr" is required. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-multi_scale.R:805:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─waywiser::ww_multi_scale(...) 5. └─waywiser:::ww_multi_scale.SpatRaster(...) 6. └─rlang::check_installed("exactextractr") ── Error ('test-multi_scale.R:831:3'): ww_multi_scale with raster args can handle class prob metrics ── Error in `ww_multi_scale_raster_args(data = data, truth = truth, estimate = estimate, metrics = metrics, grids = grids, ..., na_rm = na_rm, aggregation_function = aggregation_function, autoexpand_grid = autoexpand_grid, progress = progress)`: The package "exactextractr" is required. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-multi_scale.R:831:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─waywiser::ww_multi_scale(...) 5. └─waywiser:::ww_multi_scale_raster_args(...) 6. └─rlang::check_installed("exactextractr") ── Error ('test-multi_scale.R:859:3'): ww_multi_scale with raster data can handle class prob metrics ── Error in `ww_multi_scale(r, truth = "l1", estimate = "l2", metrics = list(yardstick::pr_auc), grids = list(sf::st_make_grid(l1)))`: The package "exactextractr" is required. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-multi_scale.R:859:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─waywiser::ww_multi_scale(...) 5. └─waywiser:::ww_multi_scale.SpatRaster(...) 6. └─rlang::check_installed("exactextractr") ── Error ('test-multi_scale.R:879:3'): ww_multi_scale with rasters fails if metrics are mixed ── Error in `ww_multi_scale_raster_args(data = data, truth = truth, estimate = estimate, metrics = metrics, grids = grids, ..., na_rm = na_rm, aggregation_function = aggregation_function, autoexpand_grid = autoexpand_grid, progress = progress)`: The package "exactextractr" is required. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-multi_scale.R:879:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─waywiser::ww_multi_scale(...) 8. └─waywiser:::ww_multi_scale_raster_args(...) 9. └─rlang::check_installed("exactextractr") [ FAIL 5 | WARN 0 | SKIP 146 | PASS 276 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [83s] OK * checking PDF version of manual ... [24s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR