Running ‘spelling.R’
  Running ‘testthat.R’ [249s/252s]
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
  
  
  [ [38;5;214mFAIL[39m 2 | WARN 0 | [34mSKIP[39m 15 | PASS 3558 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • 'mean' doesn't return variable metadata like 'max' does (1)
  • Need to use `cube_valid_count` to calculate base size (1)
  • On CRAN (4)
  • TODO (1)
  • TODO modify variablesFilter to distinguish between a fully specified variable subset and the original dataset (1)
  • TODO: distinguish this kind of attempted value updating from metadata updates (2)
  • TODO: ensure something about the elements of a 'list column' (1)
  • TODO: something intelligent with parentheses and order of operations (GH issue #99) (1)
  • empty test (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── [1m[38;5;214mFailure[39m ([34mtest-as-data-frame.R:115[39m): csvToDataFrame produces the correct data frame[22m ──
  csvToDataFrame(csv_df, cdf) not identical to `expected`.
  Objects equal but not identical
  ── [1m[38;5;214mFailure[39m ([34mtest-as-data-frame.R:125[39m): csvToDataFrame respects include.hidden[22m ──
  `actual` not identical to `expected`.
  Objects equal but not identical
  
  [ [38;5;214mFAIL[39m 2 | WARN 0 | [34mSKIP[39m 15 | PASS 3558 ]
  Error: Test failures
  Total teardown: Time difference of 6.222725e-05 secs
  Execution halted