Running ‘testthat.R’ [6m/11m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("plotly")
  Loading required package: ggplot2
  
  Attaching package: 'plotly'
  
  The following object is masked from 'package:ggplot2':
  
      last_plot
  
  The following object is masked from 'package:stats':
  
      filter
  
  The following object is masked from 'package:graphics':
  
      layout
  
  > 
  > test_check("plotly")
  Visual testing is not enabled.
  Saving _problems/test-ggplot-legend-32.R
  Saving _problems/test-ggplot-legend-33.R
  [ FAIL 2 | WARN 22 | SKIP 63 | PASS 1449 ]
  
  ══ Skipped tests (63) ══════════════════════════════════════════════════════════
  • On CRAN (4): 'test-plotly-partial-bundles.R:3:3',
    'test-plotly-partial-bundles.R:22:3', 'test-plotly-partial-bundles.R:50:3',
    'test-plotly-shiny.R:23:3'
  • empty test (45): 'test-animate-highlight.R:436:1',
    'test-cookbook-scatterplots.R:16:1', 'test-ggalluvial.R:4:1',
    'test-ggalluvial.R:19:1', 'test-ggplot-col.R:17:1',
    'test-ggplot-contour.R:15:1', 'test-ggplot-function.R:3:1',
    'test-ggplot-function.R:11:1', 'test-ggplot-heatmap.R:66:1',
    'test-ggplot-labels.R:43:1', 'test-ggplot-labels.R:50:1',
    'test-ggplot-legend.R:42:1', 'test-ggplot-sf.R:106:1',
    'test-ggplot-step.R:39:1', 'test-ggplot-summary.R:1:1',
    'test-ggplot-ticks.R:193:1', 'test-ggridges.R:4:1', 'test-ggridges.R:57:1',
    'test-ggridges.R:121:1', 'test-ggridges.R:213:1', 'test-ggridges.R:280:1',
    'test-icicle.R:1:1', 'test-mean-error-bars.R:9:1',
    'test-mean-error-bars.R:15:1', 'test-mean-error-bars.R:23:1',
    'test-mean-error-bars.R:31:1', 'test-mean-error-bars.R:53:1',
    'test-plotly-area.R:1:1', 'test-plotly-color.R:9:1',
    'test-plotly-colorscale.R:4:1', 'test-plotly-colorscale.R:17:1',
    'test-plotly-colorscale.R:29:1', 'test-plotly-colorscale.R:34:1',
    'test-plotly-colorscale.R:69:1', 'test-plotly-image-trace.R:3:1',
    'test-plotly-image-trace.R:32:1', 'test-plotly-splom.R:4:1',
    'test-plotly-subplot.R:137:1', 'test-plotly-sunburst.R:3:1',
    'test-plotly-treemaps.R:5:1', 'test-plotly-treemaps.R:15:1',
    'test-plotly-waterfall.R:2:1', 'test-rotated-ticks.R:48:1',
    'test-rotated-ticks.R:53:1', 'test-rotated-ticks.R:59:1'
  • has_mapbox() is not TRUE (9): 'test-plotly-sf.R:53:3',
    'test-plotly-sf.R:67:3', 'test-plotly-sf.R:128:3', 'test-plotly-sf.R:150:3',
    'test-plotly-sf.R:186:3', 'test-plotly-sf.R:230:3', 'test-plotly-sf.R:279:3',
    'test-plotly-sf.R:315:3', 'test-plotly-sf.R:351:3'
  • plotly seems to no longer support the 'Chart Studio' API
    https://plotly.com/chart-studio-updates/ (1): 'test-api.R:1:1'
  • {quantreg} is not installed (2): 'test-ggplot-quantile.R:7:3',
    'test-ggplot-quantile.R:31:3'
  • {reshape2} is not installed (2): 'test-ggplot-contour.R:3:3',
    'test-ggplot-heatmap.R:12:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-ggplot-legend.R:32:3'): Discrete colour and shape get merged into one legend ──
  Expected `legend_title` to match regexp "^factor\\(vs\\)".
  Actual text:
  ✖ │ factor(cyl)<br />factor(vs)
  ── Failure ('test-ggplot-legend.R:33:3'): Discrete colour and shape get merged into one legend ──
  Expected `legend_title` to match regexp "factor\\(cyl\\)$".
  Actual text:
  ✖ │ factor(cyl)<br />factor(vs)
  
  [ FAIL 2 | WARN 22 | SKIP 63 | PASS 1449 ]
  Deleting unused snapshots: 'ggplot-contour/contour.svg' and
  'ggplot-heatmap/heatmap.svg'
  Error:
  ! Test failures.
  Execution halted