CRAN Package Check Results for Maintainer ‘Andrea Manica <am315 at cam.ac.uk>’

Last updated on 2025-12-04 09:50:17 CET.

Package ERROR NOTE OK
pastclim 1 12
tidypopgen 3 10
tidysdm 3 10

Package pastclim

Current CRAN status: ERROR: 1, OK: 12

Version: 2.2.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'a0_pastclim_overview.Rmd' using rmarkdown --- re-building 'a1_available_datasets.Rmd' using rmarkdown --- finished re-building 'a1_available_datasets.Rmd' --- re-building 'a2_custom_datasets.Rmd' using rmarkdown --- finished re-building 'a2_custom_datasets.Rmd' --- re-building 'a3_pastclim_present_and_future.Rmd' using rmarkdown --- finished re-building 'a3_pastclim_present_and_future.Rmd' --- re-building 'a4_delta_downscale_d.Rmd' using rmarkdown Quitting from a4_delta_downscale_d.Rmd:134-140 [unnamed-chunk-10] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! [rast] empty srs --- Backtrace: ▆ 1. ├─terra::readRDS(...) 2. └─terra::readRDS(...) 3. ├─terra::unwrap(x) 4. └─terra::unwrap(x) 5. └─terra (local) .local(x, ...) 6. └─base::lapply(x@rasters, unwrap) 7. ├─terra (local) FUN(X[[i]], ...) 8. └─terra (local) FUN(X[[i]], ...) 9. └─terra (local) .local(x, ...) 10. ├─base::eval(parse(text = x@definition)) 11. │ └─base::eval(parse(text = x@definition)) 12. ├─terra::rast(...) 13. └─terra::rast(...) 14. └─terra (local) .local(x = x, ...) 15. └─terra:::new_rast(...) 16. └─terra:::messages(r, "rast") 17. └─terra:::error(f, x@pntr$getError()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'a4_delta_downscale_d.Rmd' failed with diagnostics: [rast] empty srs --- failed re-building 'a4_delta_downscale_d.Rmd' SUMMARY: processing the following files failed: 'a0_pastclim_overview.Rmd' 'a4_delta_downscale_d.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-oldrel-windows-x86_64

Package tidypopgen

Current CRAN status: NOTE: 3, OK: 10

Version: 0.4.0
Check: package dependencies
Result: NOTE Packages suggested but not available for checking: 'admixtools', 'LEA' Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 0.4.0
Check: installed package size
Result: NOTE installed size is 9.3Mb sub-directories of 1Mb or more: doc 1.5Mb extdata 1.2Mb libs 5.7Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 0.4.0
Check: Rd cross-references
Result: NOTE Package unavailable to check Rd xrefs: ‘LEA’ Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 0.4.0
Check: package dependencies
Result: NOTE Package suggested but not available for checking: 'admixtools' Flavor: r-oldrel-windows-x86_64

Package tidysdm

Current CRAN status: ERROR: 3, OK: 10

Version: 1.0.3
Check: tests
Result: ERROR Running ‘spelling.R’ Running ‘testthat.R’ [133s/203s] 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(tidysdm) Loading required package: tidymodels ── Attaching packages ────────────────────────────────────── tidymodels 1.4.1 ── ✔ broom 1.0.10 ✔ recipes 1.3.1 ✔ dials 1.4.2 ✔ rsample 1.3.1 ✔ dplyr 1.1.4 ✔ tailor 0.1.0 ✔ ggplot2 4.0.1 ✔ tidyr 1.3.1 ✔ infer 1.0.9 ✔ tune 2.0.1 ✔ modeldata 1.5.1 ✔ workflows 1.3.0 ✔ parsnip 1.4.0 ✔ workflowsets 1.1.1 ✔ purrr 1.2.0 ✔ yardstick 1.3.2 ── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ── ✖ purrr::discard() masks scales::discard() ✖ dplyr::filter() masks stats::filter() ✖ dplyr::lag() masks stats::lag() ✖ recipes::step() masks stats::step() Loading required package: spatialsample > > test_check("tidysdm") Attaching package: 'plotrix' The following object is masked from 'package:scales': rescale i Creating pre-processing data to finalize 1 unknown parameter: "mtry" Saving _problems/test_explain_tidysdm-121.R Saving _problems/test_overlap_niche-14.R Saving _problems/test_predict_raster-8.R i Creating pre-processing data to finalize 1 unknown parameter: "mtry" [ FAIL 3 | WARN 0 | SKIP 1 | PASS 314 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test_filter_collinear.R:2:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_explain_tidysdm.R:121:3'): explain_tidysdm works with response provided directly ── Error in `xgb.get.handle(model)`: 'xgb.Booster' object is corrupted or is from an incompatible XGBoost version. Backtrace: ▆ 1. ├─testthat::expect_true(all.equal(test_explainer, test_explainer_y)) at test_explain_tidysdm.R:121:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::all.equal(test_explainer, test_explainer_y) 5. └─base::all.equal.default(test_explainer, test_explainer_y) 6. └─base::all.equal.list(target, current, ...) 7. ├─base::all.equal(...) 8. └─base::all.equal.default(...) 9. └─base::all.equal.list(target, current, ...) 10. ├─base::all.equal(...) 11. └─base::all.equal.list(...) 12. ├─base::all.equal(...) 13. └─base::all.equal.default(...) 14. └─base::all.equal.list(target, current, ...) 15. ├─base::all.equal(...) 16. └─base::all.equal.default(...) 17. └─base::all.equal.list(target, current, ...) 18. ├─base::all.equal(...) 19. └─base::all.equal.default(...) 20. └─base::all.equal.list(target, current, ...) 21. ├─base::all.equal(...) 22. └─base::all.equal.default(...) 23. └─base::all.equal.list(target, current, ...) 24. └─base::attr.all.equal(target, current, ...) 25. ├─base::length(target) 26. └─xgboost:::length.xgb.Booster(target) 27. └─xgboost::xgb.get.num.boosted.rounds(x) 28. └─xgboost:::xgb.get.handle(model) ── Error ('test_overlap_niche.R:14:3'): niche_overlap quantifies difference between rasters ── Error in `xgb.get.handle(object)`: 'xgb.Booster' object is corrupted or is from an incompatible XGBoost version. Backtrace: ▆ 1. ├─tidysdm::predict_raster(lacerta_ensemble, climate_present) at test_overlap_niche.R:14:3 2. ├─tidysdm:::predict_raster.default(lacerta_ensemble, climate_present) 3. │ ├─stats::predict(object, rast_sub_values, ...) 4. │ └─tidysdm:::predict.simple_ensemble(object, rast_sub_values, ...) 5. │ └─base::lapply(...) 6. │ ├─stats (local) FUN(X[[i]], ...) 7. │ └─workflows:::predict.workflow(X[[i]], ...) 8. │ ├─stats::predict(fit, new_data, type = type, opts = opts, ...) 9. │ └─parsnip::predict.model_fit(...) 10. │ ├─parsnip:::predict_classprob(...) 11. │ └─parsnip::predict_classprob.model_fit(...) 12. │ └─rlang::eval_tidy(pred_call) 13. └─parsnip::xgb_predict(object = object$fit, new_data = new_data) 14. ├─stats::predict(object, new_data, ...) 15. └─xgboost:::predict.xgb.Booster(object, new_data, ...) 16. └─xgboost:::xgb.best_iteration(object) 17. └─xgboost::xgb.attr(bst, "best_iteration") 18. └─xgboost:::xgb.get.handle(object) ── Error ('test_predict_raster.R:8:3'): predict_raster works correctly in chunks ── Error in `xgb.get.handle(object)`: 'xgb.Booster' object is corrupted or is from an incompatible XGBoost version. Backtrace: ▆ 1. ├─tidysdm::predict_raster(lacerta_ensemble, climate_future) at test_predict_raster.R:8:3 2. ├─tidysdm:::predict_raster.default(lacerta_ensemble, climate_future) 3. │ ├─stats::predict(object, rast_sub_values, ...) 4. │ └─tidysdm:::predict.simple_ensemble(object, rast_sub_values, ...) 5. │ └─base::lapply(...) 6. │ ├─stats (local) FUN(X[[i]], ...) 7. │ └─workflows:::predict.workflow(X[[i]], ...) 8. │ ├─stats::predict(fit, new_data, type = type, opts = opts, ...) 9. │ └─parsnip::predict.model_fit(...) 10. │ ├─parsnip:::predict_classprob(...) 11. │ └─parsnip::predict_classprob.model_fit(...) 12. │ └─rlang::eval_tidy(pred_call) 13. └─parsnip::xgb_predict(object = object$fit, new_data = new_data) 14. ├─stats::predict(object, new_data, ...) 15. └─xgboost:::predict.xgb.Booster(object, new_data, ...) 16. └─xgboost:::xgb.best_iteration(object) 17. └─xgboost::xgb.attr(bst, "best_iteration") 18. └─xgboost:::xgb.get.handle(object) [ FAIL 3 | WARN 0 | SKIP 1 | PASS 314 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘a0_tidysdm_overview.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘a0_tidysdm_overview.Rmd’ --- re-building ‘a1_palaeodata_application.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘a1_palaeodata_application.Rmd’ --- re-building ‘a2_tidymodels_additions.Rmd’ using rmarkdown Quitting from a2_tidymodels_additions.Rmd:65-69 [vip] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `xgb.get.handle()`: ! 'xgb.Booster' object is corrupted or is from an incompatible XGBoost version. --- Backtrace: ▆ 1. ├─DALEX::model_parts(explainer = explainer_lacerta_ens) 2. │ ├─ingredients::feature_importance(...) 3. │ └─ingredients:::feature_importance.explainer(...) 4. │ └─ingredients:::feature_importance.default(...) 5. │ └─base::replicate(B, loss_after_permutation()) 6. │ └─base::sapply(...) 7. │ └─base::lapply(X = X, FUN = FUN, ...) 8. │ └─ingredients (local) FUN(X[[i]], ...) 9. │ └─ingredients (local) loss_after_permutation() 10. │ ├─DALEX (local) loss_function(observed, predict_function(x, sampled_data)) 11. │ │ └─base::tapply(observed, predicted, sum) 12. │ └─tidysdm (local) predict_function(x, sampled_data) 13. │ ├─stats::predict(model, newdata) 14. │ └─tidysdm:::predict.simple_ensemble(model, newdata) 15. │ └─base::lapply(...) 16. │ ├─stats (local) FUN(X[[i]], ...) 17. │ └─workflows:::predict.workflow(X[[i]], ...) 18. │ ├─stats::predict(fit, new_data, type = type, opts = opts, ...) 19. │ └─parsnip::predict.model_fit(...) 20. │ ├─parsnip:::predict_classprob(...) 21. │ └─parsnip::predict_classprob.model_fit(...) 22. │ └─rlang::eval_tidy(pred_call) 23. └─parsnip::xgb_predict(object = object$fit, new_data = new_data) 24. ├─stats::predict(object, new_data, ...) 25. └─xgboost:::predict.xgb.Booster(object, new_data, ...) 26. └─xgboost:::xgb.best_iteration(object) 27. └─xgboost::xgb.attr(bst, "best_iteration") 28. └─xgboost:::xgb.get.handle(object) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'a2_tidymodels_additions.Rmd' failed with diagnostics: 'xgb.Booster' object is corrupted or is from an incompatible XGBoost version. --- failed re-building ‘a2_tidymodels_additions.Rmd’ --- re-building ‘a3_troubleshooting.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘a3_troubleshooting.Rmd’ SUMMARY: processing the following file failed: ‘a2_tidymodels_additions.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.0.3
Check: tests
Result: ERROR Running ‘spelling.R’ Running ‘testthat.R’ [124s/181s] 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(tidysdm) Loading required package: tidymodels ── Attaching packages ────────────────────────────────────── tidymodels 1.4.1 ── ✔ broom 1.0.10 ✔ recipes 1.3.1 ✔ dials 1.4.2 ✔ rsample 1.3.1 ✔ dplyr 1.1.4 ✔ tailor 0.1.0 ✔ ggplot2 4.0.1 ✔ tidyr 1.3.1 ✔ infer 1.0.9 ✔ tune 2.0.1 ✔ modeldata 1.5.1 ✔ workflows 1.3.0 ✔ parsnip 1.4.0 ✔ workflowsets 1.1.1 ✔ purrr 1.2.0 ✔ yardstick 1.3.2 ── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ── ✖ purrr::discard() masks scales::discard() ✖ dplyr::filter() masks stats::filter() ✖ dplyr::lag() masks stats::lag() ✖ recipes::step() masks stats::step() Loading required package: spatialsample > > test_check("tidysdm") Attaching package: 'plotrix' The following object is masked from 'package:scales': rescale i Creating pre-processing data to finalize 1 unknown parameter: "mtry" Saving _problems/test_explain_tidysdm-121.R Saving _problems/test_overlap_niche-14.R Saving _problems/test_predict_raster-8.R i Creating pre-processing data to finalize 1 unknown parameter: "mtry" [ FAIL 3 | WARN 0 | SKIP 1 | PASS 314 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test_filter_collinear.R:2:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_explain_tidysdm.R:121:3'): explain_tidysdm works with response provided directly ── Error in `xgb.get.handle(model)`: 'xgb.Booster' object is corrupted or is from an incompatible XGBoost version. Backtrace: ▆ 1. ├─testthat::expect_true(all.equal(test_explainer, test_explainer_y)) at test_explain_tidysdm.R:121:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::all.equal(test_explainer, test_explainer_y) 5. └─base::all.equal.default(test_explainer, test_explainer_y) 6. └─base::all.equal.list(target, current, ...) 7. ├─base::all.equal(...) 8. └─base::all.equal.default(...) 9. └─base::all.equal.list(target, current, ...) 10. ├─base::all.equal(...) 11. └─base::all.equal.list(...) 12. ├─base::all.equal(...) 13. └─base::all.equal.default(...) 14. └─base::all.equal.list(target, current, ...) 15. ├─base::all.equal(...) 16. └─base::all.equal.default(...) 17. └─base::all.equal.list(target, current, ...) 18. ├─base::all.equal(...) 19. └─base::all.equal.default(...) 20. └─base::all.equal.list(target, current, ...) 21. ├─base::all.equal(...) 22. └─base::all.equal.default(...) 23. └─base::all.equal.list(target, current, ...) 24. └─base::attr.all.equal(target, current, ...) 25. ├─base::length(target) 26. └─xgboost:::length.xgb.Booster(target) 27. └─xgboost::xgb.get.num.boosted.rounds(x) 28. └─xgboost:::xgb.get.handle(model) ── Error ('test_overlap_niche.R:14:3'): niche_overlap quantifies difference between rasters ── Error in `xgb.get.handle(object)`: 'xgb.Booster' object is corrupted or is from an incompatible XGBoost version. Backtrace: ▆ 1. ├─tidysdm::predict_raster(lacerta_ensemble, climate_present) at test_overlap_niche.R:14:3 2. ├─tidysdm:::predict_raster.default(lacerta_ensemble, climate_present) 3. │ ├─stats::predict(object, rast_sub_values, ...) 4. │ └─tidysdm:::predict.simple_ensemble(object, rast_sub_values, ...) 5. │ └─base::lapply(...) 6. │ ├─stats (local) FUN(X[[i]], ...) 7. │ └─workflows:::predict.workflow(X[[i]], ...) 8. │ ├─stats::predict(fit, new_data, type = type, opts = opts, ...) 9. │ └─parsnip::predict.model_fit(...) 10. │ ├─parsnip:::predict_classprob(...) 11. │ └─parsnip::predict_classprob.model_fit(...) 12. │ └─rlang::eval_tidy(pred_call) 13. └─parsnip::xgb_predict(object = object$fit, new_data = new_data) 14. ├─stats::predict(object, new_data, ...) 15. └─xgboost:::predict.xgb.Booster(object, new_data, ...) 16. └─xgboost:::xgb.best_iteration(object) 17. └─xgboost::xgb.attr(bst, "best_iteration") 18. └─xgboost:::xgb.get.handle(object) ── Error ('test_predict_raster.R:8:3'): predict_raster works correctly in chunks ── Error in `xgb.get.handle(object)`: 'xgb.Booster' object is corrupted or is from an incompatible XGBoost version. Backtrace: ▆ 1. ├─tidysdm::predict_raster(lacerta_ensemble, climate_future) at test_predict_raster.R:8:3 2. ├─tidysdm:::predict_raster.default(lacerta_ensemble, climate_future) 3. │ ├─stats::predict(object, rast_sub_values, ...) 4. │ └─tidysdm:::predict.simple_ensemble(object, rast_sub_values, ...) 5. │ └─base::lapply(...) 6. │ ├─stats (local) FUN(X[[i]], ...) 7. │ └─workflows:::predict.workflow(X[[i]], ...) 8. │ ├─stats::predict(fit, new_data, type = type, opts = opts, ...) 9. │ └─parsnip::predict.model_fit(...) 10. │ ├─parsnip:::predict_classprob(...) 11. │ └─parsnip::predict_classprob.model_fit(...) 12. │ └─rlang::eval_tidy(pred_call) 13. └─parsnip::xgb_predict(object = object$fit, new_data = new_data) 14. ├─stats::predict(object, new_data, ...) 15. └─xgboost:::predict.xgb.Booster(object, new_data, ...) 16. └─xgboost:::xgb.best_iteration(object) 17. └─xgboost::xgb.attr(bst, "best_iteration") 18. └─xgboost:::xgb.get.handle(object) [ FAIL 3 | WARN 0 | SKIP 1 | PASS 314 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.3
Check: examples
Result: ERROR Running examples in 'tidysdm-Ex.R' failed The error most likely occurred in: > ### Name: make_mask_from_presence > ### Title: Make a mask from presence data > ### Aliases: make_mask_from_presence > > ### ** Examples > > lacerta_sf <- lacerta %>% + sf::st_as_sf(coords = c("longitude", "latitude")) %>% + sf::st_set_crs(4326) > land_mask <- terra::readRDS(system.file("extdata/lacerta_land_mask.rds", + package = "tidysdm" + )) Warning: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1) Error: [rast] empty srs Execution halted Flavor: r-oldrel-windows-x86_64

Version: 1.0.3
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [97s] 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(tidysdm) Loading required package: tidymodels ── Attaching packages ────────────────────────────────────── tidymodels 1.4.1 ── ✔ broom 1.0.10 ✔ recipes 1.3.1 ✔ dials 1.4.2 ✔ rsample 1.3.1 ✔ dplyr 1.1.4 ✔ tailor 0.1.0 ✔ ggplot2 4.0.1 ✔ tidyr 1.3.1 ✔ infer 1.0.9 ✔ tune 2.0.1 ✔ modeldata 1.5.1 ✔ workflows 1.3.0 ✔ parsnip 1.4.0 ✔ workflowsets 1.1.1 ✔ purrr 1.2.0 ✔ yardstick 1.3.2 ── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ── ✖ purrr::discard() masks scales::discard() ✖ dplyr::filter() masks stats::filter() ✖ dplyr::lag() masks stats::lag() ✖ recipes::step() masks stats::step() Loading required package: spatialsample > > test_check("tidysdm") Saving _problems/test_blockcv2rsample-49.R Attaching package: 'plotrix' The following object is masked from 'package:scales': rescale Saving _problems/test_clamp_predictors-9.R Saving _problems/test_clamp_predictors-73.R i Creating pre-processing data to finalize 1 unknown parameter: "mtry" Saving _problems/test_extrapol_mess-9.R Saving _problems/test_extrapol_mess-76.R Saving _problems/test_overlap_niche-7.R Saving _problems/test_predict_raster-6.R i Creating pre-processing data to finalize 1 unknown parameter: "mtry" Saving _problems/test_thin_by_cell-8.R Saving _problems/test_thin_by_cell_time-8.R [ FAIL 9 | WARN 12 | SKIP 1 | PASS 270 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test_filter_collinear.R:2:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_blockcv2rsample.R:42:3'): blockcv2rsample conversion ─────────── Error in `stats::kmeans(x_vals, centers = k, iter.max = 500, nstart = 25, ...)`: more cluster centers than distinct data points. Backtrace: ▆ 1. └─blockCV::cv_cluster(...) at test_blockcv2rsample.R:42:3 2. └─stats::kmeans(...) ── Error ('test_clamp_predictors.R:5:3'): clamping_predictor works on SpatRasters ── Error: [rast] empty srs Backtrace: ▆ 1. ├─terra::readRDS(...) at test_clamp_predictors.R:5:3 2. └─terra::readRDS(...) 3. ├─terra::unwrap(x) 4. └─terra::unwrap(x) 5. └─terra (local) .local(x, ...) 6. ├─base::eval(parse(text = x@definition)) 7. │ └─base::eval(parse(text = x@definition)) 8. ├─terra::rast(...) 9. └─terra::rast(...) 10. └─terra (local) .local(x = x, ...) 11. └─terra:::new_rast(...) 12. └─terra:::messages(r, "rast") 13. └─terra:::error(f, x@pntr$getError()) ── Error ('test_clamp_predictors.R:69:3'): clamping_predictor works on stars ─── Error: [rast] empty srs Backtrace: ▆ 1. ├─terra::readRDS(...) at test_clamp_predictors.R:69:3 2. └─terra::readRDS(...) 3. ├─terra::unwrap(x) 4. └─terra::unwrap(x) 5. └─terra (local) .local(x, ...) 6. ├─base::eval(parse(text = x@definition)) 7. │ └─base::eval(parse(text = x@definition)) 8. ├─terra::rast(...) 9. └─terra::rast(...) 10. └─terra (local) .local(x = x, ...) 11. └─terra:::new_rast(...) 12. └─terra:::messages(r, "rast") 13. └─terra:::error(f, x@pntr$getError()) ── Error ('test_extrapol_mess.R:5:3'): mess_predictor works on SpatRasters and df ── Error: [rast] empty srs Backtrace: ▆ 1. ├─terra::readRDS(...) at test_extrapol_mess.R:5:3 2. └─terra::readRDS(...) 3. ├─terra::unwrap(x) 4. └─terra::unwrap(x) 5. └─terra (local) .local(x, ...) 6. ├─base::eval(parse(text = x@definition)) 7. │ └─base::eval(parse(text = x@definition)) 8. ├─terra::rast(...) 9. └─terra::rast(...) 10. └─terra (local) .local(x = x, ...) 11. └─terra:::new_rast(...) 12. └─terra:::messages(r, "rast") 13. └─terra:::error(f, x@pntr$getError()) ── Error ('test_extrapol_mess.R:71:3'): mess_predictor works on stars ────────── Error: [rast] empty srs Backtrace: ▆ 1. ├─... %>% stars::st_as_stars(as_attributes = TRUE) at test_extrapol_mess.R:71:3 2. ├─stars::st_as_stars(., as_attributes = TRUE) 3. ├─terra::readRDS(...) 4. └─terra::readRDS(...) 5. ├─terra::unwrap(x) 6. └─terra::unwrap(x) 7. └─terra (local) .local(x, ...) 8. ├─base::eval(parse(text = x@definition)) 9. │ └─base::eval(parse(text = x@definition)) 10. ├─terra::rast(...) 11. └─terra::rast(...) 12. └─terra (local) .local(x = x, ...) 13. └─terra:::new_rast(...) 14. └─terra:::messages(r, "rast") 15. └─terra:::error(f, x@pntr$getError()) ── Error ('test_overlap_niche.R:3:3'): niche_overlap quantifies difference between rasters ── Error: [rast] empty srs Backtrace: ▆ 1. ├─terra::readRDS(...) at test_overlap_niche.R:3:3 2. └─terra::readRDS(...) 3. ├─terra::unwrap(x) 4. └─terra::unwrap(x) 5. └─terra (local) .local(x, ...) 6. ├─base::eval(parse(text = x@definition)) 7. │ └─base::eval(parse(text = x@definition)) 8. ├─terra::rast(...) 9. └─terra::rast(...) 10. └─terra (local) .local(x = x, ...) 11. └─terra:::new_rast(...) 12. └─terra:::messages(r, "rast") 13. └─terra:::error(f, x@pntr$getError()) ── Error ('test_predict_raster.R:2:1'): (code run outside of `test_that()`) ──── Error: [rast] empty srs Backtrace: ▆ 1. ├─terra::readRDS(...) at test_predict_raster.R:2:1 2. └─terra::readRDS(...) 3. ├─terra::unwrap(x) 4. └─terra::unwrap(x) 5. └─terra (local) .local(x, ...) 6. ├─base::eval(parse(text = x@definition)) 7. │ └─base::eval(parse(text = x@definition)) 8. ├─terra::rast(...) 9. └─terra::rast(...) 10. └─terra (local) .local(x = x, ...) 11. └─terra:::new_rast(...) 12. └─terra:::messages(r, "rast") 13. └─terra:::error(f, x@pntr$getError()) ── Error ('test_thin_by_cell.R:6:3'): thin_by_cell respects projections ──────── Error: [rast] empty srs Backtrace: ▆ 1. ├─terra::readRDS(system.file("extdata/lacerta_land_mask.rds", package = "tidysdm")) at test_thin_by_cell.R:6:3 2. └─terra::readRDS(system.file("extdata/lacerta_land_mask.rds", package = "tidysdm")) 3. ├─terra::unwrap(x) 4. └─terra::unwrap(x) 5. └─terra (local) .local(x, ...) 6. ├─base::eval(parse(text = x@definition)) 7. │ └─base::eval(parse(text = x@definition)) 8. ├─terra::rast(...) 9. └─terra::rast(...) 10. └─terra (local) .local(x = x, ...) 11. └─terra:::new_rast(...) 12. └─terra:::messages(r, "rast") 13. └─terra:::error(f, x@pntr$getError()) ── Error ('test_thin_by_cell_time.R:5:1'): (code run outside of `test_that()`) ── Error: [rast] empty srs Backtrace: ▆ 1. ├─terra::rast(...) at test_thin_by_cell_time.R:5:1 2. └─terra::rast(...) 3. └─terra (local) .local(x, ...) 4. ├─terra::rast(nrows = nrow(x), ncols = ncol(x), crs = crs, extent = extent) 5. └─terra::rast(nrows = nrow(x), ncols = ncol(x), crs = crs, extent = extent) 6. └─terra (local) .local(x = x, ...) 7. └─terra:::new_rast(...) 8. └─terra:::messages(r, "rast") 9. └─terra:::error(f, x@pntr$getError()) [ FAIL 9 | WARN 12 | SKIP 1 | PASS 270 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64

Version: 1.0.3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'a0_tidysdm_overview.Rmd' using rmarkdown Quitting from a0_tidysdm_overview.Rmd:156-171 [land_mask_load] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! [rast] empty srs --- Backtrace: ▆ 1. ├─terra::readRDS(system.file("extdata/lacerta_land_mask.rds", package = "tidysdm")) 2. └─terra::readRDS(system.file("extdata/lacerta_land_mask.rds", package = "tidysdm")) 3. ├─terra::unwrap(x) 4. └─terra::unwrap(x) 5. └─terra (local) .local(x, ...) 6. ├─base::eval(parse(text = x@definition)) 7. │ └─base::eval(parse(text = x@definition)) 8. ├─terra::rast(...) 9. └─terra::rast(...) 10. └─terra (local) .local(x = x, ...) 11. └─terra:::new_rast(...) 12. └─terra:::messages(r, "rast") 13. └─terra:::error(f, x@pntr$getError()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'a0_tidysdm_overview.Rmd' failed with diagnostics: [rast] empty srs --- failed re-building 'a0_tidysdm_overview.Rmd' --- re-building 'a1_palaeodata_application.Rmd' using rmarkdown --- finished re-building 'a1_palaeodata_application.Rmd' --- re-building 'a2_tidymodels_additions.Rmd' using rmarkdown Quitting from a2_tidymodels_additions.Rmd:318-328 [unnamed-chunk-11] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! [rast] empty srs --- Backtrace: ▆ 1. ├─terra::readRDS(...) 2. └─terra::readRDS(...) 3. ├─terra::unwrap(x) 4. └─terra::unwrap(x) 5. └─terra (local) .local(x, ...) 6. ├─base::eval(parse(text = x@definition)) 7. │ └─base::eval(parse(text = x@definition)) 8. ├─terra::rast(...) 9. └─terra::rast(...) 10. └─terra (local) .local(x = x, ...) 11. └─terra:::new_rast(...) 12. └─terra:::messages(r, "rast") 13. └─terra:::error(f, x@pntr$getError()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'a2_tidymodels_additions.Rmd' failed with diagnostics: [rast] empty srs --- failed re-building 'a2_tidymodels_additions.Rmd' --- re-building 'a3_troubleshooting.Rmd' using rmarkdown --- finished re-building 'a3_troubleshooting.Rmd' SUMMARY: processing the following files failed: 'a0_tidysdm_overview.Rmd' 'a2_tidymodels_additions.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-oldrel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.