R Under development (unstable) (2025-02-11 r87713 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # 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