Running 'spelling.R'
  Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > test_check("crunchy")
  Loading required package: crunchy
  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
  
  Loading required package: shiny
  
  Attaching package: 'crunchy'
  
  The following object is masked from 'package:crunch':
  
      makeArrayGadget
  
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  Warning in untar(system.file("mocks.tgz", package = "crunch"), exdir = tempdir()) :
    'C:/msys64/usr/bin/tar --force-local -xf "C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/lib/crunch/mocks.tgz" -C "C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/crunchy/tmp/Rtmp0ir2Q6"' returned error code 2
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-gadgets.R:63:1): (code run outside of `test_that()`) ────────────
  Error: GET https://app.crunch.io/api/ (app.crunch.io/api.json)
  Backtrace:
       █
    1. ├─global::with_mock_crunch(...) test-gadgets.R:63:0
    2. │ ├─base::with(opts, with_mock_api(expr))
    3. │ ├─crunch:::with.contextManager(opts, with_mock_api(expr))
    4. │ │ └─base::eval(substitute(expr), envir = parent.frame())
    5. │ │   └─base::eval(substitute(expr), envir = parent.frame())
    6. │ └─httptest::with_mock_api(expr)
    7. │   └─base::eval.parent(expr)
    8. │     └─base::eval(expr, p)
    9. └─crunch::loadDataset("test ds") test-gadgets.R:69:4
   10.   └─crunch:::lookupDataset(dataset, project = project)
   11.     └─crunch:::findDatasetsByName(x)
   12.       ├─base::paste0(...)
   13.       └─crunch:::sessionURL("datasets")
   14.         ├─crunch::shojiURL(getAPIRoot(), collection, key)
   15.         │ └─crunch::is.variable(x)
   16.         └─crunch:::getAPIRoot()
   17.           ├─crunch:::ShojiObject(crGET(x))
   18.           │ └─methods::new(structure("ShojiObject", package = "crunch"), ...)
   19.           │   ├─methods::initialize(value, ...)
   20.           │   └─crunch:::initialize(value, ...)
   21.           └─crunch::crGET(x)
   22.             └─crunch:::crunchAPI("GET", ...)
   23.               └─httpcache:::FUN(...)
   24.                 └─httr::GET(url, ...)
   25.                   └─httr:::request_perform(req, hu$handle$handle)
   26.                     └─httr:::request_fetch(req$output, req$url, handle)
   27.                       └─(function (req, handle, refresh) ...
   28.                         └─httptest:::stop_request(req)
  
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 28 ]
  Error: Test failures
  Execution halted