The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

CRAN Package Check Results for Package crunch

Last updated on 2026-07-23 23:53:05 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.31.2 32.92 472.21 505.13 ERROR
r-devel-linux-x86_64-debian-gcc 1.31.2 23.88 307.66 331.54 ERROR
r-devel-linux-x86_64-fedora-clang 1.31.2 61.00 730.57 791.57 ERROR
r-devel-linux-x86_64-fedora-gcc 1.31.2 25.00 341.19 366.19 ERROR
r-devel-windows-x86_64 1.31.2 38.00 326.00 364.00 ERROR
r-patched-linux-x86_64 1.31.2 37.07 340.11 377.18 OK
r-release-linux-x86_64 1.31.2 34.77 340.79 375.56 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 40.00 311.00 351.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 52.00 395.00 447.00 OK

Check Details

Version: 1.31.2
Check: R code for possible problems
Result: 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'. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 1.31.2
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [284s/364s] 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.124641e-05 secs Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.31.2
Check: tests
Result: 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 [ <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.695488e-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’ [431s/545s] 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 7.104874e-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’ [200s/403s] 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 5.960464e-05 secs Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.31.2
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [116s] 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-progress-83.R Saving _problems/test-variable-folders-188.R [ <1b>[38;5;214mFAIL<1b>[39m 25 | <1b>[35mWARN<1b>[39m 3604 | <1b>[34mSKIP<1b>[39m 36 | PASS 2649 ] ══ Skipped tests (36) ══════════════════════════════════════════════════════════ • 'mean' doesn't return variable metadata like 'max' does (1): <1b>[34mtest-cube-dims.R:181:9<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 • empty test (27): , , , , , <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-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 25 | <1b>[35mWARN<1b>[39m 3604 | <1b>[34mSKIP<1b>[39m 36 | PASS 2649 ] <1b>[1m<1b>[33mError<1b>[39m:<1b>[22m <1b>[1m<1b>[22m<1b>[33m!<1b>[39m Test failures. There were 44 warnings (use warnings() to see them) Total teardown: Time difference of 4.386902e-05 secs Execution halted Flavor: r-devel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.