CRAN Package Check Results for Package blockCV

Last updated on 2025-12-03 05:50:01 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.2-0 17.87 199.04 216.91 OK
r-devel-linux-x86_64-debian-gcc 3.2-0 11.75 136.09 147.84 OK
r-devel-linux-x86_64-fedora-clang 3.2-0 38.00 313.97 351.97 OK
r-devel-linux-x86_64-fedora-gcc 3.2-0 76.00 291.06 367.06 OK
r-devel-windows-x86_64 3.2-0 29.00 216.00 245.00 OK
r-patched-linux-x86_64 3.2-0 18.42 129.83 148.25 ERROR
r-release-linux-x86_64 3.2-0 15.39 189.16 204.55 OK
r-release-macos-arm64 3.2-0 OK
r-release-macos-x86_64 3.2-0 13.00 192.00 205.00 OK
r-release-windows-x86_64 3.2-0 25.00 214.00 239.00 OK
r-oldrel-macos-arm64 3.2-0 OK
r-oldrel-macos-x86_64 3.2-0 11.00 193.00 204.00 OK
r-oldrel-windows-x86_64 3.2-0 26.00 200.00 226.00 ERROR

Check Details

Version: 3.2-0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘tutorial_1.Rmd’ using rmarkdown Quitting from tutorial_1.Rmd:70-81 [unnamed-chunk-3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `library()`: ! there is no package called 'tmap' --- Backtrace: ▆ 1. └─base::library(tmap) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'tutorial_1.Rmd' failed with diagnostics: there is no package called 'tmap' --- failed re-building ‘tutorial_1.Rmd’ --- re-building ‘tutorial_2.Rmd’ using rmarkdown Quitting from tutorial_2.Rmd:39-50 [unnamed-chunk-2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `library()`: ! there is no package called 'tmap' --- Backtrace: ▆ 1. └─base::library(tmap) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'tutorial_2.Rmd' failed with diagnostics: there is no package called 'tmap' --- failed re-building ‘tutorial_2.Rmd’ SUMMARY: processing the following files failed: ‘tutorial_1.Rmd’ ‘tutorial_2.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-patched-linux-x86_64

Version: 3.2-0
Check: tests
Result: ERROR Running 'testthat.R' [57s] 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(blockCV) blockCV 3.2.0 > > test_check("blockCV") | | | 0% | |= | 1% | |= | 2% | |== | 2% | |== | 3% | |== | 4% | |=== | 4% | |==== | 5% | |==== | 6% | |===== | 6% | |===== | 7% | |===== | 8% | |====== | 8% | |====== | 9% | |======= | 10% | |======== | 11% | |======== | 12% | |========= | 12% | |========= | 13% | |========= | 14% | |========== | 14% | |========== | 15% | |=========== | 16% | |============ | 16% | |============ | 17% | |============ | 18% | |============= | 18% | |============= | 19% | |============== | 20% | |=============== | 21% | |=============== | 22% | |================ | 22% | |================ | 23% | |================ | 24% | |================= | 24% | |================== | 25% | |================== | 26% | |=================== | 26% | |=================== | 27% | |=================== | 28% | |==================== | 28% | |==================== | 29% | |===================== | 30% | |====================== | 31% | |====================== | 32% | |======================= | 32% | |======================= | 33% | |======================= | 34% | |======================== | 34% | |======================== | 35% | |========================= | 36% | |========================== | 36% | |========================== | 37% | |========================== | 38% | |=========================== | 38% | |=========================== | 39% | |============================ | 40% | |============================= | 41% | |============================= | 42% | |============================== | 42% | |============================== | 43% | |============================== | 44% | |=============================== | 44% | |================================ | 45% | |================================ | 46% | |================================= | 46% | |================================= | 47% | |================================= | 48% | |================================== | 48% | |================================== | 49% | |=================================== | 50% | |==================================== | 51% | |==================================== | 52% | |===================================== | 52% | |===================================== | 53% | |===================================== | 54% | |====================================== | 54% | |====================================== | 55% | |======================================= | 56% | |======================================== | 56% | |======================================== | 57% | |======================================== | 58% | |========================================= | 58% | |========================================= | 59% | |========================================== | 60% | |=========================================== | 61% | |=========================================== | 62% | |============================================ | 62% | |============================================ | 63% | |============================================ | 64% | |============================================= | 64% | |============================================== | 65% | |============================================== | 66% | |=============================================== | 66% | |=============================================== | 67% | |=============================================== | 68% | |================================================ | 68% | |================================================ | 69% | |================================================= | 70% | |================================================== | 71% | |================================================== | 72% | |=================================================== | 72% | |=================================================== | 73% | |=================================================== | 74% | |==================================================== | 74% | |==================================================== | 75% | |===================================================== | 76% | |====================================================== | 76% | |====================================================== | 77% | |====================================================== | 78% | |======================================================= | 78% | |======================================================= | 79% | |======================================================== | 80% | |========================================================= | 81% | |========================================================= | 82% | |========================================================== | 82% | |========================================================== | 83% | |========================================================== | 84% | |=========================================================== | 84% | |============================================================ | 85% | |============================================================ | 86% | |============================================================= | 86% | |============================================================= | 87% | |============================================================= | 88% | |============================================================== | 88% | |============================================================== | 89% | |=============================================================== | 90% | |================================================================ | 91% | |================================================================ | 92% | |================================================================= | 92% | |================================================================= | 93% | |================================================================= | 94% | |================================================================== | 94% | |================================================================== | 95% | |=================================================================== | 96% | |==================================================================== | 96% | |==================================================================== | 97% | |==================================================================== | 98% | |===================================================================== | 98% | |===================================================================== | 99% | |======================================================================| 100% train_0 train_1 test_0 test_1 Min. : 92.0 Min. :53.00 Min. :0.000 Min. :0.000 Mean :104.6 Mean :78.84 Mean :0.555 Mean :0.445 Max. :111.0 Max. :89.00 Max. :1.000 Max. :1.000 train_0 train_1 test_0 test_1 Min. : 95.0 Min. :53.00 Min. :0 Min. :1 Mean :106.2 Mean :71.01 Mean :0 Mean :1 Max. :111.0 Max. :88.00 Max. :0 Max. :1 | | | 0% | |= | 1% | |= | 2% | |== | 2% | |== | 3% | |== | 4% | |=== | 4% | |==== | 5% | |==== | 6% | |===== | 6% | |===== | 7% | |===== | 8% | |====== | 8% | |====== | 9% | |======= | 10% | |======== | 11% | |======== | 12% | |========= | 12% | |========= | 13% | |========= | 14% | |========== | 14% | |========== | 15% | |=========== | 16% | |============ | 16% | |============ | 17% | |============ | 18% | |============= | 18% | |============= | 19% | |============== | 20% | |=============== | 21% | |=============== | 22% | |================ | 22% | |================ | 23% | |================ | 24% | |================= | 24% | |================== | 25% | |================== | 26% | |=================== | 26% | |=================== | 27% | |=================== | 28% | |==================== | 28% | |==================== | 29% | |===================== | 30% | |====================== | 31% | |====================== | 32% | |======================= | 32% | |======================= | 33% | |======================= | 34% | |======================== | 34% | |======================== | 35% | |========================= | 36% | |========================== | 36% | |========================== | 37% | |========================== | 38% | |=========================== | 38% | |=========================== | 39% | |============================ | 40% | |============================= | 41% | |============================= | 42% | |============================== | 42% | |============================== | 43% | |============================== | 44% | |=============================== | 44% | |================================ | 45% | |================================ | 46% | |================================= | 46% | |================================= | 47% | |================================= | 48% | |================================== | 48% | |================================== | 49% | |=================================== | 50% | |==================================== | 51% | |==================================== | 52% | |===================================== | 52% | |===================================== | 53% | |===================================== | 54% | |====================================== | 54% | |====================================== | 55% | |======================================= | 56% | |======================================== | 56% | |======================================== | 57% | |======================================== | 58% | |========================================= | 58% | |========================================= | 59% | |========================================== | 60% | |=========================================== | 61% | |=========================================== | 62% | |============================================ | 62% | |============================================ | 63% | |============================================ | 64% | |============================================= | 64% | |============================================== | 65% | |============================================== | 66% | |=============================================== | 66% | |=============================================== | 67% | |=============================================== | 68% | |================================================ | 68% | |================================================ | 69% | |================================================= | 70% | |================================================== | 71% | |================================================== | 72% | |=================================================== | 72% | |=================================================== | 73% | |=================================================== | 74% | |==================================================== | 74% | |==================================================== | 75% | |===================================================== | 76% | |====================================================== | 76% | |====================================================== | 77% | |====================================================== | 78% | |======================================================= | 78% | |======================================================= | 79% | |======================================================== | 80% | |========================================================= | 81% | |========================================================= | 82% | |========================================================== | 82% | |========================================================== | 83% | |========================================================== | 84% | |=========================================================== | 84% | |============================================================ | 85% | |============================================================ | 86% | |============================================================= | 86% | |============================================================= | 87% | |============================================================= | 88% | |============================================================== | 88% | |============================================================== | 89% | |=============================================================== | 90% | |================================================================ | 91% | |================================================================ | 92% | |================================================================= | 92% | |================================================================= | 93% | |================================================================= | 94% | |================================================================== | 94% | |================================================================== | 95% | |=================================================================== | 96% | |==================================================================== | 96% | |==================================================================== | 97% | |==================================================================== | 98% | |===================================================================== | 98% | |===================================================================== | 99% | |======================================================================| 100% train test Min. :162.0 Min. :1 Mean :183.5 Mean :1 Max. :199.0 Max. :1 [1] "cv_buffer" | | | 0% | |= | 1% | |= | 2% | |== | 2% | |== | 3% | |== | 4% | |=== | 4% | |==== | 5% | |==== | 6% | |===== | 6% | |===== | 7% | |===== | 8% | |====== | 8% | |====== | 9% | |======= | 10% | |======== | 11% | |======== | 12% | |========= | 12% | |========= | 13% | |========= | 14% | |========== | 14% | |========== | 15% | |=========== | 16% | |============ | 16% | |============ | 17% | |============ | 18% | |============= | 18% | |============= | 19% | |============== | 20% | |=============== | 21% | |=============== | 22% | |================ | 22% | |================ | 23% | |================ | 24% | |================= | 24% | |================== | 25% | |================== | 26% | |=================== | 26% | |=================== | 27% | |=================== | 28% | |==================== | 28% | |==================== | 29% | |===================== | 30% | |====================== | 31% | |====================== | 32% | |======================= | 32% | |======================= | 33% | |======================= | 34% | |======================== | 34% | |======================== | 35% | |========================= | 36% | |========================== | 36% | |========================== | 37% | |========================== | 38% | |=========================== | 38% | |=========================== | 39% | |============================ | 40% | |============================= | 41% | |============================= | 42% | |============================== | 42% | |============================== | 43% | |============================== | 44% | |=============================== | 44% | |================================ | 45% | |================================ | 46% | |================================= | 46% | |================================= | 47% | |================================= | 48% | |================================== | 48% | |================================== | 49% | |=================================== | 50% | |==================================== | 51% | |==================================== | 52% | |===================================== | 52% | |===================================== | 53% | |===================================== | 54% | |====================================== | 54% | |====================================== | 55% | |======================================= | 56% | |======================================== | 56% | |======================================== | 57% | |======================================== | 58% | |========================================= | 58% | |========================================= | 59% | |========================================== | 60% | |=========================================== | 61% | |=========================================== | 62% | |============================================ | 62% | |============================================ | 63% | |============================================ | 64% | |============================================= | 64% | |============================================== | 65% | |============================================== | 66% | |=============================================== | 66% | |=============================================== | 67% | |=============================================== | 68% | |================================================ | 68% | |================================================ | 69% | |================================================= | 70% | |================================================== | 71% | |================================================== | 72% | |=================================================== | 72% | |=================================================== | 73% | |=================================================== | 74% | |==================================================== | 74% | |==================================================== | 75% | |===================================================== | 76% | |====================================================== | 76% | |====================================================== | 77% | |====================================================== | 78% | |======================================================= | 78% | |======================================================= | 79% | |======================================================== | 80% | |========================================================= | 81% | |========================================================= | 82% | |========================================================== | 82% | |========================================================== | 83% | |========================================================== | 84% | |=========================================================== | 84% | |============================================================ | 85% | |============================================================ | 86% | |============================================================= | 86% | |============================================================= | 87% | |============================================================= | 88% | |============================================================== | 88% | |============================================================== | 89% | |=============================================================== | 90% | |================================================================ | 91% | |================================================================ | 92% | |================================================================= | 92% | |================================================================= | 93% | |================================================================= | 94% | |================================================================== | 94% | |================================================================== | 95% | |=================================================================== | 96% | |==================================================================== | 96% | |==================================================================== | 97% | |==================================================================== | 98% | |===================================================================== | 98% | |===================================================================== | 99% | |======================================================================| 100% train test Min. :162.0 Min. :1 Mean :183.5 Mean :1 Max. :199.0 Max. :1 'x' is not convertible to an sf object! 'x' must be an sf or spatial* object. train_0 train_1 test_0 test_1 1 106 97 151 146 2 206 199 51 44 3 202 190 55 53 train test 1 470 30 2 327 173 3 313 187 4 460 40 5 430 70 [1] "cv_cluster" train test 1 486 14 2 361 139 3 453 47 4 285 215 5 415 85 'x' is not convertible to an sf object! 'x' must be an sf or spatial* object. 'r' is not convertible to a terra SpatRaster object! 'r' must be a SpatRaster, stars, Raster* object, or path to a raster file on disk. Saving _problems/test-cv_nndm-29.R Saving _problems/test-cv_nndm-54.R Saving _problems/test-cv_nndm-78.R Saving _problems/test-cv_nndm-108.R 'x' is not convertible to an sf object! 'x' must be an sf or spatial* object. train test 1 431 69 2 447 53 3 436 64 4 302 198 5 384 116 | | | 0%Saving _problems/test-cv_similarity-22.R | | | 0%Saving _problems/test-cv_similarity-31.R | | | 0%Saving _problems/test-cv_similarity-40.R | | | 0% | |= | 1% | |= | 2% | |== | 2% | |== | 3% | |== | 4% | |=== | 4% | |==== | 5% | |==== | 6% | |===== | 6% | |===== | 7% | |===== | 8% | |====== | 8% | |====== | 9% | |======= | 10% | |======== | 11% | |======== | 12% | |========= | 12% | |========= | 13% | |========= | 14% | |========== | 14% | |========== | 15% | |=========== | 16% | |============ | 16% | |============ | 17% | |============ | 18% | |============= | 18% | |============= | 19% | |============== | 20% | |=============== | 21% | |=============== | 22% | |================ | 22% | |================ | 23% | |================ | 24% | |================= | 24% | |================== | 25% | |================== | 26% | |=================== | 26% | |=================== | 27% | |=================== | 28% | |==================== | 28% | |==================== | 29% | |===================== | 30% | |====================== | 31% | |====================== | 32% | |======================= | 32% | |======================= | 33% | |======================= | 34% | |======================== | 34% | |======================== | 35% | |========================= | 36% | |========================== | 36% | |========================== | 37% | |========================== | 38% | |=========================== | 38% | |=========================== | 39% | |============================ | 40% | |============================= | 41% | |============================= | 42% | |============================== | 42% | |============================== | 43% | |============================== | 44% | |=============================== | 44% | |================================ | 45% | |================================ | 46% | |================================= | 46% | |================================= | 47% | |================================= | 48% | |================================== | 48% | |================================== | 49% | |=================================== | 50% | |==================================== | 51% | |==================================== | 52% | |===================================== | 52% | |===================================== | 53% | |===================================== | 54% | |====================================== | 54% | |====================================== | 55% | |======================================= | 56% | |======================================== | 56% | |======================================== | 57% | |======================================== | 58% | |========================================= | 58% | |========================================= | 59% | |========================================== | 60% | |=========================================== | 61% | |=========================================== | 62% | |============================================ | 62% | |============================================ | 63% | |============================================ | 64% | |============================================= | 64% | |============================================== | 65% | |============================================== | 66% | |=============================================== | 66% | |=============================================== | 67% | |=============================================== | 68% | |================================================ | 68% | |================================================ | 69% | |================================================= | 70% | |================================================== | 71% | |================================================== | 72% | |=================================================== | 72% | |=================================================== | 73% | |=================================================== | 74% | |==================================================== | 74% | |==================================================== | 75% | |===================================================== | 76% | |====================================================== | 76% | |====================================================== | 77% | |====================================================== | 78% | |======================================================= | 78% | |======================================================= | 79% | |======================================================== | 80% | |========================================================= | 81% | |========================================================= | 82% | |========================================================== | 82% | |========================================================== | 83% | |========================================================== | 84% | |=========================================================== | 84% | |============================================================ | 85% | |============================================================ | 86% | |============================================================= | 86% | |============================================================= | 87% | |============================================================= | 88% | |============================================================== | 88% | |============================================================== | 89% | |=============================================================== | 90% | |================================================================ | 91% | |================================================================ | 92% | |================================================================= | 92% | |================================================================= | 93% | |================================================================= | 94% | |================================================================== | 94% | |================================================================== | 95% | |=================================================================== | 96% | |==================================================================== | 96% | |==================================================================== | 97% | |==================================================================== | 98% | |===================================================================== | 98% | |===================================================================== | 99% | |======================================================================| 100% | | | 0%Saving _problems/test-cv_spatial-33.R train test 1 147 53 2 150 50 3 174 26 4 170 30 5 159 41 [1] "cv_spatial" train test 1 171 29 2 139 61 3 155 45 4 162 38 5 173 27 [1] "cv_spatial" train test 1 87 113 2 113 87 [1] "cv_spatial" train test 1 142 58 2 156 44 3 158 42 4 168 32 5 176 24 [1] "cv_spatial" | | | 0% | | | 0%'user_blocks' is not convertible to an sf object! 'user_blocks' must be an sf or spatial* object. | | | 0% | | | 0%Saving _problems/test-cv_spatial-240.R | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100%Saving _problems/test-cv_spatial_autocor-25.R Saving _problems/test-cv_spatial_autocor-73.R This function is deprecated! Please use 'cv_spatial_autocor' instead. | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100%Saving _problems/test-v2-functions-27.R This function is deprecated! Please use 'cv_spatial_autocor' instead. Saving _problems/test-v2-functions-62.R This function is deprecated! Please use 'cv_spatial' instead. | | | 0%Saving _problems/test-v2-functions-107.R This function is deprecated! Please use 'cv_buffer' instead. | | | 0% | | | 1% | |= | 1% | |= | 2% | |== | 2% | |== | 3% | |=== | 4% | |=== | 5% | |==== | 5% | |==== | 6% | |===== | 7% | |===== | 8% | |====== | 8% | |====== | 9% | |======= | 9% | |======= | 10% | |======= | 11% | |======== | 11% | |======== | 12% | |========= | 12% | |========= | 13% | |========== | 14% | |========== | 15% | |=========== | 15% | |=========== | 16% | |============ | 17% | |============ | 18% | |============= | 18% | |============= | 19% | |============== | 19% | |============== | 20% | |============== | 21% | |=============== | 21% | |=============== | 22% | |================ | 22% | |================ | 23% | |================= | 24% | |================= | 25% | |================== | 25% | |================== | 26% | |=================== | 27% | |=================== | 28% | |==================== | 28% | |==================== | 29% | |===================== | 29% | |===================== | 30% | |===================== | 31% | |====================== | 31% | |====================== | 32% | |======================= | 32% | |======================= | 33% | |======================== | 34% | |======================== | 35% | |========================= | 35% | |========================= | 36% | |========================== | 37% | |========================== | 38% | |=========================== | 38% | |=========================== | 39% | |============================ | 39% | |============================ | 40% | |============================ | 41% | |============================= | 41% | |============================= | 42% | |============================== | 42% | |============================== | 43% | |=============================== | 44% | |=============================== | 45% | |================================ | 45% | |================================ | 46% | |================================= | 47% | |================================= | 48% | |================================== | 48% | |================================== | 49% | |=================================== | 49% | |=================================== | 50% | |=================================== | 51% | |==================================== | 51% | |==================================== | 52% | |===================================== | 52% | |===================================== | 53% | |====================================== | 54% | |====================================== | 55% | |======================================= | 55% | |======================================= | 56% | |======================================== | 57% | |======================================== | 58% | |========================================= | 58% | |========================================= | 59% | |========================================== | 59% | |========================================== | 60% | |========================================== | 61% | |=========================================== | 61% | |=========================================== | 62% | |============================================ | 62% | |============================================ | 63% | |============================================= | 64% | |============================================= | 65% | |============================================== | 65% | |============================================== | 66% | |=============================================== | 67% | |=============================================== | 68% | |================================================ | 68% | |================================================ | 69% | |================================================= | 69% | |================================================= | 70% | |================================================= | 71% | |================================================== | 71% | |================================================== | 72% | |=================================================== | 72% | |=================================================== | 73% | |==================================================== | 74% | |==================================================== | 75% | |===================================================== | 75% | |===================================================== | 76% | |====================================================== | 77% | |====================================================== | 78% | |======================================================= | 78% | |======================================================= | 79% | |======================================================== | 79% | |======================================================== | 80% | |======================================================== | 81% | |========================================================= | 81% | |========================================================= | 82% | |========================================================== | 82% | |========================================================== | 83% | |=========================================================== | 84% | |=========================================================== | 85% | |============================================================ | 85% | |============================================================ | 86% | |============================================================= | 87% | |============================================================= | 88% | |============================================================== | 88% | |============================================================== | 89% | |=============================================================== | 89% | |=============================================================== | 90% | |=============================================================== | 91% | |================================================================ | 91% | |================================================================ | 92% | |================================================================= | 92% | |================================================================= | 93% | |================================================================== | 94% | |================================================================== | 95% | |=================================================================== | 95% | |=================================================================== | 96% | |==================================================================== | 97% | |==================================================================== | 98% | |===================================================================== | 98% | |===================================================================== | 99% | |======================================================================| 99% | |======================================================================| 100% train_0 train_1 test_0 test_1 Min. :190.0 Min. :131.0 Min. :0.000 Min. :0.000 Mean :220.4 Mean :186.9 Mean :0.514 Mean :0.486 Max. :254.0 Max. :243.0 Max. :1.000 Max. :1.000 This function is deprecated! Please use 'cv_cluster' instead. Saving _problems/test-v2-functions-194.R [ FAIL 15 | WARN 1638 | SKIP 1 | PASS 164 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-data.R:10:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cv_nndm.R:22:5'): test that cv_nndm function works properly with presence-absence data ── Error in `sf::st_distance(rx, x[x_1s, ])`: st_crs(x) == st_crs(y) is not TRUE Backtrace: ▆ 1. └─blockCV::cv_nndm(...) at test-cv_nndm.R:22:5 2. └─sf::st_distance(rx, x[x_1s, ]) 3. └─base::stopifnot(st_crs(x) == st_crs(y)) ── Error ('test-cv_nndm.R:47:5'): test that cv_nndm function works properly with presence-background data ── Error in `sf::st_distance(rx, x[x_1s, ])`: st_crs(x) == st_crs(y) is not TRUE Backtrace: ▆ 1. └─blockCV::cv_nndm(...) at test-cv_nndm.R:47:5 2. └─sf::st_distance(rx, x[x_1s, ]) 3. └─base::stopifnot(st_crs(x) == st_crs(y)) ── Error ('test-cv_nndm.R:72:5'): test that cv_nndm function works properly with no species specified ── Error in `sf::st_distance(rx, x[x_1s, ])`: st_crs(x) == st_crs(y) is not TRUE Backtrace: ▆ 1. └─blockCV::cv_nndm(...) at test-cv_nndm.R:72:5 2. └─sf::st_distance(rx, x[x_1s, ]) 3. └─base::stopifnot(st_crs(x) == st_crs(y)) ── Error ('test-cv_nndm.R:99:5'): test cv_nndm function with no matching species column ── Error in `sf::st_distance(rx, x[x_1s, ])`: st_crs(x) == st_crs(y) is not TRUE Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-cv_nndm.R:99:5 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. └─blockCV::cv_nndm(...) 8. └─sf::st_distance(rx, x[x_1s, ]) 9. └─base::stopifnot(st_crs(x) == st_crs(y)) ── Error ('test-cv_similarity.R:22:5'): test that cv_similarity function works with cv_spatil and MESS ── Error in ``[<-.data.frame`(`*tmp*`, , paste("Fold", i, sep = ""), value = NA)`: replacement has 1 row, data has 0 Backtrace: ▆ 1. └─blockCV::cv_similarity(cv = scv, x = pa_data, r = aus, method = "MESS") at test-cv_similarity.R:22:5 2. ├─base::`[<-`(`*tmp*`, , paste("Fold", i, sep = ""), value = `<lgl>`) 3. └─base::`[<-.data.frame`(...) ── Error ('test-cv_similarity.R:31:5'): test that cv_similarity function works with cv_spatil and L1 ── Error in ``[<-.data.frame`(`*tmp*`, , paste("Fold", i, sep = ""), value = NA)`: replacement has 1 row, data has 0 Backtrace: ▆ 1. └─blockCV::cv_similarity(cv = scv, x = pa_data, r = aus, method = "L1") at test-cv_similarity.R:31:5 2. ├─base::`[<-`(`*tmp*`, , paste("Fold", i, sep = ""), value = `<lgl>`) 3. └─base::`[<-.data.frame`(...) ── Error ('test-cv_similarity.R:40:5'): test that cv_similarity function works with cv_spatil and L2 ── Error in ``[<-.data.frame`(`*tmp*`, , paste("Fold", i, sep = ""), value = NA)`: replacement has 1 row, data has 0 Backtrace: ▆ 1. └─blockCV::cv_similarity(cv = scv, x = pa_data, r = aus, , method = "L2") at test-cv_similarity.R:40:5 2. ├─base::`[<-`(`*tmp*`, , paste("Fold", i, sep = ""), value = `<lgl>`) 3. └─base::`[<-.data.frame`(...) ── Error ('test-cv_spatial.R:21:5'): test cv_spatial function with random assingment and raster file ── Error in `st_geos_binop("intersects", x, y, sparse = sparse, prepared = prepared, ...)`: st_crs(x) == st_crs(y) is not TRUE Backtrace: ▆ 1. └─blockCV::cv_spatial(...) at test-cv_spatial.R:21:5 2. ├─blocks[x, ] 3. └─sf:::`[.sf`(blocks, x, ) 4. ├─base::lengths(op(x, i, ...)) 5. ├─sf (local) op(x, i, ...) 6. └─sf:::st_intersects.sf(x, i, ...) 7. └─sf:::st_geos_binop(...) 8. └─base::stopifnot(st_crs(x) == st_crs(y)) ── Error ('test-cv_spatial.R:233:5'): test cv_spatial with no speceis column match ── Error in `st_geos_binop("intersects", x, y, sparse = sparse, prepared = prepared, ...)`: st_crs(x) == st_crs(y) is not TRUE Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-cv_spatial.R:233:5 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. └─blockCV::cv_spatial(...) 8. ├─blocks[x, ] 9. └─sf:::`[.sf`(blocks, x, ) 10. ├─base::lengths(op(x, i, ...)) 11. ├─sf (local) op(x, i, ...) 12. └─sf:::st_intersects.sf(x, i, ...) 13. └─sf:::st_geos_binop(...) 14. └─base::stopifnot(st_crs(x) == st_crs(y)) ── Error ('test-cv_spatial_autocor.R:21:5'): test cv_spatial_autocor function works ── <Rcpp::exception/C++Error/error/condition> Error: OGRCreateCoordinateTransformation(): transformation not available Backtrace: ▆ 1. └─blockCV::cv_spatial_autocor(r = aus, num_sample = 1000, plot = TRUE) at test-cv_spatial_autocor.R:21:5 2. ├─base::plot(cowplot::plot_grid(p1, p2)) 3. └─cowplot::plot_grid(p1, p2) 4. └─cowplot::align_plots(...) 5. └─base::lapply(...) 6. └─cowplot (local) FUN(X[[i]], ...) 7. ├─cowplot::as_gtable(x) 8. └─cowplot:::as_gtable.default(x) 9. ├─cowplot::as_grob(plot) 10. └─cowplot:::as_grob.ggplot(plot) 11. └─ggplot2::ggplotGrob(plot) 12. ├─ggplot2::ggplot_gtable(ggplot_build(x)) 13. │ └─ggplot2:::attach_plot_env(data@plot@plot_env) 14. │ └─base::options(ggplot2_plot_env = env) 15. ├─ggplot2::ggplot_build(x) 16. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x) 17. └─layout$setup(data, plot@data, plot@plot_env) 18. └─ggplot2 (local) setup(..., self = self) 19. └─self$coord$setup_data(data, self$coord_params) 20. └─ggplot2 (local) setup_data(...) 21. └─base::lapply(...) 22. └─ggplot2 (local) FUN(X[[i]], ...) 23. └─base::lapply(layer_data[idx], sf::st_transform, crs = params$crs) 24. ├─sf (local) FUN(X[[i]], ...) 25. └─sf:::st_transform.sfc(X[[i]], ...) 26. ├─sf::st_sfc(...) 27. ├─base::structure(...) 28. └─sf:::CPL_transform(...) ── Error ('test-cv_spatial_autocor.R:69:5'): test cv_spatial_autocor function works with wgs crs ── Error: [project] cannot get output boundaries for the target crs Backtrace: ▆ 1. ├─blockCV::cv_spatial_autocor(...) at test-cv_spatial_autocor.R:69:5 2. │ └─blockCV:::.check_r(r) 3. │ └─methods::is(r, "SpatRaster") 4. ├─terra::project(aus, "epsg:4326") 5. └─terra::project(aus, "epsg:4326") 6. └─terra (local) .local(x, ...) 7. └─terra:::messages(x, "project") 8. └─terra:::error(f, x@pntr$getError()) ── Error ('test-v2-functions.R:23:5'): test spatialAutoRange function works ──── <Rcpp::exception/C++Error/error/condition> Error: OGRCreateCoordinateTransformation(): transformation not available Backtrace: ▆ 1. └─blockCV::spatialAutoRange(...) at test-v2-functions.R:23:5 2. └─blockCV::cv_spatial_autocor(...) 3. ├─base::plot(cowplot::plot_grid(p1, p2)) 4. └─cowplot::plot_grid(p1, p2) 5. └─cowplot::align_plots(...) 6. └─base::lapply(...) 7. └─cowplot (local) FUN(X[[i]], ...) 8. ├─cowplot::as_gtable(x) 9. └─cowplot:::as_gtable.default(x) 10. ├─cowplot::as_grob(plot) 11. └─cowplot:::as_grob.ggplot(plot) 12. └─ggplot2::ggplotGrob(plot) 13. ├─ggplot2::ggplot_gtable(ggplot_build(x)) 14. │ └─ggplot2:::attach_plot_env(data@plot@plot_env) 15. │ └─base::options(ggplot2_plot_env = env) 16. ├─ggplot2::ggplot_build(x) 17. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x) 18. └─layout$setup(data, plot@data, plot@plot_env) 19. └─ggplot2 (local) setup(..., self = self) 20. └─self$coord$setup_data(data, self$coord_params) 21. └─ggplot2 (local) setup_data(...) 22. └─base::lapply(...) 23. └─ggplot2 (local) FUN(X[[i]], ...) 24. └─base::lapply(layer_data[idx], sf::st_transform, crs = params$crs) 25. ├─sf (local) FUN(X[[i]], ...) 26. └─sf:::st_transform.sfc(X[[i]], ...) 27. ├─sf::st_sfc(...) 28. ├─base::structure(...) 29. └─sf:::CPL_transform(...) ── Error ('test-v2-functions.R:57:5'): test spatialAutoRange function with x ─── Error in `data.frame(...)`: arguments imply differing number of rows: 500, 0 Backtrace: ▆ 1. └─blockCV::spatialAutoRange(...) at test-v2-functions.R:57:5 2. └─base::cbind(speciesData, df) 3. └─sf (local) cbind(deparse.level, ...) 4. ├─sf::st_sf(data.frame(...), sf_column_name = sf_column_name) 5. └─base::data.frame(...) ── Error ('test-v2-functions.R:96:5'): test spatiaBlock function works ───────── Error in `st_geos_binop("intersects", x, y, sparse = sparse, prepared = prepared, ...)`: st_crs(x) == st_crs(y) is not TRUE Backtrace: ▆ 1. └─blockCV::spatialBlock(...) at test-v2-functions.R:96:5 2. └─blockCV::cv_spatial(...) 3. ├─blocks[x, ] 4. └─sf:::`[.sf`(blocks, x, ) 5. ├─base::lengths(op(x, i, ...)) 6. ├─sf (local) op(x, i, ...) 7. └─sf:::st_intersects.sf(x, i, ...) 8. └─sf:::st_geos_binop(...) 9. └─base::stopifnot(st_crs(x) == st_crs(y)) ── Error ('test-v2-functions.R:187:5'): test that environmental blocking function works ── Error in `stats::kmeans(x_vals, centers = k, iter.max = 500, nstart = 25, ...)`: more cluster centers than distinct data points. Backtrace: ▆ 1. └─blockCV::envBlock(...) at test-v2-functions.R:187:5 2. └─blockCV::cv_cluster(...) 3. └─stats::kmeans(...) [ FAIL 15 | WARN 1638 | SKIP 1 | PASS 164 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64

Version: 3.2-0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'tutorial_1.Rmd' using rmarkdown Quitting from tutorial_1.Rmd:100-114 [unnamed-chunk-6] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! OGRCreateCoordinateTransformation(): transformation not available --- Backtrace: ▆ 1. └─tools:::.buildOneVignette(...) 2. ├─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─engine$weave(file, quiet = quiet, encoding = enc) 7. └─knitr:::vweave_rmarkdown(...) 8. └─rmarkdown::render(...) 9. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 10. └─knitr:::process_file(text, output) 11. ├─xfun:::handle_error(...) 12. ├─base::withCallingHandlers(...) 13. └─knitr:::process_group(group) 14. └─knitr:::call_block(x) 15. └─knitr:::block_exec(params) 16. └─knitr:::eng_r(options) 17. ├─knitr:::in_input_dir(...) 18. │ └─knitr:::in_dir(input_dir(), expr) 19. └─knitr (local) evaluate(...) 20. └─evaluate::evaluate(...) 21. ├─base::withRestarts(...) 22. │ └─base (local) withRestartList(expr, restarts) 23. │ ├─base (local) withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]]) 24. │ │ └─base (local) doWithOneRestart(return(expr), restart) 25. │ └─base (local) withRestartList(expr, restarts[-nr]) 26. │ └─base (local) withOneRestart(expr, restarts[[1L]]) 27. │ └─base (local) doWithOneRestart(return(expr), restart) 28. ├─evaluate:::with_handlers(...) 29. │ ├─base::eval(call) 30. │ │ └─base::eval(call) 31. │ └─base::withCallingHandlers(...) 32. └─watcher$print_value(ev$value, ev$visible, envir) 33. ├─base::withVisible(handle_value(handler, value, visible, envir)) 34. └─evaluate:::handle_value(handler, value, visible, envir) 35. └─handler$value(value, visible) 36. └─knitr (local) fun(x, options = options) 37. ├─base::withVisible(knit_print(x, ...)) 38. ├─knitr::knit_print(x, ...) 39. └─tmap:::knit_print.tmap(x, ...) 40. └─tmap:::print.tmap(x, knit = TRUE, options = options, ...) 41. └─tmap:::step3_trans(x3) 42. └─base::lapply(...) 43. └─tmap (local) FUN(X[[i]], ...) 44. └─base::lapply(...) 45. └─tmap (local) FUN(X[[i]], ...) 46. ├─base::do.call(tmapReproject, c(s, list(crs = crs2, raster.warp = raster.warp))) 47. ├─tmap (local) `<fn>`(...) 48. └─tmap:::tmapReproject.sfc(...) 49. └─tmap:::transform_ortho(shp, crs, tmapID) 50. ├─sf::st_transform(shp, crs = crs) 51. └─sf:::st_transform.sf(shp, crs = crs) 52. ├─sf::st_transform(st_geometry(x), crs, ...) 53. └─sf:::st_transform.sfc(st_geometry(x), crs, ...) 54. ├─sf::st_sfc(...) 55. ├─base::structure(...) 56. └─sf:::CPL_transform(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'tutorial_1.Rmd' failed with diagnostics: OGRCreateCoordinateTransformation(): transformation not available --- failed re-building 'tutorial_1.Rmd' --- re-building 'tutorial_2.Rmd' using rmarkdown Quitting from tutorial_2.Rmd:69-83 [unnamed-chunk-5] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! OGRCreateCoordinateTransformation(): transformation not available --- Backtrace: ▆ 1. └─tools:::.buildOneVignette(...) 2. ├─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─engine$weave(file, quiet = quiet, encoding = enc) 7. └─knitr:::vweave_rmarkdown(...) 8. └─rmarkdown::render(...) 9. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 10. └─knitr:::process_file(text, output) 11. ├─xfun:::handle_error(...) 12. ├─base::withCallingHandlers(...) 13. └─knitr:::process_group(group) 14. └─knitr:::call_block(x) 15. └─knitr:::block_exec(params) 16. └─knitr:::eng_r(options) 17. ├─knitr:::in_input_dir(...) 18. │ └─knitr:::in_dir(input_dir(), expr) 19. └─knitr (local) evaluate(...) 20. └─evaluate::evaluate(...) 21. ├─base::withRestarts(...) 22. │ └─base (local) withRestartList(expr, restarts) 23. │ ├─base (local) withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]]) 24. │ │ └─base (local) doWithOneRestart(return(expr), restart) 25. │ └─base (local) withRestartList(expr, restarts[-nr]) 26. │ └─base (local) withOneRestart(expr, restarts[[1L]]) 27. │ └─base (local) doWithOneRestart(return(expr), restart) 28. ├─evaluate:::with_handlers(...) 29. │ ├─base::eval(call) 30. │ │ └─base::eval(call) 31. │ └─base::withCallingHandlers(...) 32. └─watcher$print_value(ev$value, ev$visible, envir) 33. ├─base::withVisible(handle_value(handler, value, visible, envir)) 34. └─evaluate:::handle_value(handler, value, visible, envir) 35. └─handler$value(value, visible) 36. └─knitr (local) fun(x, options = options) 37. ├─base::withVisible(knit_print(x, ...)) 38. ├─knitr::knit_print(x, ...) 39. └─tmap:::knit_print.tmap(x, ...) 40. └─tmap:::print.tmap(x, knit = TRUE, options = options, ...) 41. └─tmap:::step3_trans(x3) 42. └─base::lapply(...) 43. └─tmap (local) FUN(X[[i]], ...) 44. └─base::lapply(...) 45. └─tmap (local) FUN(X[[i]], ...) 46. ├─base::do.call(tmapReproject, c(s, list(crs = crs2, raster.warp = raster.warp))) 47. ├─tmap (local) `<fn>`(...) 48. └─tmap:::tmapReproject.sfc(...) 49. └─tmap:::transform_ortho(shp, crs, tmapID) 50. ├─sf::st_transform(shp, crs = crs) 51. └─sf:::st_transform.sf(shp, crs = crs) 52. ├─sf::st_transform(st_geometry(x), crs, ...) 53. └─sf:::st_transform.sfc(st_geometry(x), crs, ...) 54. ├─sf::st_sfc(...) 55. ├─base::structure(...) 56. └─sf:::CPL_transform(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'tutorial_2.Rmd' failed with diagnostics: OGRCreateCoordinateTransformation(): transformation not available --- failed re-building 'tutorial_2.Rmd' SUMMARY: processing the following files failed: 'tutorial_1.Rmd' 'tutorial_2.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-oldrel-windows-x86_64

mirror server hosted at Truenetwork, Russian Federation.