Running ‘testthat.R’ [11s/13s]
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(paletteer)
  > 
  > test_check("paletteer")
  Saving _problems/test-paletteer_c-26.R
  Saving _problems/test-vdiffr_palette_check-138.R
  NULL
  NULL
  NULL
  NULL
  NULL
  NULL
  NULL
  [ FAIL 2 | WARN 1 | SKIP 17 | PASS 104 ]
  
  ══ Skipped tests (17) ══════════════════════════════════════════════════════════
  • On CRAN (17): 'test-ggplot2_scales_binned.R:32:1',
    'test-ggplot2_scales_continuous.R:32:1',
    'test-ggplot2_scales_discrete.R:63:1', 'test-paletteer_c.R:10:1',
    'test-paletteer_d.R:14:1', 'test-paletteer_d.R:28:1',
    'test-paletteer_d.R:73:1', 'test-paletteer_dynamic.R:11:1',
    'test-paletteer_dynamic.R:15:1', 'test-paletteer_dynamic.R:22:1',
    'test-vdiffr_palette_check.R:148:1', 'test-vdiffr_palette_check.R:154:1',
    'test-vdiffr_palette_check.R:160:1', 'test-vdiffr_palette_check.R:166:1',
    'test-vdiffr_palette_check.R:172:1', 'test-vdiffr_palette_check.R:178:1',
    'test-vdiffr_palette_check.R:184:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-paletteer_c.R:23:3'): direction works correctly in paletteer_c ──
  Error in `file("", "w+b")`: cannot open the connection
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-paletteer_c.R:23: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")
  ── Error ('test-vdiffr_palette_check.R:138:5'): colors show up correctly ───────
  Error: cannot open stream /tmp/Rtmp04M8Bk/musculuscolors6e7b2666500bb.svg
  Backtrace:
      ▆
   1. └─paletteer (local) expect_doppelganger(package, plot_in_one(package)) at test-vdiffr_palette_check.R:138:5
   2.   └─vdiffr::expect_doppelganger(title, fig, ...) at test-vdiffr_palette_check.R:133:3
   3.     └─vdiffr (local) writer(fig, testcase, title)
   4.       └─vdiffr:::svglite(file)
   5.         └─vdiffr:::svglite_(...)
  
  [ FAIL 2 | WARN 1 | SKIP 17 | PASS 104 ]
  Deleting unused snapshots: 'vdiffr_palette_check/cartography.svg',
  'vdiffr_palette_check/ggthemes-ptol.svg',
  'vdiffr_palette_check/ggthemes-solarized.svg',
  'vdiffr_palette_check/nationalparkcolors.svg',
  'vdiffr_palette_check/natparkspalettes.svg',
  'vdiffr_palette_check/nbapalettes.svg',
  'vdiffr_palette_check/nineteeneightyr.svg', 'vdiffr_palette_check/nord.svg',
  'vdiffr_palette_check/ochre.svg', 'vdiffr_palette_check/palettesforr.svg',
  'vdiffr_palette_check/palettetown.svg', 'vdiffr_palette_check/perreo.svg',
  'vdiffr_palette_check/pnwcolors.svg', 'vdiffr_palette_check/polychrome.svg',
  'vdiffr_palette_check/prettycols.svg', 'vdiffr_palette_check/rcartocolor.svg',
  'vdiffr_palette_check/rcolorbrewer.svg', 'vdiffr_palette_check/redmonder.svg',
  …, 'vdiffr_palette_check/wesanderson.svg', and 'vdiffr_palette_check/yarrr.svg'
  Error:
  ! Test failures.
  Execution halted