R Under development (unstable) (2023-08-28 r85029 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > 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 [ FAIL 0 | WARN 1 | SKIP 12 | PASS 2677 ] ══ Skipped tests (12) ══════════════════════════════════════════════════════════ • 'mean' doesn't return variable metadata like 'max' does (1): test-cube-dims.R:181:9 • On CRAN (3): test-cube-benchmarks.R:3:1, test-project-folder.R:272:13, test-variable-folders.R:179:13 • TODO (1): test-variable-folders.R:83:9 • TODO modify variablesFilter to distinguish between a fully specified variable subset and the original dataset (1): test-export-dataset.R:153:9 • TODO: distinguish this kind of attempted value updating from metadata updates (2): test-update.R:75:9, test-update.R:103:9 • TODO: ensure something about the elements of a 'list column' (1): test-variable-catalog.R:216:9 • empty test (3): test-compare.R:113:5, test-conditional-transform.R:281:5, test-new-dataset.R:135:5 [ FAIL 0 | WARN 1 | SKIP 12 | PASS 2677 ] Total teardown: Time difference of 4.005432e-05 secs > > proc.time() user system elapsed 45.03 2.75 48.54