- using R Under development (unstable) (2026-11-18 r90935)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.2.0-4) 16.2.0
GNU Fortran (Debian 16.2.0-4) 16.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-11-19 17:14:30 UTC
- checking for file ‘hardhat/DESCRIPTION’ ... OK
- this is package ‘hardhat’ version ‘1.4.3’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/3s] OK
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for 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 ‘hardhat’ 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [10s/12s] OK
- checking Rd files ... [0s/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 ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [6s/7s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [28s/33s] ERROR
Running ‘testthat.R’ [28s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(hardhat)
>
> test_check("hardhat")
Saving _problems/test-delete-response-16.R
Saving _problems/test-delete-response-22.R
[ FAIL 2 | WARN 0 | SKIP 120 | PASS 738 ]
══ Skipped tests (120) ═════════════════════════════════════════════════════════
• On CRAN (120): 'test-blueprint-formula-default.R:1:1',
'test-blueprint-recipe.R:1:1', 'test-blueprint.R:1:1',
'test-blueprint.R:7:1', 'test-blueprint.R:18:1', 'test-case-weights.R:12:1',
'test-case-weights.R:31:1', 'test-case-weights.R:55:1',
'test-case-weights.R:70:1', 'test-case-weights.R:86:1',
'test-case-weights.R:95:1', 'test-case-weights.R:114:1',
'test-case-weights.R:184:1', 'test-constructor.R:1:1',
'test-constructor.R:34:1', 'test-constructor.R:44:1',
'test-constructor.R:48:1', 'test-constructor.R:52:1',
'test-delete-response.R:34:1', 'test-encoding.R:92:1',
'test-encoding.R:100:1', 'test-forge-formula.R:138:1',
'test-forge-formula.R:211:1', 'test-forge-formula.R:226:1',
'test-forge-formula.R:250:1', 'test-forge-formula.R:286:1',
'test-forge-formula.R:396:1', 'test-forge-formula.R:472:1',
'test-forge-formula.R:593:1', 'test-forge-formula.R:621:1',
'test-forge-formula.R:654:1', 'test-forge-formula.R:736:1',
'test-forge-formula.R:774:1', 'test-forge-formula.R:802:1',
'test-forge-formula.R:1008:1', 'test-forge-recipe.R:90:1',
'test-forge-recipe.R:136:1', 'test-forge-recipe.R:155:1',
'test-forge-recipe.R:195:1', 'test-forge-recipe.R:298:1',
'test-forge-recipe.R:582:1', 'test-forge-recipe.R:611:1',
'test-forge-recipe.R:753:1', 'test-forge-recipe.R:776:1',
'test-forge-xy.R:64:1', 'test-forge-xy.R:139:1', 'test-forge-xy.R:160:1',
'test-forge-xy.R:191:1', 'test-forge-xy.R:214:1', 'test-forge-xy.R:266:1',
'test-forge.R:4:1', 'test-impute_quantile_pred.R:35:1',
'test-intercept.R:13:1', 'test-intercept.R:32:1', 'test-intercept.R:41:1',
'test-levels.R:63:1', 'test-model-matrix.R:17:1', 'test-model-offset.R:40:1',
'test-model-offset.R:113:1', 'test-mold-formula.R:126:1',
'test-mold-formula.R:186:1', 'test-mold-formula.R:348:1',
'test-mold-formula.R:369:1', 'test-mold-formula.R:379:1',
'test-mold-formula.R:401:1', 'test-mold-formula.R:419:1',
'test-mold-formula.R:469:1', 'test-mold-formula.R:518:1',
'test-mold-formula.R:597:1', 'test-mold-formula.R:722:1',
'test-mold-recipe.R:166:1', 'test-mold-xy.R:1:1', 'test-mold-xy.R:56:1',
'test-mold.R:4:1', 'test-print.R:1:1', 'test-print.R:8:1',
'test-print.R:14:1', 'test-quantile-pred.R:1:1', 'test-quantile-pred.R:20:1',
'test-quantile-pred.R:48:1', 'test-quantile-pred.R:75:1',
'test-quantile-pred.R:222:1', 'test-quantile-pred.R:246:1',
'test-quantile-pred.R:268:1', 'test-recompose.R:37:1',
'test-recompose.R:45:1', 'test-recompose.R:55:1', 'test-recompose.R:61:1',
'test-recompose.R:67:1', 'test-scream.R:1:1', 'test-scream.R:22:1',
'test-shrink.R:10:1', 'test-spruce.R:1:1', 'test-spruce.R:11:1',
'test-spruce.R:21:1', 'test-spruce.R:78:1', 'test-spruce.R:90:1',
'test-standardize.R:17:1', 'test-standardize.R:37:1',
'test-standardize.R:64:1', 'test-standardize.R:94:1', 'test-table.R:141:1',
'test-table.R:154:1', 'test-table.R:159:1', 'test-table.R:164:1',
'test-table.R:172:1', 'test-table.R:180:1', 'test-tune.R:12:1',
'test-use.R:2:3', 'test-use.R:31:3', 'test-use.R:60:1', 'test-use.R:64:1',
'test-use.R:68:1', 'test-validation.R:1:1', 'test-validation.R:14:1',
'test-validation.R:33:1', 'test-validation.R:69:1', 'test-validation.R:83:1',
'test-validation.R:94:1', 'test-validation.R:113:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-delete-response.R:13:3'): doesn't return dataClasses for y ───
Expected `attr(delete_response(framed$terms), "dataClasses")` to equal `c(Species = "factor")`.
Differences:
`names(actual)`:
`names(expected)`: "Species"
`actual`:
`expected`: "factor"
── Failure ('test-delete-response.R:19:3'): doesn't return dataClasses for y ───
Expected `attr(delete.response(framed$terms), "dataClasses")` to equal `c(Sepal.Width = "numeric", Species = "factor")`.
Differences:
`names(actual)`: "Species"
`names(expected)`: "Sepal.Width" "Species"
`actual`: "factor"
`expected`: "numeric" "factor"
[ FAIL 2 | WARN 0 | SKIP 120 | PASS 738 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [18s/24s] OK
- checking PDF version of manual ... [6s/8s] OK
- checking HTML version of manual ... [2s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR