Running ‘testthat.R’ [34s/116s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(pins)
  > 
  > test_check("pins")
  Guessing `type = 'rds'`
  > <http://127.0.0.1:39639/data.txt> is not cacheable
  > <http://127.0.0.1:39639/x.rds> is not cacheable
  > <http://127.0.0.1:38349/x/20230905T042145Z-c3943/data.txt> is not cacheable
  > <http://127.0.0.1:38349/x/20230905T042145Z-c3943/x.json> is not cacheable
  > <http://127.0.0.1:40385/y/20230905T042147Z-cba09/data.txt> is not cacheable
  > <http://127.0.0.1:40385/y/20230905T042147Z-5026d/data.txt> is not cacheable
  [ FAIL 3 | WARN 0 | SKIP 67 | PASS 182 ]
  
  ══ Skipped tests (67) ══════════════════════════════════════════════════════════
  • On CRAN (52): 'test-board_connect_bundle.R:36:3',
    'test-board_connect_bundle.R:41:3', 'test-board_connect_server.R:22:3',
    'test-board_connect_server.R:31:3', 'test-board_connect_server.R:51:3',
    'test-board_connect_server.R:60:3', ???, ???, 'test-board_folder.R:9:3',
    'test-board_folder.R:34:3', 'test-board_folder.R:42:3',
    'test-board_folder.R:88:3', 'test-board_url.R:54:3',
    'test-board_url.R:154:3', 'test-board_url.R:168:3', 'test-board_url.R:180:3',
    'test-board_url.R:199:3', 'test-board_url.R:218:3', 'test-board_url.R:237:3',
    'test-legacy_board.R:2:3', 'test-legacy_datatxt.R:4:3',
    'test-legacy_datatxt.R:16:3', 'test-legacy_datatxt.R:25:3',
    'test-legacy_datatxt.R:35:3', 'test-legacy_local.R:43:3',
    'test-legacy_packages.R:23:3', 'test-legacy_registry.R:30:3',
    'test-meta.R:13:3', 'test-meta.R:20:3', 'test-meta.R:24:3',
    'test-pin-delete.R:11:3', 'test-pin-meta.R:2:3',
    'test-pin-read-write.R:35:3', 'test-pin-read-write.R:41:3',
    'test-pin-read-write.R:58:3', 'test-pin-read-write.R:80:3',
    'test-pin-read-write.R:88:3', 'test-pin-upload-download.R:17:3',
    'test-pin-upload-download.R:46:3', 'test-pin-upload-download.R:61:3',
    'test-pin.R:76:3', 'test-pin.R:108:3', 'test-pin_info.R:5:3',
    'test-pin_info.R:23:3', 'test-pin_info.R:33:3', 'test-pin_search.R:27:3',
    'test-pin_versions.R:8:3', 'test-pin_versions.R:18:3',
    'test-pin_versions.R:26:3', 'test-pin_versions.R:41:3',
    'test-pin_versions.R:67:3', 'test-pin_versions.R:91:3'
  • board_azure() tests require PINS_AZURE_KEY (3):
    'test-board_azure_adls2.R:1:1', 'test-board_azure_blob.R:1:1',
    'test-board_azure_file.R:1:1'
  • board_connect() tests requires `creds.rds` (4): 'test-board_connect.R:2:1',
    'test-board_connect_url.R:4:3', 'test-board_connect_url.R:22:3',
    'test-board_connect_url.R:33:3'
  • board_gcs() tests require PINS_GCS_PASSWORD (1): 'test-board_gcs.R:1:1'
  • board_gdrive() tests require PINS_GDRIVE_USE_PERSONAL (1):
    'test-board_gdrive.R:1:1'
  • board_ms365() tests require PINS_MS365_TEST_DRIVE (1):
    'test-board_ms365.R:1:1'
  • board_s3() tests require PINS_AWS_ACCESS_KEY, PINS_AWS_SECRET_ACCESS_KEY (1):
    'test-board_s3.R:1:1'
  • legacy_azure() tests require TEST_AZURE_CONTAINER, TEST_AZURE_ACCOUNT,
    TEST_AZURE_KEY (1): 'test-legacy_azure.R:16:1'
  • legacy_gcloud() tests require TEST_GOOGLE_BUCKET (1):
    'test-legacy_gcloud.R:12:1'
  • legacy_github() tests require TEST_GITHUB_REPO, TEST_GITHUB_BRANCH (1):
    'test-legacy_github.R:1:1'
  • legacy_s3() tests require TEST_AWS_BUCKET, TEST_AWS_KEY, TEST_AWS_SECRET,
    TEST_AWS_REGION (1): 'test-legacy_s3.R:14:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-board_url.R:18:3'): provides key methods ───────────────────────
  <http_503/http_500/http_error/error/condition>
  Error in `http_download(url = paste0(url, "data.txt"), path_dir = cache_dir, 
      path_file = "data.txt", use_cache_on_failure = board$use_cache_on_failure, 
      headers = board$headers)`: Service Unavailable (HTTP 503).
  Backtrace:
       ▆
    1. ├─board %>% pin_read("rds") %>% ... at test-board_url.R:18:2
    2. ├─testthat::expect_equal(., data.frame(x = 1:10))
    3. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    4. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    5. └─pins::pin_read(., "rds")
    6.   ├─pins::pin_fetch(board, name, version = version, ...)
    7.   └─pins:::pin_fetch.pins_board_url(...)
    8.     ├─pins::pin_meta(board, name, version = version)
    9.     └─pins:::pin_meta.pins_board_url(board, name, version = version)
   10.       └─pins:::http_download(...)
   11.         └─httr::stop_for_status(req)
  ── Error ('test-board_url.R:40:3'): only downloads once ────────────────────────
  <http_503/http_500/http_error/error/condition>
  Error in `http_download(url = paste0(url, "data.txt"), path_dir = cache_dir, 
      path_file = "data.txt", use_cache_on_failure = board$use_cache_on_failure, 
      headers = board$headers)`: Service Unavailable (HTTP 503).
  Backtrace:
       ▆
    1. ├─board %>% pin_read("rds") %>% expect_condition(class = "pins_cache_downloaded") at test-board_url.R:40:2
    2. ├─testthat::expect_condition(., class = "pins_cache_downloaded")
    3. │ └─testthat:::expect_condition_matching(...)
    4. │   └─testthat:::quasi_capture(...)
    5. │     ├─testthat (local) .capture(...)
    6. │     │ └─base::withCallingHandlers(...)
    7. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    8. └─pins::pin_read(., "rds")
    9.   ├─pins::pin_fetch(board, name, version = version, ...)
   10.   └─pins:::pin_fetch.pins_board_url(...)
   11.     ├─pins::pin_meta(board, name, version = version)
   12.     └─pins:::pin_meta.pins_board_url(board, name, version = version)
   13.       └─pins:::http_download(...)
   14.         └─httr::stop_for_status(req)
  ── Error ('test-pin.R:70:3'): can pin() remote CSV with URL and name ───────────
  Error in `pin(url, "iris", board = board)`: Server error: (503) Service Unavailable. Failed to download remote file: https://raw.githubusercontent.com/rstudio/pins-r/master/tests/testthat/datatxt/iris/data.csv
  Backtrace:
      ▆
   1. ├─pins::pin(url, "iris", board = board) at test-pin.R:70:2
   2. └─pins:::pin.character(url, "iris", board = board)
   3.   └─rlang::abort(details$error)
  
  [ FAIL 3 | WARN 0 | SKIP 67 | PASS 182 ]
  Error: Test failures
  Execution halted