Running ‘testthat.R’ [134s/153s]
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.
  [ FAIL 1 | WARN 17 | SKIP 71 | PASS 1422 ]
  
  ══ Skipped tests (71) ══════════════════════════════════════════════════════════
  • On CRAN (20): 'test-api.R:2:3', 'test-api.R:10:3', 'test-api.R:17:3',
    'test-api.R:26:3', 'test-api.R:44:3', 'test-api.R:60:3', 'test-api.R:83:3',
    'test-api.R:93:3', 'test-api.R:104:3', 'test-api.R:143:3',
    'test-api.R:162:3', 'test-api.R:170:3', 'test-api.R:178:3',
    'test-api.R:184:3', 'test-api.R:193:3', 'test-api.R:204:3',
    '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 (38): '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-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:105:1', 'test-ggplot-step.R:39:1',
    'test-ggplot-summary.R:1:1', 'test-ggplot-ticks.R:193: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:46:1', 'test-rotated-ticks.R:51:1',
    'test-rotated-ticks.R:57:1'
  • has_mapbox() is not TRUE (9): 'test-plotly-sf.R:53:3',
    'test-plotly-sf.R:67:3', 'test-plotly-sf.R:130:3', 'test-plotly-sf.R:152:3',
    'test-plotly-sf.R:188:3', 'test-plotly-sf.R:232:3', 'test-plotly-sf.R:281:3',
    'test-plotly-sf.R:317:3', 'test-plotly-sf.R:353:3'
  • quantreg cannot be loaded (2): 'test-ggplot-quantile.R:7:3',
    'test-ggplot-quantile.R:31:3'
  • reshape2 cannot be loaded (2): 'test-ggplot-contour.R:3:3',
    'test-ggplot-heatmap.R:12:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-icicle.R:3:5'): icicle trace basically works ───────────────────
  Error in `open.connection(con, "rb")`: cannot open the connection to 'https://raw.githubusercontent.com/plotly/plotly.js/master/test/image/mocks/uniformtext_icicle.json'
  Backtrace:
      ▆
   1. └─jsonlite::fromJSON(...) at test-icicle.R:3:4
   2.   └─jsonlite:::parse_and_simplify(...)
   3.     └─jsonlite:::parseJSON(txt, bigint_as_char)
   4.       └─jsonlite:::parse_con(txt, bigint_as_char)
   5.         ├─base::open(con, "rb")
   6.         └─base::open.connection(con, "rb")
  
  [ FAIL 1 | WARN 17 | SKIP 71 | PASS 1422 ]
  Deleting unused snapshots:
  • ggplot-contour/contour.svg
  • ggplot-heatmap/heatmap.svg
  • icicle/uniformtext-icicle.svg
  Error: Test failures
  Execution halted