Running ‘testthat.R’ [101s/119s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > suppressPackageStartupMessages({
  +   library(testthat)
  +   library(httptest)
  +   library(checkmate)
  +   library(ffscrapr)
  + })
  > 
  > test_check("ffscrapr")
  trying URL 'https://github.com/ffverse/ffscrapr-tests/archive/1.4.7.zip'
  downloaded 9.8 MB
  
  [ FAIL 4 | WARN 46 | SKIP 1 | PASS 111 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (???): ff_league returns a tibble for each platform currently programmed ──
  Error in `.fmap(.x, function(x) {
      map_depth_rec(.fmap = .fmap, .x = x, .depth = .depth - 1, 
          .f = .f, ..., .ragged = .ragged, .is_node = .is_node, 
          .purrr_error_call = .purrr_error_call)
  })`: ℹ In index: 2.
  Caused by error in `purrr::map_depth()`:
  ! List not deep enough
  ── Error (???): ff_playerscores returns a tibble of player scores ──────────────
  Error in `.fmap(.x, function(x) {
      map_depth_rec(.fmap = .fmap, .x = x, .depth = .depth - 1, 
          .f = .f, ..., .ragged = .ragged, .is_node = .is_node, 
          .purrr_error_call = .purrr_error_call)
  })`: ℹ In index: 2.
  Caused by error in `purrr::map_depth()`:
  ! List not deep enough
  ── Error (???): ff_scoring returns a tibble ────────────────────────────────────
  Error in `.fmap(.x, function(x) {
      map_depth_rec(.fmap = .fmap, .x = x, .depth = .depth - 1, 
          .f = .f, ..., .ragged = .ragged, .is_node = .is_node, 
          .purrr_error_call = .purrr_error_call)
  })`: ℹ In index: 2.
  Caused by error in `purrr::map_depth()`:
  ! List not deep enough
  ── Error (???): ff_scoringhistory returns a tibble of player scores ────────────
  Error in `.fmap(.x, function(x) {
      map_depth_rec(.fmap = .fmap, .x = x, .depth = .depth - 1, 
          .f = .f, ..., .ragged = .ragged, .is_node = .is_node, 
          .purrr_error_call = .purrr_error_call)
  })`: ℹ In index: 2.
  Caused by error in `purrr::map_depth()`:
  ! List not deep enough
  
  [ FAIL 4 | WARN 46 | SKIP 1 | PASS 111 ]
  Error: Test failures
  Execution halted