Running ‘testthat.R’ [6m/16m]
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(ggdist)     # nolint
  > 
  > test_check("ggdist")
  Saving _problems/test.scale_-73.R
  [ FAIL 1 | WARN 0 | SKIP 109 | PASS 721 ]
  
  ══ Skipped tests (109) ═════════════════════════════════════════════════════════
  • On CRAN (109): 'test.curve_interval.R:12:1', 'test.density.R:82:1',
    'test.density.R:149:1', 'test.geom_blur_dots.R:7:1',
    'test.geom_dotsinterval.R:13:1', 'test.geom_dotsinterval.R:82:1',
    'test.geom_dotsinterval.R:113:1', 'test.geom_dotsinterval.R:144:1',
    'test.geom_dotsinterval.R:169:1', 'test.geom_dotsinterval.R:192:1',
    'test.geom_dotsinterval.R:212:1', 'test.geom_dotsinterval.R:225:1',
    'test.geom_dotsinterval.R:256:1', 'test.geom_dotsinterval.R:297:1',
    'test.geom_dotsinterval.R:338:1', 'test.geom_dotsinterval.R:346:1',
    'test.geom_dotsinterval.R:365:1', 'test.geom_dotsinterval.R:376:1',
    'test.geom_dotsinterval.R:394:1', 'test.geom_dotsinterval.R:408:1',
    'test.geom_dotsinterval.R:684:1', 'test.geom_dotsinterval.R:701:1',
    'test.geom_interval.R:18:1', 'test.geom_interval.R:60:1',
    'test.geom_interval.R:81:1', 'test.geom_lineribbon.R:24:1',
    'test.geom_lineribbon.R:45:1', 'test.geom_lineribbon.R:91:1',
    'test.geom_lineribbon.R:111:1', 'test.geom_lineribbon.R:150:1',
    'test.geom_lineribbon.R:170:1', 'test.geom_lineribbon.R:199:1',
    'test.geom_lineribbon.R:216:1', 'test.geom_lineribbon.R:243:1',
    'test.geom_lineribbon.R:277:1', 'test.geom_pointinterval.R:17:1',
    'test.geom_pointinterval.R:52:1', 'test.geom_pointinterval.R:81:1',
    'test.geom_pointinterval.R:111:1', 'test.geom_pointinterval.R:136:1',
    'test.geom_slabinterval.R:46:1', 'test.geom_slabinterval.R:70:1',
    'test.geom_slabinterval.R:105:1', 'test.geom_slabinterval.R:120:1',
    'test.geom_slabinterval.R:233:1', 'test.geom_slabinterval.R:246:1',
    'test.geom_slabinterval.R:277:1', 'test.geom_slabinterval.R:292:1',
    'test.guide_rampbar.R:12:1', 'test.guide_rampbar.R:31:1',
    'test.parse_dist.R:76:1', 'test.point_interval.R:712:1',
    'test.position_dodgejust.R:11:1', 'test.position_dodgejust.R:65:1',
    'test.scale_.R:12:1', 'test.scale_colour_ramp.R:13:1',
    'test.scale_colour_ramp.R:40:1', 'test.scale_colour_ramp.R:75:1',
    'test.scale_colour_ramp.R:97:1', 'test.scale_colour_ramp.R:129:1',
    'test.scale_thickness.R:12:1', 'test.stat_cdfinterval.R:10:1',
    'test.stat_dist_slabinterval.R:14:1', 'test.stat_dist_slabinterval.R:67:1',
    'test.stat_dist_slabinterval.R:134:1', 'test.stat_dist_slabinterval.R:178:1',
    'test.stat_dist_slabinterval.R:195:1', 'test.stat_dist_slabinterval.R:215:1',
    'test.stat_dist_slabinterval.R:238:1', 'test.stat_dist_slabinterval.R:289:1',
    'test.stat_dist_slabinterval.R:354:1', 'test.stat_dist_slabinterval.R:428:1',
    'test.stat_dist_slabinterval.R:446:1', 'test.stat_dist_slabinterval.R:462:1',
    'test.stat_dist_slabinterval.R:479:1', 'test.stat_dist_slabinterval.R:499:1',
    'test.stat_dist_slabinterval.R:513:1', 'test.stat_dist_slabinterval.R:529:1',
    'test.stat_dist_slabinterval.R:542:1', 'test.stat_dist_slabinterval.R:558:1',
    'test.stat_dist_slabinterval.R:598:1', 'test.stat_dist_slabinterval.R:949:1',
    'test.stat_dist_slabinterval.R:979:1',
    'test.stat_dist_slabinterval.R:1037:1',
    'test.stat_dist_slabinterval.R:1069:1',
    'test.stat_dist_slabinterval.R:1128:1',
    'test.stat_dist_slabinterval.R:1147:1', 'test.stat_eye.R:11:1',
    'test.stat_eye.R:38:1', 'test.stat_eye.R:72:1',
    'test.stat_sample_slabinterval.R:14:1',
    'test.stat_sample_slabinterval.R:37:1',
    'test.stat_sample_slabinterval.R:63:1',
    'test.stat_sample_slabinterval.R:87:1',
    'test.stat_sample_slabinterval.R:107:1',
    'test.stat_sample_slabinterval.R:131:1',
    'test.stat_sample_slabinterval.R:162:1',
    'test.stat_sample_slabinterval.R:181:1',
    'test.stat_sample_slabinterval.R:221:1',
    'test.stat_sample_slabinterval.R:267:1',
    'test.stat_sample_slabinterval.R:288:1', 'test.stat_spike.R:11:1',
    'test.subguide.R:12:1', 'test.subguide.R:41:1', 'test.subguide.R:121:1',
    'test.subguide.R:164:1', 'test.subguide.R:189:1', 'test.subguide.R:238:1',
    'test.theme_ggdist.R:12:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test.scale_.R:71:3'): mapping custom aesthetics works ───────────────
  Error in `as_continuous_pal(elem)`: Cannot convert `x` to a continuous palette.
  Backtrace:
       ▆
    1. └─vdiffr::expect_doppelganger(...) at test.scale_.R:71:3
    2.   └─vdiffr (local) writer(fig, testcase, title)
    3.     ├─vdiffr:::print_plot(plot, title)
    4.     └─vdiffr:::print_plot.ggplot(plot, title)
    5.       ├─base::print(p)
    6.       └─ggplot2 (local) `print.ggplot2::ggplot`(p)
    7.         ├─ggplot2::ggplot_build(x)
    8.         └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x)
    9.           └─npscales$set_palettes(plot@theme)
   10.             └─ggplot2 (local) set_palettes(..., self = self)
   11.               ├─scales::as_continuous_pal(elem)
   12.               └─scales:::as_continuous_pal.default(elem)
   13.                 └─cli::cli_abort("Cannot convert {.arg x} to a continuous palette.")
   14.                   └─rlang::abort(...)
  
  [ FAIL 1 | WARN 0 | SKIP 109 | PASS 721 ]
  Deleting unused snapshots:
  'test.scale_/dots-slab-color-plus-slab-shape-mapping.svg',
  'test.scale_/interval-alpha-continuous-mapping.svg',
  'test.scale_/interval-alpha-discrete-mapping.svg',
  'test.scale_/interval-color-continuous-mapping.svg',
  'test.scale_/interval-color-discrete-mapping.svg',
  'test.scale_/interval-linetype-discrete-mapping.svg',
  'test.scale_/interval-size-continuous-mapping.svg',
  'test.scale_/interval-size-discrete-mapping.svg',
  'test.scale_/point-alpha-continuous-mapping.svg',
  'test.scale_/point-alpha-discrete-mapping.svg',
  'test.scale_/point-fill-continuous-mapping.svg',
  'test.scale_/point-fill-discrete-mapping.svg',
  'test.scale_/point-size-continuous-mapping.svg',
  'test.scale_/point-size-discrete-mapping.svg',
  'test.scale_/slab-alpha-continuous-mapping.svg',
  'test.scale_/slab-alpha-discrete-mapping.svg',
  'test.scale_/slab-color-continuous-mapping.svg',
  'test.scale_/slab-color-discrete-mapping.svg', …,
  'test.scale_/slab-size-continuous-mapping.svg', and
  'test.scale_/slab-size-discrete-mapping.svg'
  Error:
  ! Test failures.
  Execution halted