Running ‘testthat.R’ [4s/5s]
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(healthatlas)
  > 
  > test_check("healthatlas")
  Saving _problems/test-ha_data-72.R
  Saving _problems/test-ha_layer-18.R
  [ FAIL 2 | WARN 1 | SKIP 4 | PASS 45 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test-ha_coverage.R:2:3', 'test-ha_coverage.R:18:3',
    'test-ha_coverage.R:36:3', 'test-ha_topics.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-ha_data.R:66:5'): check data with two topics and two periods and geometry ──
  <Rcpp::exception/C++Error/error/condition>
  Error: Cannot open "https://metopio.blob.core.windows.net/lalage/atlas/3/shapes/communityareas.topo.json"; The file doesn't seem to exist.
  Backtrace:
      ▆
   1. └─healthatlas::ha_data(...) at test-ha_data.R:66:5
   2.   └─healthatlas::ha_layer(layer_key, progress)
   3.     ├─base::subset(sf::read_sf(layer_url), select = "id")
   4.     └─sf::read_sf(layer_url)
   5.       ├─sf::st_read(...)
   6.       └─sf:::st_read.default(...)
   7.         └─sf:::st_read.character(dsn, layer, ...)
   8.           └─sf:::CPL_read_ogr(...)
  ── Error ('test-ha_layer.R:18:5'): check a single layer ────────────────────────
  Error: Cannot open "https://metopio.blob.core.windows.net/lalage/atlas/3/shapes/communityareas.topo.json"; The file doesn't seem to exist.
  Backtrace:
      ▆
   1. └─healthatlas::ha_layer("neighborhood", progress = FALSE)
   2.   ├─base::subset(sf::read_sf(layer_url), select = "id")
   3.   └─sf::read_sf(layer_url)
   4.     ├─sf::st_read(...)
   5.     └─sf:::st_read.default(...)
   6.       └─sf:::st_read.character(dsn, layer, ...)
   7.         └─sf:::CPL_read_ogr(...)
  
  [ FAIL 2 | WARN 1 | SKIP 4 | PASS 45 ]
  Error:
  ! Test failures.
  Execution halted