Running ‘spelling.R’
  Running ‘testthat.R’ [427s/560s]
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 5.984306e-05 secs
  Execution halted