Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [7s/108s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(fflr)
  > 
  > options(fflr.leagueId = "42654852")
  > test_check("fflr")
  Request failed [503]. Retrying in 1 seconds...
  Request failed [503]. Retrying in 3.8 seconds...
  Request failed [503]. Retrying in 1 seconds...
  Request failed [503]. Retrying in 1 seconds...
  Request failed [503]. Retrying in 1.4 seconds...
  Request failed [503]. Retrying in 3.9 seconds...
  Request failed [503]. Retrying in 1.8 seconds...
  Request failed [503]. Retrying in 1 seconds...
  Request failed [503]. Retrying in 1 seconds...
  Request failed [503]. Retrying in 3.6 seconds...
  Request failed [503]. Retrying in 1 seconds...
  Request failed [503]. Retrying in 2.8 seconds...
  Request failed [503]. Retrying in 1 seconds...
  Request failed [503]. Retrying in 1.1 seconds...
  Request failed [503]. Retrying in 1 seconds...
  Request failed [503]. Retrying in 2.5 seconds...
  Request failed [503]. Retrying in 1 seconds...
  Request failed [503]. Retrying in 3.7 seconds...
  Request failed [503]. Retrying in 1.8 seconds...
  Request failed [503]. Retrying in 1.9 seconds...
  Request failed [503]. Retrying in 1.4 seconds...
  Request failed [503]. Retrying in 3.9 seconds...
  Request failed [503]. Retrying in 1.8 seconds...
  Request failed [503]. Retrying in 3.4 seconds...
  Request failed [503]. Retrying in 1.4 seconds...
  Request failed [503]. Retrying in 1 seconds...
  Request failed [503]. Retrying in 1 seconds...
  Request failed [503]. Retrying in 3.6 seconds...
  Request failed [503]. Retrying in 1.1 seconds...
  Request failed [503]. Retrying in 3.4 seconds...
  Request failed [503]. Retrying in 1 seconds...
  Request failed [503]. Retrying in 1.9 seconds...
  Request failed [503]. Retrying in 1 seconds...
  Request failed [503]. Retrying in 2.5 seconds...
  Request failed [503]. Retrying in 1 seconds...
  Request failed [503]. Retrying in 1 seconds...
  [ FAIL 18 | WARN 0 | SKIP 0 | PASS 15 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-abbrev.R:1:1'): (code run outside of `test_that()`) ────────────
  Error: ESPN Fantasy API request failed [503]
  The service is currently unavailable.
  Backtrace:
      ▆
   1. └─fflr::league_teams("42654852") at test-abbrev.R:1:0
   2.   └─fflr::ffl_api(...)
   3.     └─fflr:::try_json(...)
  ── Error ('test-api.R:2:3'): empty API call returns fantasy league info ────────
  Error: ESPN Fantasy API request failed [503]
  The service is currently unavailable.
  Backtrace:
      ▆
   1. └─fflr::ffl_api() at test-api.R:2:2
   2.   └─fflr:::try_json(...)
  ── Error ('test-players.R:2:3'): player list by value with custom sort ─────────
  Error: ESPN Fantasy API request failed [503]
  The service is currently unavailable.
  Backtrace:
      ▆
   1. └─fflr::list_players(...) at test-players.R:2:2
  ── Error ('test-roster.R:2:3'): All current team rosters as list ───────────────
  Error: ESPN Fantasy API request failed [503]
  The service is currently unavailable.
  Backtrace:
      ▆
   1. └─fflr::team_roster(leagueId = "42654852", scoringPeriodId = 1) at test-roster.R:2:2
   2.   └─fflr::ffl_api(...)
   3.     └─fflr:::try_json(...)
  ── Error ('test-scores.R:2:3'): scores by matchup period ───────────────────────
  Error: ESPN Fantasy API request failed [503]
  The service is currently unavailable.
  Backtrace:
      ▆
   1. └─fflr::tidy_scores(...) at test-scores.R:2:2
   2.   └─fflr::ffl_api(...)
   3.     └─fflr:::try_json(...)
  ── Error ('test-scores.R:11:3'): scores by scoring period ──────────────────────
  Error: ESPN Fantasy API request failed [503]
  The service is currently unavailable.
  Backtrace:
      ▆
   1. └─fflr::tidy_scores(...) at test-scores.R:11:2
   2.   └─fflr::ffl_api(...)
   3.     └─fflr:::try_json(...)
  ── Error ('test-settings.R:4:3'): draft settings for a single season ───────────
  Error: ESPN Fantasy API request failed [503]
  The service is currently unavailable.
  Backtrace:
      ▆
   1. └─fflr::draft_settings("42654852", leagueHistory = FALSE) at test-settings.R:4:2
   2.   └─fflr::ffl_api(...)
   3.     └─fflr:::try_json(...)
  ── Error ('test-settings.R:15:3'): league info for a single season ─────────────
  Error: ESPN Fantasy API request failed [503]
  The service is currently unavailable.
  Backtrace:
      ▆
   1. └─fflr::league_info("42654852", leagueHistory = FALSE) at test-settings.R:15:2
   2.   └─fflr::ffl_api(...)
   3.     └─fflr:::try_json(...)
  ── Error ('test-settings.R:34:3'): league name returns as a data frame ─────────
  Error: ESPN Fantasy API request failed [503]
  The service is currently unavailable.
  Backtrace:
      ▆
   1. └─fflr::league_name("42654852") at test-settings.R:34:2
   2.   └─fflr::ffl_api(...)
   3.     └─fflr:::try_json(...)
  ── Error ('test-settings.R:43:3'): acquisition settings for a single season ────
  Error: ESPN Fantasy API request failed [503]
  The service is currently unavailable.
  Backtrace:
      ▆
   1. └─fflr::acquisition_settings("42654852", leagueHistory = FALSE) at test-settings.R:43:2
   2.   └─fflr::ffl_api(...)
   3.     └─fflr:::try_json(...)
  ── Error ('test-settings.R:55:3'): fee settings for a single season ────────────
  Error: ESPN Fantasy API request failed [503]
  The service is currently unavailable.
  Backtrace:
      ▆
   1. └─fflr::finance_settings("42654852", leagueHistory = FALSE) at test-settings.R:55:2
   2.   └─fflr::ffl_api(...)
   3.     └─fflr:::try_json(...)
  ── Error ('test-settings.R:64:3'): roster settings for a single season ─────────
  Error: ESPN Fantasy API request failed [503]
  The service is currently unavailable.
  Backtrace:
      ▆
   1. └─fflr::roster_settings("42654852", leagueHistory = FALSE) at test-settings.R:64:2
   2.   └─fflr::ffl_api(...)
   3.     └─fflr:::try_json(...)
  ── Error ('test-settings.R:74:3'): schedule settings for a single season ───────
  Error: ESPN Fantasy API request failed [503]
  The service is currently unavailable.
  Backtrace:
      ▆
   1. └─fflr::schedule_settings("42654852", leagueHistory = FALSE) at test-settings.R:74:2
   2.   └─fflr::ffl_api(...)
   3.     └─fflr:::try_json(...)
  ── Error ('test-settings.R:84:3'): scoring settings for a single season ────────
  Error: ESPN Fantasy API request failed [503]
  The service is currently unavailable.
  Backtrace:
      ▆
   1. └─fflr::scoring_settings("42654852", leagueHistory = FALSE) at test-settings.R:84:2
   2.   └─fflr::ffl_api(...)
   3.     └─fflr:::try_json(...)
  ── Error ('test-settings.R:92:3'): trade settings for a single season ──────────
  Error: ESPN Fantasy API request failed [503]
  The service is currently unavailable.
  Backtrace:
      ▆
   1. └─fflr::trade_settings("42654852", leagueHistory = FALSE) at test-settings.R:92:2
   2.   └─fflr::ffl_api(...)
   3.     └─fflr:::try_json(...)
  ── Error ('test-standings.R:2:3'): standings returns data frame ────────────────
  Error: ESPN Fantasy API request failed [503]
  The service is currently unavailable.
  Backtrace:
      ▆
   1. └─fflr::league_standings("42654852") at test-standings.R:2:2
   2.   └─fflr::ffl_api(...)
   3.     └─fflr:::try_json(...)
  ── Error ('test-standings.R:8:3'): combine all historical standings ────────────
  Error: ESPN Fantasy API request failed [503]
  The service is currently unavailable.
  Backtrace:
      ▆
   1. └─fflr::combine_history(league_standings, "252353") at test-standings.R:8:2
   2.   └─fflr (local) fun(..., leagueHistory = FALSE)
   3.     └─fflr::ffl_api(...)
   4.       └─fflr:::try_json(...)
  ── Error ('test-standings.R:15:3'): simulations returns data frame ─────────────
  Error: ESPN Fantasy API request failed [503]
  The service is currently unavailable.
  Backtrace:
      ▆
   1. └─fflr::league_simulation("42654852") at test-standings.R:15:2
   2.   └─fflr::ffl_api(...)
   3.     └─fflr:::try_json(...)
  
  [ FAIL 18 | WARN 0 | SKIP 0 | PASS 15 ]
  Error: Test failures
  Execution halted