Running 'testthat.R' [12s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(covidcast)
  We encourage COVIDcast API users to register on our mailing list:
  https://lists.andrew.cmu.edu/mailman/listinfo/delphi-covidcast-api
  We'll send announcements about new data sources, package updates,
  server maintenance, and new features.
  > 
  > test_check("covidcast")
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  Fetched day 2020-01-01 to 2020-01-01: num_entries = 2
  Fetched day 2020-01-01 to 2020-01-01: num_entries = 1
  Fetched day 2020-01-01 to 2020-01-05: num_entries = 5
  Fetched day 2020-10-30 to 2020-10-31: num_entries = 2
  Fetched day 2020-10-30 to 2020-10-31: num_entries = 2
  Fetched day 2020-10-01 to 2020-10-03: num_entries = 3
  Fetched day 2020-10-04 to 2020-10-06: num_entries = 3
  [ FAIL 6 | WARN 14 | SKIP 2 | PASS 58 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-plot.R:57'): simple state choropleths ──────────────────────────
  Error in `file.exists(dsn)`: file name conversion problem -- name too long?
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-plot.R:57:2
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   └─vdiffr:::print_plot(plot, title)
    4. ├─base::plot(fb_state, plot_type = "choro")
    5. └─covidcast:::plot.covidcast_signal(fb_state, plot_type = "choro")
    6.   └─covidcast:::plot_choro(...)
    7.     └─covidcast:::read_geojson_data("state")
    8.       ├─sf::st_read(dsn = geojson, quiet = TRUE)
    9.       └─sf:::st_read.character(dsn = geojson, quiet = TRUE)
   10.         └─base::file.exists(dsn)
  ── Error ('test-plot.R:94'): simple HRR choropleths ────────────────────────────
  Error in `file.exists(dsn)`: file name conversion problem -- name too long?
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-plot.R:94:2
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   └─vdiffr:::print_plot(plot, title)
    4. ├─base::plot(fb_hrr, plot_type = "choro")
    5. └─covidcast:::plot.covidcast_signal(fb_hrr, plot_type = "choro")
    6.   └─covidcast:::plot_choro(...)
    7.     └─covidcast:::read_geojson_data("state")
    8.       ├─sf::st_read(dsn = geojson, quiet = TRUE)
    9.       └─sf:::st_read.character(dsn = geojson, quiet = TRUE)
   10.         └─base::file.exists(dsn)
  ── Error ('test-plot.R:105'): simple MSA choropleths ───────────────────────────
  Error in `file.exists(dsn)`: file name conversion problem -- name too long?
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-plot.R:105:2
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   └─vdiffr:::print_plot(plot, title)
    4. ├─base::plot(fb_msa, plot_type = "choro")
    5. └─covidcast:::plot.covidcast_signal(fb_msa, plot_type = "choro")
    6.   └─covidcast:::plot_choro(...)
    7.     └─covidcast:::read_geojson_data("state")
    8.       ├─sf::st_read(dsn = geojson, quiet = TRUE)
    9.       └─sf:::st_read.character(dsn = geojson, quiet = TRUE)
   10.         └─base::file.exists(dsn)
  ── Error ('test-plot.R:127'): state bubble plot with both missing and 0 values ──
  Error in `file.exists(dsn)`: file name conversion problem -- name too long?
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-plot.R:127:2
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   └─vdiffr:::print_plot(plot, title)
    4. ├─base::suppressWarnings(...)
    5. │ └─base::withCallingHandlers(...)
    6. ├─base::plot(fake_data, plot_type = "bubble", range = c(0, 3))
    7. └─covidcast:::plot.covidcast_signal(...)
    8.   └─covidcast:::plot_bubble(...)
    9.     └─covidcast:::read_geojson_data("state")
   10.       ├─sf::st_read(dsn = geojson, quiet = TRUE)
   11.       └─sf:::st_read.character(dsn = geojson, quiet = TRUE)
   12.         └─base::file.exists(dsn)
  ── Error ('test-plot.R:136'): simple county bubble plot ────────────────────────
  Error in `file.exists(dsn)`: file name conversion problem -- name too long?
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-plot.R:136:2
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   └─vdiffr:::print_plot(plot, title)
    4. ├─base::suppressWarnings(plot(fb_county, plot_type = "bubble"))
    5. │ └─base::withCallingHandlers(...)
    6. ├─base::plot(fb_county, plot_type = "bubble")
    7. └─covidcast:::plot.covidcast_signal(fb_county, plot_type = "bubble")
    8.   └─covidcast:::plot_bubble(...)
    9.     └─covidcast:::read_geojson_data("county")
   10.       ├─sf::st_read(dsn = geojson, quiet = TRUE)
   11.       └─sf:::st_read.character(dsn = geojson, quiet = TRUE)
   12.         └─base::file.exists(dsn)
  ── Error ('test-plot.R:155'): warn on incomplete metadata ──────────────────────
  Error in `file.exists(dsn)`: file name conversion problem -- name too long?
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(plot(fake_data), NA) at test-plot.R:155:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─base::plot(fake_data)
    8. └─covidcast:::plot.covidcast_signal(fake_data)
    9.   └─covidcast:::plot_choro(...)
   10.     └─covidcast:::read_geojson_data("state")
   11.       ├─sf::st_read(dsn = geojson, quiet = TRUE)
   12.       └─sf:::st_read.character(dsn = geojson, quiet = TRUE)
   13.         └─base::file.exists(dsn)
  
  [ FAIL 6 | WARN 14 | SKIP 2 | PASS 58 ]
  Deleting unused snapshots:
  • plot/default-county-choropleth-with-alaska.svg
  • plot/default-county-choropleth-with-include.svg
  • plot/default-county-choropleth.svg
  • plot/default-hrr-choropleth-with-include.svg
  • plot/default-msa-choropleth-with-include.svg
  • plot/default-state-choropleth-with-include.svg
  • plot/default-state-choropleth-with-range.svg
  • plot/state-choropleth-with-no-metadata.svg
  • plot/state-line-graph-with-range.svg
  • plot/state-line-graph-with-stderrs.svg
  Error: Test failures
  Execution halted