Last updated on 2026-03-11 01:54:10 CET.
| Package | ERROR | OK |
|---|---|---|
| dtlg | 1 | 13 |
Current CRAN status: ERROR: 1, OK: 13
Version: 0.0.3
Check: tests
Result: ERROR
Running 'testthat.R' [5s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(dtlg)
>
> test_check("dtlg")
Saving _problems/test-summary-table-141.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 325 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-summary-table.R:141:3'): `summary_table()`: `pct_dec` works ────
Error in `basename(x)`: a character vector argument expected
Backtrace:
▆
1. └─tools::file_ext(observed[2L, -1L]) at test-summary-table.R:141:3
2. ├─base::ifelse(...)
3. ├─base::grepl("^(.*[^.]+.*)[.]([[:alnum:]]+)$", basename(x))
4. │ └─base::is.factor(x)
5. └─base::basename(x)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 325 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64