- using R Under development (unstable) (2025-12-04 r89100)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-9) 15.2.0
GNU Fortran (Debian 15.2.0-9) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘tidylog/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘tidylog’ version ‘1.1.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/1s] OK
- checking package namespace information ... OK
- checking package dependencies ... WARNING
Cannot process vignettes
Packages suggested but not available for checking:
'units', 'covr', 'knitr', 'rmarkdown'
VignetteBuilder package required for checking but not installed: ‘knitr’
- 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 serialization versions ... OK
- checking whether package ‘tidylog’ 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 ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] 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 ... [4s/4s] OK
- checking Rd files ... [0s/0s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [7s/7s] ERROR
Running ‘testthat.R’ [7s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library("testthat")
> library("tidylog")
Attaching package: 'tidylog'
The following object is masked from 'package:stats':
filter
>
> test_check("tidylog")
Saving _problems/test_mutate-275.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 353 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_mutate.R:275:9'): mutate: units ────────────────────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `.fun(.data, ...)`: ℹ In argument: `a = units::set_units(a, mg)`.
Caused by error in `loadNamespace()`:
! there is no package called 'units'
Backtrace:
▆
1. ├─testthat::expect_message(...) at test_mutate.R:274:5
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─tidylog::mutate(tibble(a = 1:2), a = units::set_units(a, mg)) at test_mutate.R:275:9
7. │ └─tidylog:::log_mutate(...)
8. │ ├─dplyr (local) .fun(.data, ...)
9. │ └─dplyr:::mutate.data.frame(.data, ...)
10. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
11. │ ├─base::withCallingHandlers(...)
12. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
13. │ └─mask$eval_all_mutate(quo)
14. │ └─dplyr (local) eval()
15. ├─base::loadNamespace(x)
16. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
17. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
18. │ │ └─base (local) doWithOneRestart(return(expr), restart)
19. │ └─base::stop(cond)
20. └─dplyr (local) `<fn>`(`<pckgNtFE>`)
21. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 353 ]
Error:
! Test failures.
Execution halted
- checking package vignettes ... NOTE
Package has ‘vignettes’ subdirectory but apparently no vignettes.
Perhaps the ‘VignetteBuilder’ information is missing from the
DESCRIPTION file?
- checking PDF version of manual ... [3s/3s] OK
- checking HTML version of manual ... [2s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 WARNING, 1 NOTE