- using R Under development (unstable) (2026-05-03 r89994)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 22.1.4 (https://github.com/llvm/llvm-project 35990504507d79e0b9deb809c8ee5e1b34ceef20)
flang version 22.1.4 (https://github.com/llvm/llvm-project 35990504507d79e0b9deb809c8ee5e1b34ceef20)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
* current time: 2026-05-03 14:34:00 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘cat2cat/DESCRIPTION’ ... OK
- this is package ‘cat2cat’ version ‘0.4.7’
- package encoding: UTF-8
- 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 ‘cat2cat’ can be installed ... [7s/30s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... 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/33s] OK
- checking Rd files ... 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 ... 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 ... [24s/94s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [3m/11m] ERROR
Running ‘testthat.R’ [3m/11m]
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("cat2cat")
>
> test_check("cat2cat")
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Saving _problems/test-cat2cat-160.R
Saving _problems/test-cat2cat_internal_utils-6.R
Saving _problems/test-cat2cat_internal_utils-42.R
Loading required package: ggplot2
Loading required package: lattice
randomForest 4.7-1.2
Type rfNews() to see new features/changes/bug fixes.
Attaching package: 'randomForest'
The following object is masked from 'package:ggplot2':
margin
The following object is masked from 'package:dplyr':
combine
Adding missing grouping variables: `index_c2c`
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 105 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-cat2cat.R:141:1'): (code run outside of `test_that()`) ─────────
Error in `as.data.frame.integer(x[[i]], optional = TRUE)`: row names contain missing values
Backtrace:
▆
1. └─cat2cat::cat2cat(...) at test-cat2cat.R:141:1
2. └─cat2cat:::resolve_frequencies(...)
3. └─cat2cat::get_freqs(cats_base, if (!is.null(multiplier_var)) cat_base_year[[multiplier_var]])
4. ├─base::as.data.frame(table(input, useNA = "ifany"), stringsAsFactors = FALSE)
5. └─base::as.data.frame.table(table(input, useNA = "ifany"), stringsAsFactors = FALSE)
6. ├─base::eval(ex)
7. │ └─base::eval(ex)
8. └─base::data.frame(...)
9. ├─base::as.data.frame(x[[i]], optional = TRUE)
10. └─base::as.data.frame.integer(x[[i]], optional = TRUE)
── Error ('test-cat2cat_internal_utils.R:3:3'): get_freqs ──────────────────────
Error in `as.data.frame.integer(x[[i]], optional = TRUE)`: row names contain missing values
Backtrace:
▆
1. ├─testthat::expect_identical(...) at test-cat2cat_internal_utils.R:3:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─cat2cat::get_freqs(input)
5. ├─base::as.data.frame(table(input, useNA = "ifany"), stringsAsFactors = FALSE)
6. └─base::as.data.frame.table(table(input, useNA = "ifany"), stringsAsFactors = FALSE)
7. ├─base::eval(ex)
8. │ └─base::eval(ex)
9. └─base::data.frame(...)
10. ├─base::as.data.frame(x[[i]], optional = TRUE)
11. └─base::as.data.frame.integer(x[[i]], optional = TRUE)
── Error ('test-cat2cat_internal_utils.R:39:3'): cat_apply_freq ────────────────
Error in `as.data.frame.integer(x[[i]], optional = TRUE)`: row names contain missing values
Backtrace:
▆
1. ├─cat2cat::cat_apply_freq(...) at test-cat2cat_internal_utils.R:39:3
2. │ ├─base::stopifnot(ncol(freqs) == 2)
3. │ └─base::ncol(freqs)
4. └─cat2cat::get_freqs(c(1, 1, 1, 1, 2, 3, 3, NA, NA))
5. ├─base::as.data.frame(table(input, useNA = "ifany"), stringsAsFactors = FALSE)
6. └─base::as.data.frame.table(table(input, useNA = "ifany"), stringsAsFactors = FALSE)
7. ├─base::eval(ex)
8. │ └─base::eval(ex)
9. └─base::data.frame(...)
10. ├─base::as.data.frame(x[[i]], optional = TRUE)
11. └─base::as.data.frame.integer(x[[i]], optional = TRUE)
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 105 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [85s/353s] OK
- checking PDF version of manual ... [7s/21s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR