- using R Under development (unstable) (2025-08-10 r88559)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 19.1.7 (3+b1)
Debian flang-new version 19.1.7 (3+b1)
- running under: Debian GNU/Linux 13 (trixie)
- using session charset: UTF-8
- checking for file ‘tidysdm/DESCRIPTION’ ... OK
- this is package ‘tidysdm’ version ‘1.0.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/3s] OK
- checking package namespace information ... OK
- checking package dependencies ... INFO
Package suggested but not available for checking: ‘blockCV’
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘tidysdm’ can be installed ... OK
See the install log for details.
- 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 ... [6s/8s] OK
- checking whether the package can be loaded with stated dependencies ... [6s/7s] OK
- checking whether the package can be unloaded cleanly ... [5s/7s] OK
- checking whether the namespace can be loaded with stated dependencies ... [5s/7s] OK
- checking whether the namespace can be unloaded cleanly ... [5s/7s] OK
- checking loading without being on the library search path ... [6s/8s] OK
- checking whether startup messages can be suppressed ... [6s/8s] 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 ... [32s/43s] OK
- checking Rd files ... [1s/1s] 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 ... [6s/8s] 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 ... [10s/13s] ERROR
Running examples in ‘tidysdm-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: blockcv2rsample
> ### Title: Convert an object created with 'blockCV' to an 'rsample' object
> ### Aliases: blockcv2rsample
>
> ### ** Examples
>
> library(blockCV)
Error in library(blockCV) : there is no package called ‘blockCV’
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [108s/119s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [108s/119s]
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.3.0 ──
✔ broom 1.0.9 ✔ recipes 1.3.1
✔ dials 1.4.1 ✔ rsample 1.3.1
✔ dplyr 1.1.4 ✔ tibble 3.3.0
✔ ggplot2 3.5.2 ✔ tidyr 1.3.1
✔ infer 1.0.9 ✔ tune 1.3.0
✔ modeldata 1.5.0 ✔ workflows 1.2.0
✔ parsnip 1.3.2 ✔ workflowsets 1.1.1
✔ purrr 1.1.0 ✔ yardstick 1.3.2
── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ──
✖ purrr::discard() masks scales::discard()
✖ dplyr::filter() masks stats::filter()
✖ purrr::is_null() masks testthat::is_null()
✖ dplyr::lag() masks stats::lag()
✖ tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
✖ recipes::step() masks stats::step()
Loading required package: spatialsample
>
> test_check("tidysdm")
Attaching package: 'plotrix'
The following object is masked from 'package:scales':
rescale
[08:19:55] WARNING: src/learner.cc:553:
If you are loading a serialized model (like pickle in Python, RDS in R) generated by
older XGBoost, please export the model by calling `Booster.save_model` from that version
first, then load it back in current version. See:
https://xgboost.readthedocs.io/en/latest/tutorials/saving_model.html
for more details about differences between saving model and serializing.
i Creating pre-processing data to finalize unknown parameter: mtry
i Creating pre-processing data to finalize unknown parameter: mtry
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 328 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_blockcv2rsample.R:1:1'): (code run outside of `test_that()`) ───
<packageNotFoundError/error/condition>
Error in `library(blockCV)`: there is no package called 'blockCV'
Backtrace:
▆
1. ├─base::suppressPackageStartupMessages(library(blockCV)) at test_blockcv2rsample.R:1:1
2. │ └─base::withCallingHandlers(expr, packageStartupMessage = function(c) tryInvokeRestart("muffleMessage"))
3. └─base::library(blockCV)
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 328 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [410s/515s] OK
- checking PDF version of manual ... [7s/9s] OK
- checking HTML version of manual ... [3s/6s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs