Running ‘testthat.R’ [8s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(cardinalR)
  > 
  > test_check("cardinalR")
  Saving _problems/test-cube-13.R
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  v Multiple clusters generation completed successfully!!!
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  v Multiple clusters generation completed successfully!!!
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  v Multiple clusters generation completed successfully!!!
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  v Data generation completed successfully!!!
  [ FAIL 1 | WARN 1 | SKIP 48 | PASS 122 ]
  
  ══ Skipped tests (48) ══════════════════════════════════════════════════════════
  • On CRAN (48): 'test-branching.R:1:1', 'test-branching.R:10:1',
    'test-branching.R:19:1', 'test-branching.R:28:1', 'test-branching.R:37:1',
    'test-cone.R:1:1', 'test-cube.R:1:1', 'test-cube.R:19:1',
    'test-gaussian.R:1:1', 'test-linear.R:1:1', 'test-mobius.R:1:1',
    'test-multicluster.R:1:1', 'test-polynomial.R:1:1', 'test-polynomial.R:8:1',
    'test-pyramid.R:1:1', 'test-pyramid.R:12:1', 'test-pyramid.R:23:1',
    'test-pyramid.R:32:1', 'test-scurve.R:1:1', 'test-scurve.R:8:1',
    'test-sphere.R:1:1', 'test-sphere.R:10:1', 'test-sphere.R:19:1',
    'test-sphere.R:27:1', 'test-sphere.R:35:1', 'test-sphere.R:51:1',
    'test-swiss_roll.R:1:1', 'test-trefoil.R:1:1', 'test-trefoil.R:9:1',
    'test-trigonometric.R:1:1', 'test-trigonometric.R:8:1',
    'test-trigonometric.R:16:1', 'test-trigonometric.R:24:1',
    'test-trigonometric.R:31:1', 'test-trigonometric.R:39:1', 'test-util.R:1:1',
    'test-util.R:11:1', 'test-util.R:20:1', 'test-util.R:25:1',
    'test-util.R:52:1', 'test-util.R:59:1', 'test-util.R:66:1',
    'test-util.R:75:1', 'test-util.R:87:1', 'test-util.R:99:1',
    'test-util.R:112:1', 'test-util.R:119:1', 'test-util.R:126:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-cube.R:13:3'): gen_unifcube() works ────────────────────────────
  Error in `file("", "w+b")`: cannot open the connection
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(gen_unifcube(n = 500, p = 5)) at test-cube.R:13:3
   2.   └─testthat:::expect_snapshot_(...)
   3.     ├─testthat:::with_is_snapshotting(...)
   4.     └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay)
   5.       └─evaluate::evaluate(source, envir = env, new_device = FALSE, output_handler = handler)
   6.         └─evaluate:::watchout(...)
   7.           └─evaluate:::local_persistent_sink_connection(debug, frame)
   8.             └─base::file("", "w+b")
  
  [ FAIL 1 | WARN 1 | SKIP 48 | PASS 122 ]
  Error:
  ! Test failures.
  Execution halted