CRAN Package Check Results for Package crunch

Last updated on 2026-07-10 23:57:39 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.31.2 34.52 351.97 386.49 OK
r-devel-linux-x86_64-debian-gcc 1.31.2 21.85 312.92 334.77 ERROR
r-devel-linux-x86_64-fedora-clang 1.31.2 63.00 582.69 645.69 ERROR
r-devel-linux-x86_64-fedora-gcc 1.31.2 66.00 662.24 728.24 ERROR
r-devel-windows-x86_64 1.31.2 48.00 311.00 359.00 OK
r-patched-linux-x86_64 1.31.2 40.43 333.44 373.87 OK
r-release-linux-x86_64 1.31.2 31.55 338.83 370.38 OK
r-release-macos-arm64 1.31.2 8.00 89.00 97.00 OK
r-release-macos-x86_64 1.31.2 18.00 362.00 380.00 OK
r-release-windows-x86_64 1.31.2 50.00 314.00 364.00 OK
r-oldrel-macos-arm64 1.31.2 6.00 606.00 612.00 OK
r-oldrel-macos-x86_64 1.31.2 17.00 645.00 662.00 OK
r-oldrel-windows-x86_64 1.31.2 55.00 394.00 449.00 OK

Check Details

Version: 1.31.2
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [183s/202s] 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 [ <1b>[38;5;214mFAIL<1b>[39m 26 | <1b>[35mWARN<1b>[39m 7850 | <1b>[34mSKIP<1b>[39m 27 | PASS 3540 ] ══ Skipped tests (27) ══════════════════════════════════════════════════════════ • 'mean' doesn't return variable metadata like 'max' does (1): <1b>[34mtest-cube-dims.R:181:9<1b>[39m • Need to use `cube_valid_count` to calculate base size (1): <1b>[34mtest-cube-bases.R:65:13<1b>[39m • On CRAN (3): <1b>[34mtest-cube-benchmarks.R:3:1<1b>[39m, <1b>[34mtest-project-folder.R:280:13<1b>[39m, <1b>[34mtest-variable-folders.R:181:13<1b>[39m • TODO (1): <1b>[34mtest-variable-folders.R:83:9<1b>[39m • TODO modify variablesFilter to distinguish between a fully specified variable subset and the original dataset (1): <1b>[34mtest-export-dataset.R:140:9<1b>[39m • TODO: distinguish this kind of attempted value updating from metadata updates (2): <1b>[34mtest-update.R:75:9<1b>[39m, <1b>[34mtest-update.R:103:9<1b>[39m • TODO: ensure something about the elements of a 'list column' (1): <1b>[34mtest-variable-catalog.R:216:9<1b>[39m • TODO: something smart with parentheses and order of operations (GH issue #99) (1): <1b>[34mtest-expressions.R:263:13<1b>[39m • empty test (16): , , , , , <1b>[34mtest-compare.R:113:5<1b>[39m, <1b>[34mtest-conditional-transform.R:281:5<1b>[39m, , , , , , , <1b>[34mtest-new-dataset.R:138:5<1b>[39m, , ══ Failed tests ════════════════════════════════════════════════════════════════ ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-categories.R:231:9<1b>[39m): names(categories())<- doesn't have warning message<1b>[22m ── Expected `expect_PATCH(...)` not to generate warnings. Actually generated: * Replacing special names '.Names' is deprecated; use 'names' instead. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:26:9<1b>[39m): conditionalTransform input validation<1b>[22m ── Expected `new_var <- conditionalTransform(TRUE ~ "foo", data = ds)` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:103:9<1b>[39m): conditionalTransform works with categories<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:115:9<1b>[39m): conditionalTransform works with categories<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:129:9<1b>[39m): conditionalTransform works with categories<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:141:9<1b>[39m): conditionalTransform works when specifying a categories as strings<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:174:9<1b>[39m): conditionalTransform works when specifying a categories object<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:197:9<1b>[39m): conditionalTransform works when specifying a categories object<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:247:9<1b>[39m): conditionalTransform works with other output types (text and numeric)<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:258:9<1b>[39m): conditionalTransform works with other output types (text and numeric)<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:269:9<1b>[39m): conditionalTransform works with other output types (text and numeric)<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame-merge.R:10:9<1b>[39m): the most basic case of merging a CrunchDataFarme with a data.frame<1b>[22m ── Expected `merged_df <- merge(ds_df, local_df, by.x = "gender", by.y = "gender")` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame-merge.R:110:9<1b>[39m): merge.CrunchDataFrame duplicates rows when needed<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame-merge.R:135:9<1b>[39m): merge.CrunchDataFrame duplicates rows when needed<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame-merge.R:176:9<1b>[39m): merge.CrunchDataFrame recreates even instantiated columns<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame-merge.R:188:9<1b>[39m): merge.CrunchDataFrame can handle a locally modified crunchdataframe<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:195:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `ds_df$new_local_var <- c(25:1)` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:199:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `ds_df[["new_local_var2"]] <- c(1:25)` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:204:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:212:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:227:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `ds_df[c(1, 25), "new_local_var3"] <- c(1, 25)` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:234:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `ds_df$new_local_var4 <- 1` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:237:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `ds_df$textVar <- c(1:25)` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-cube-subset.R:238:9<1b>[39m): cube [ method errors correctly<1b>[22m ────────── Expected `showMissing(cube)[3, 1, 1]` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-progress.R:76:21<1b>[39m): Progress polling goes until 100 when silent<1b>[22m ── Expected `expect_equal(...)` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-variable-folders.R:188:9<1b>[39m): copyFolders returns the target dataset with the order applied<1b>[22m ── Expected `new_order <- copyFolders(ds, ds_again)` to run silently. Actual noise: warnings. [ <1b>[38;5;214mFAIL<1b>[39m 26 | <1b>[35mWARN<1b>[39m 7850 | <1b>[34mSKIP<1b>[39m 27 | PASS 3540 ] <1b>[1m<1b>[33mError<1b>[39m:<1b>[22m <1b>[1m<1b>[22m<1b>[33m!<1b>[39m Test failures. There were 45 warnings (use warnings() to see them) Total teardown: Time difference of 3.433228e-05 secs Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.31.2
Check: tests
Result: ERROR Running ‘spelling.R’ Running ‘testthat.R’ [341s/443s] 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 [ <1b>[38;5;214mFAIL<1b>[39m 26 | <1b>[35mWARN<1b>[39m 7850 | <1b>[34mSKIP<1b>[39m 27 | PASS 3540 ] ══ Skipped tests (27) ══════════════════════════════════════════════════════════ • 'mean' doesn't return variable metadata like 'max' does (1): <1b>[34mtest-cube-dims.R:181:9<1b>[39m • Need to use `cube_valid_count` to calculate base size (1): <1b>[34mtest-cube-bases.R:65:13<1b>[39m • On CRAN (3): <1b>[34mtest-cube-benchmarks.R:3:1<1b>[39m, <1b>[34mtest-project-folder.R:280:13<1b>[39m, <1b>[34mtest-variable-folders.R:181:13<1b>[39m • TODO (1): <1b>[34mtest-variable-folders.R:83:9<1b>[39m • TODO modify variablesFilter to distinguish between a fully specified variable subset and the original dataset (1): <1b>[34mtest-export-dataset.R:140:9<1b>[39m • TODO: distinguish this kind of attempted value updating from metadata updates (2): <1b>[34mtest-update.R:75:9<1b>[39m, <1b>[34mtest-update.R:103:9<1b>[39m • TODO: ensure something about the elements of a 'list column' (1): <1b>[34mtest-variable-catalog.R:216:9<1b>[39m • TODO: something smart with parentheses and order of operations (GH issue #99) (1): <1b>[34mtest-expressions.R:263:13<1b>[39m • empty test (16): , , , , , <1b>[34mtest-compare.R:113:5<1b>[39m, <1b>[34mtest-conditional-transform.R:281:5<1b>[39m, , , , , , , <1b>[34mtest-new-dataset.R:138:5<1b>[39m, , ══ Failed tests ════════════════════════════════════════════════════════════════ ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-categories.R:231:9<1b>[39m): names(categories())<- doesn't have warning message<1b>[22m ── Expected `expect_PATCH(...)` not to generate warnings. Actually generated: * Replacing special names '.Names' is deprecated; use 'names' instead. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:26:9<1b>[39m): conditionalTransform input validation<1b>[22m ── Expected `new_var <- conditionalTransform(TRUE ~ "foo", data = ds)` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:103:9<1b>[39m): conditionalTransform works with categories<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:115:9<1b>[39m): conditionalTransform works with categories<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:129:9<1b>[39m): conditionalTransform works with categories<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:141:9<1b>[39m): conditionalTransform works when specifying a categories as strings<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:174:9<1b>[39m): conditionalTransform works when specifying a categories object<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:197:9<1b>[39m): conditionalTransform works when specifying a categories object<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:247:9<1b>[39m): conditionalTransform works with other output types (text and numeric)<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:258:9<1b>[39m): conditionalTransform works with other output types (text and numeric)<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:269:9<1b>[39m): conditionalTransform works with other output types (text and numeric)<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame-merge.R:10:9<1b>[39m): the most basic case of merging a CrunchDataFarme with a data.frame<1b>[22m ── Expected `merged_df <- merge(ds_df, local_df, by.x = "gender", by.y = "gender")` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame-merge.R:110:9<1b>[39m): merge.CrunchDataFrame duplicates rows when needed<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame-merge.R:135:9<1b>[39m): merge.CrunchDataFrame duplicates rows when needed<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame-merge.R:176:9<1b>[39m): merge.CrunchDataFrame recreates even instantiated columns<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame-merge.R:188:9<1b>[39m): merge.CrunchDataFrame can handle a locally modified crunchdataframe<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:195:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `ds_df$new_local_var <- c(25:1)` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:199:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `ds_df[["new_local_var2"]] <- c(1:25)` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:204:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:212:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:227:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `ds_df[c(1, 25), "new_local_var3"] <- c(1, 25)` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:234:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `ds_df$new_local_var4 <- 1` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:237:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `ds_df$textVar <- c(1:25)` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-cube-subset.R:238:9<1b>[39m): cube [ method errors correctly<1b>[22m ────────── Expected `showMissing(cube)[3, 1, 1]` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-progress.R:76:21<1b>[39m): Progress polling goes until 100 when silent<1b>[22m ── Expected `expect_equal(...)` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-variable-folders.R:188:9<1b>[39m): copyFolders returns the target dataset with the order applied<1b>[22m ── Expected `new_order <- copyFolders(ds, ds_again)` to run silently. Actual noise: warnings. [ <1b>[38;5;214mFAIL<1b>[39m 26 | <1b>[35mWARN<1b>[39m 7850 | <1b>[34mSKIP<1b>[39m 27 | PASS 3540 ] <1b>[1m<1b>[33mError<1b>[39m:<1b>[22m <1b>[1m<1b>[22m<1b>[33m!<1b>[39m Test failures. There were 45 warnings (use warnings() to see them) Total teardown: Time difference of 3.790855e-05 secs Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.31.2
Check: tests
Result: ERROR Running ‘spelling.R’ Running ‘testthat.R’ [397s/514s] 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 [ <1b>[38;5;214mFAIL<1b>[39m 26 | <1b>[35mWARN<1b>[39m 7850 | <1b>[34mSKIP<1b>[39m 27 | PASS 3540 ] ══ Skipped tests (27) ══════════════════════════════════════════════════════════ • 'mean' doesn't return variable metadata like 'max' does (1): <1b>[34mtest-cube-dims.R:181:9<1b>[39m • Need to use `cube_valid_count` to calculate base size (1): <1b>[34mtest-cube-bases.R:65:13<1b>[39m • On CRAN (3): <1b>[34mtest-cube-benchmarks.R:3:1<1b>[39m, <1b>[34mtest-project-folder.R:280:13<1b>[39m, <1b>[34mtest-variable-folders.R:181:13<1b>[39m • TODO (1): <1b>[34mtest-variable-folders.R:83:9<1b>[39m • TODO modify variablesFilter to distinguish between a fully specified variable subset and the original dataset (1): <1b>[34mtest-export-dataset.R:140:9<1b>[39m • TODO: distinguish this kind of attempted value updating from metadata updates (2): <1b>[34mtest-update.R:75:9<1b>[39m, <1b>[34mtest-update.R:103:9<1b>[39m • TODO: ensure something about the elements of a 'list column' (1): <1b>[34mtest-variable-catalog.R:216:9<1b>[39m • TODO: something smart with parentheses and order of operations (GH issue #99) (1): <1b>[34mtest-expressions.R:263:13<1b>[39m • empty test (16): , , , , , <1b>[34mtest-compare.R:113:5<1b>[39m, <1b>[34mtest-conditional-transform.R:281:5<1b>[39m, , , , , , , <1b>[34mtest-new-dataset.R:138:5<1b>[39m, , ══ Failed tests ════════════════════════════════════════════════════════════════ ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-categories.R:231:9<1b>[39m): names(categories())<- doesn't have warning message<1b>[22m ── Expected `expect_PATCH(...)` not to generate warnings. Actually generated: * Replacing special names '.Names' is deprecated; use 'names' instead. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:26:9<1b>[39m): conditionalTransform input validation<1b>[22m ── Expected `new_var <- conditionalTransform(TRUE ~ "foo", data = ds)` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:103:9<1b>[39m): conditionalTransform works with categories<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:115:9<1b>[39m): conditionalTransform works with categories<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:129:9<1b>[39m): conditionalTransform works with categories<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:141:9<1b>[39m): conditionalTransform works when specifying a categories as strings<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:174:9<1b>[39m): conditionalTransform works when specifying a categories object<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:197:9<1b>[39m): conditionalTransform works when specifying a categories object<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:247:9<1b>[39m): conditionalTransform works with other output types (text and numeric)<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:258:9<1b>[39m): conditionalTransform works with other output types (text and numeric)<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-conditional-transform.R:269:9<1b>[39m): conditionalTransform works with other output types (text and numeric)<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame-merge.R:10:9<1b>[39m): the most basic case of merging a CrunchDataFarme with a data.frame<1b>[22m ── Expected `merged_df <- merge(ds_df, local_df, by.x = "gender", by.y = "gender")` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame-merge.R:110:9<1b>[39m): merge.CrunchDataFrame duplicates rows when needed<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame-merge.R:135:9<1b>[39m): merge.CrunchDataFrame duplicates rows when needed<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame-merge.R:176:9<1b>[39m): merge.CrunchDataFrame recreates even instantiated columns<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame-merge.R:188:9<1b>[39m): merge.CrunchDataFrame can handle a locally modified crunchdataframe<1b>[22m ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:195:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `ds_df$new_local_var <- c(25:1)` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:199:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `ds_df[["new_local_var2"]] <- c(1:25)` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:204:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:212:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `... <- NULL` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:227:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `ds_df[c(1, 25), "new_local_var3"] <- c(1, 25)` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:234:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `ds_df$new_local_var4 <- 1` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-crunch-data-frame.R:237:9<1b>[39m): crdf column setters work<1b>[22m ────────── Expected `ds_df$textVar <- c(1:25)` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-cube-subset.R:238:9<1b>[39m): cube [ method errors correctly<1b>[22m ────────── Expected `showMissing(cube)[3, 1, 1]` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-progress.R:76:21<1b>[39m): Progress polling goes until 100 when silent<1b>[22m ── Expected `expect_equal(...)` to run silently. Actual noise: warnings. ── <1b>[1m<1b>[38;5;214mFailure<1b>[39m (<1b>[34mtest-variable-folders.R:188:9<1b>[39m): copyFolders returns the target dataset with the order applied<1b>[22m ── Expected `new_order <- copyFolders(ds, ds_again)` to run silently. Actual noise: warnings. [ <1b>[38;5;214mFAIL<1b>[39m 26 | <1b>[35mWARN<1b>[39m 7850 | <1b>[34mSKIP<1b>[39m 27 | PASS 3540 ] <1b>[1m<1b>[33mError<1b>[39m:<1b>[22m <1b>[1m<1b>[22m<1b>[33m!<1b>[39m Test failures. There were 45 warnings (use warnings() to see them) Total teardown: Time difference of 4.005432e-05 secs Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc