- using R Under development (unstable) (2026-07-22 r90289)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.1.0-2) 16.1.0
GNU Fortran (Debian 16.1.0-2) 16.1.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-07-23 14:07:09 UTC
- checking for file ‘crunch/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘crunch’ version ‘1.31.2’
- 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 serialization versions ... OK
- checking whether package ‘crunch’ 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 ... [1s/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 whether startup messages can be suppressed ... [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 ... [30s/34s] NOTE
Found calls to structure() using deprecated special names:
crunch/R/as-data-frame.R (.Names: 6)
crunch/R/categories.R (.Names: 2)
crunch/R/compare-datasets.R (.Names: 4)
crunch/R/dichotomize.R (.Names: 1)
crunch/R/export-dataset.R (.Names: 1)
crunch/R/json.R (.Names: 1)
crunch/R/make-array.R (.Names: 1)
crunch/R/misc.R (.Names: 1)
crunch/R/permissions.R (.Names: 1)
crunch/R/shoji.R (.Names: 2)
crunch/R/show.R (.Names: 1)
crunch/R/tuple.R (.Names: 2)
crunch/R/variable-metadata.R (.Names: 1)
crunch/R/variable-update.R (.Names: 1)
crunch/tests/testthat/test-add-variable.R (.Label: 1)
crunch/tests/testthat/test-as-data-frame.R (.Label: 7)
crunch/tests/testthat/test-categories.R (.Names: 6)
crunch/tests/testthat/test-datetime.R (.Names: 5)
crunch/tests/testthat/test-derive-array.R (.Dim: 2, .Dimnames: 2)
crunch/tests/testthat/test-multitables.R (.Dim: 2, .Dimnames: 2)
'.Names' should be changed to 'names'.
'.Label' should be changed to 'levels'.
'.Dim' should be changed to 'dim'.
'.Dimnames' should be changed to 'dimnames'.
- checking Rd files ... [1s/2s] 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/1s] 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 ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [178s/211s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [177s/210s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(httptest)
Loading required package: testthat
> if (nchar(Sys.getenv("JENKINS_HOME"))) {
+ tt_read_lines <- function(path, n = -1L, encoding = "UTF-8") {
+ base::readLines(path, n = n, encoding = encoding, warn = FALSE)
+ }
+
+ tt_write_lines <- function(text, path) {
+ base::writeLines(enc2utf8(text), path, useBytes = TRUE)
+ }
+
+ # trick to get around :: from depends CRAN check
+ R6Class <- get("R6Class", asNamespace("R6"))
+
+ JunitReporterFix <- R6Class(
+ "JunitReporterFix",
+ inherit = JunitReporter,
+ public = list(
+ end_reporter = function() {
+ super$end_reporter()
+ tt_write_lines(
+ crayon::strip_style(tt_read_lines(self$out)),
+ self$out
+ )
+ }
+ )
+ )
+
+ test_check("crunch",
+ reporter = MultiReporter$new(list(
+ SummaryReporter$new(),
+ JunitReporterFix$new(file = file.path(Sys.getenv("WORKSPACE"), "rcrunch.xml"))
+ ))
+ )
+ } else {
+ test_check("crunch")
+ }
Loading required package: crunch
Attaching package: 'crunch'
The following objects are masked from 'package:stats':
filter, rstandard, setNames
The following object is masked from 'package:graphics':
title
The following object is masked from 'package:utils':
write.csv
The following object is masked from 'package:base':
table
Saving _problems/test-categories-240.R
Saving _problems/test-conditional-transform-26.R
Saving _problems/test-conditional-transform-106.R
Saving _problems/test-conditional-transform-121.R
Saving _problems/test-conditional-transform-131.R
Saving _problems/test-conditional-transform-149.R
Saving _problems/test-conditional-transform-177.R
Saving _problems/test-conditional-transform-201.R
Saving _problems/test-conditional-transform-250.R
Saving _problems/test-conditional-transform-261.R
Saving _problems/test-conditional-transform-272.R
Saving _problems/test-crunch-data-frame-merge-14.R
Saving _problems/test-crunch-data-frame-merge-115.R
Saving _problems/test-crunch-data-frame-merge-140.R
Saving _problems/test-crunch-data-frame-merge-180.R
Saving _problems/test-crunch-data-frame-merge-192.R
Saving _problems/test-crunch-data-frame-195.R
Saving _problems/test-crunch-data-frame-199.R
Saving _problems/test-crunch-data-frame-207.R
Saving _problems/test-crunch-data-frame-215.R
Saving _problems/test-crunch-data-frame-230.R
Saving _problems/test-crunch-data-frame-234.R
Saving _problems/test-crunch-data-frame-237.R
Saving _problems/test-cube-subset-238.R
Saving _problems/test-progress-83.R
Saving _problems/test-variable-folders-188.R
[ [38;5;214mFAIL [39m 26 | [35mWARN [39m 7850 | [34mSKIP [39m 27 | PASS 3540 ]
══ Skipped tests (27) ══════════════════════════════════════════════════════════
• 'mean' doesn't return variable metadata like 'max' does (1):
[34mtest-cube-dims.R:181:9 [39m
• Need to use `cube_valid_count` to calculate base size (1):
[34mtest-cube-bases.R:65:13 [39m
• On CRAN (3): [34mtest-cube-benchmarks.R:3:1 [39m, [34mtest-project-folder.R:280:13 [39m,
[34mtest-variable-folders.R:181:13 [39m
• TODO (1): [34mtest-variable-folders.R:83:9 [39m
• TODO modify variablesFilter to distinguish between a fully specified variable
subset and the original dataset (1): [34mtest-export-dataset.R:140:9 [39m
• TODO: distinguish this kind of attempted value updating from metadata updates
(2): [34mtest-update.R:75:9 [39m, [34mtest-update.R:103:9 [39m
• TODO: ensure something about the elements of a 'list column' (1):
[34mtest-variable-catalog.R:216:9 [39m
• TODO: something smart with parentheses and order of operations (GH issue #99)
(1): [34mtest-expressions.R:263:13 [39m
• empty test (16): , , , , , [34mtest-compare.R:113:5 [39m,
[34mtest-conditional-transform.R:281:5 [39m, , , , , , , [34mtest-new-dataset.R:138:5 [39m, ,
══ Failed tests ════════════════════════════════════════════════════════════════
── [1m [38;5;214mFailure [39m ( [34mtest-categories.R:231:9 [39m): names(categories())<- doesn't have warning message [22m ──
Expected `expect_PATCH(...)` not to generate warnings.
Actually generated:
* Replacing special names '.Names' is deprecated; use 'names' instead.
── [1m [38;5;214mFailure [39m ( [34mtest-conditional-transform.R:26:9 [39m): conditionalTransform input validation [22m ──
Expected `new_var <- conditionalTransform(TRUE ~ "foo", data = ds)` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-conditional-transform.R:103:9 [39m): conditionalTransform works with categories [22m ──
Expected `... <- NULL` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-conditional-transform.R:115:9 [39m): conditionalTransform works with categories [22m ──
Expected `... <- NULL` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-conditional-transform.R:129:9 [39m): conditionalTransform works with categories [22m ──
Expected `... <- NULL` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-conditional-transform.R:141:9 [39m): conditionalTransform works when specifying a categories as strings [22m ──
Expected `... <- NULL` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-conditional-transform.R:174:9 [39m): conditionalTransform works when specifying a categories object [22m ──
Expected `... <- NULL` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-conditional-transform.R:197:9 [39m): conditionalTransform works when specifying a categories object [22m ──
Expected `... <- NULL` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-conditional-transform.R:247:9 [39m): conditionalTransform works with other output types (text and numeric) [22m ──
Expected `... <- NULL` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-conditional-transform.R:258:9 [39m): conditionalTransform works with other output types (text and numeric) [22m ──
Expected `... <- NULL` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-conditional-transform.R:269:9 [39m): conditionalTransform works with other output types (text and numeric) [22m ──
Expected `... <- NULL` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-crunch-data-frame-merge.R:10:9 [39m): the most basic case of merging a CrunchDataFarme with a data.frame [22m ──
Expected `merged_df <- merge(ds_df, local_df, by.x = "gender", by.y = "gender")` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-crunch-data-frame-merge.R:110:9 [39m): merge.CrunchDataFrame duplicates rows when needed [22m ──
Expected `... <- NULL` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-crunch-data-frame-merge.R:135:9 [39m): merge.CrunchDataFrame duplicates rows when needed [22m ──
Expected `... <- NULL` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-crunch-data-frame-merge.R:176:9 [39m): merge.CrunchDataFrame recreates even instantiated columns [22m ──
Expected `... <- NULL` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-crunch-data-frame-merge.R:188:9 [39m): merge.CrunchDataFrame can handle a locally modified crunchdataframe [22m ──
Expected `... <- NULL` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-crunch-data-frame.R:195:9 [39m): crdf column setters work [22m ──────────
Expected `ds_df$new_local_var <- c(25:1)` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-crunch-data-frame.R:199:9 [39m): crdf column setters work [22m ──────────
Expected `ds_df[["new_local_var2"]] <- c(1:25)` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-crunch-data-frame.R:204:9 [39m): crdf column setters work [22m ──────────
Expected `... <- NULL` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-crunch-data-frame.R:212:9 [39m): crdf column setters work [22m ──────────
Expected `... <- NULL` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-crunch-data-frame.R:227:9 [39m): crdf column setters work [22m ──────────
Expected `ds_df[c(1, 25), "new_local_var3"] <- c(1, 25)` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-crunch-data-frame.R:234:9 [39m): crdf column setters work [22m ──────────
Expected `ds_df$new_local_var4 <- 1` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-crunch-data-frame.R:237:9 [39m): crdf column setters work [22m ──────────
Expected `ds_df$textVar <- c(1:25)` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-cube-subset.R:238:9 [39m): cube [ method errors correctly [22m ──────────
Expected `showMissing(cube)[3, 1, 1]` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-progress.R:76:21 [39m): Progress polling goes until 100 when silent [22m ──
Expected `expect_equal(...)` to run silently.
Actual noise: warnings.
── [1m [38;5;214mFailure [39m ( [34mtest-variable-folders.R:188:9 [39m): copyFolders returns the target dataset with the order applied [22m ──
Expected `new_order <- copyFolders(ds, ds_again)` to run silently.
Actual noise: warnings.
[ [38;5;214mFAIL [39m 26 | [35mWARN [39m 7850 | [34mSKIP [39m 27 | PASS 3540 ]
[1m [33mError [39m: [22m
[1m [22m [33m! [39m Test failures.
There were 45 warnings (use warnings() to see them)
Total teardown: Time difference of 3.695488e-05 secs
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [37s/50s] OK
- checking PDF version of manual ... [14s/18s] OK
- checking HTML version of manual ... [6s/7s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE