Running 'testthat.R' [233s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(itscalledsoccer)
  > 
  > test_check("itscalledsoccer")
    Gathering players......✔ 
    Gathering teams......✔ 
    Gathering stadia......✔ 
    Gathering managers......✔ 
    Gathering referees......✔ 
  [ FAIL 10 | WARN 131 | SKIP 0 | PASS 109 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_stats_goals_added.R:47:5'): Querying player-level goals added (g+) values works properly ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [app.americansocceranalysis.com] Send failure: Connection was reset
  Backtrace:
       ▆
    1. ├─... %>% min() at test_stats_goals_added.R:47:4
    2. ├─dplyr::pull(., .data$minutes_played)
    3. ├─asa_client$get_player_goals_added(minimum_minutes = .exp)
    4. │ └─itscalledsoccer:::get_stats(...)
    5. │   ├─.execute_query(self, url, query) %>% as.data.frame() %>% ...
    6. │   └─itscalledsoccer:::.execute_query(self, url, query)
    7. │     └─itscalledsoccer:::.single_request(self, url, query)
    8. │       └─httpcache::GET(url = url, query = query, self$httr_configs)
    9. │         └─httr::GET(url, ...)
   10. │           └─httr:::request_perform(req, hu$handle$handle)
   11. │             ├─httr:::request_fetch(req$output, req$url, handle)
   12. │             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   13. │               └─curl::curl_fetch_memory(url, handle = handle)
   14. ├─dplyr::mutate(., competition = league)
   15. └─base::as.data.frame(.)
  ── Error ('test_stats_goals_added.R:236:5'): Querying goalkeeper-level goals added (g+) values works properly ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [app.americansocceranalysis.com] Failed to connect to app.americansocceranalysis.com port 443 after 7509 ms: Timed out
  Backtrace:
       ▆
    1. ├─asa_client$get_goalkeeper_goals_added() %>% nrow() at test_stats_goals_added.R:236:4
    2. ├─base::nrow(.)
    3. ├─asa_client$get_goalkeeper_goals_added()
    4. │ └─itscalledsoccer:::get_stats(...)
    5. │   ├─.execute_query(self, url, query) %>% as.data.frame() %>% ...
    6. │   └─itscalledsoccer:::.execute_query(self, url, query)
    7. │     └─itscalledsoccer:::.single_request(self, url, query)
    8. │       └─httpcache::GET(url = url, query = query, self$httr_configs)
    9. │         └─httr::GET(url, ...)
   10. │           └─httr:::request_perform(req, hu$handle$handle)
   11. │             ├─httr:::request_fetch(req$output, req$url, handle)
   12. │             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   13. │               └─curl::curl_fetch_memory(url, handle = handle)
   14. ├─dplyr::mutate(., competition = league)
   15. └─base::as.data.frame(.)
  ── Error ('test_stats_goals_added.R:449:5'): Querying team-level goals added (g+) values works properly ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [app.americansocceranalysis.com] Failed to connect to app.americansocceranalysis.com port 443 after 7509 ms: Timed out
  Backtrace:
       ▆
    1. ├─asa_client$get_team_goals_added() %>% nrow() at test_stats_goals_added.R:449:4
    2. ├─base::nrow(.)
    3. ├─asa_client$get_team_goals_added()
    4. │ └─itscalledsoccer:::get_stats(...)
    5. │   ├─.execute_query(self, url, query) %>% as.data.frame() %>% ...
    6. │   └─itscalledsoccer:::.execute_query(self, url, query)
    7. │     └─itscalledsoccer:::.single_request(self, url, query)
    8. │       └─httpcache::GET(url = url, query = query, self$httr_configs)
    9. │         └─httr::GET(url, ...)
   10. │           └─httr:::request_perform(req, hu$handle$handle)
   11. │             ├─httr:::request_fetch(req$output, req$url, handle)
   12. │             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   13. │               └─curl::curl_fetch_memory(url, handle = handle)
   14. ├─dplyr::mutate(., competition = league)
   15. └─base::as.data.frame(.)
  ── Error ('test_stats_salaries.R:4:5'): Querying player-level salary values works properly ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [app.americansocceranalysis.com] Failed to connect to app.americansocceranalysis.com port 443 after 7514 ms: Timed out
  Backtrace:
       ▆
    1. ├─asa_client$get_player_salaries() %>% nrow() at test_stats_salaries.R:4:4
    2. ├─base::nrow(.)
    3. ├─asa_client$get_player_salaries()
    4. │ └─itscalledsoccer:::get_stats(...)
    5. │   ├─.execute_query(self, url, query) %>% as.data.frame() %>% ...
    6. │   └─itscalledsoccer:::.execute_query(self, url, query)
    7. │     └─itscalledsoccer:::.single_request(self, url, query)
    8. │       └─httpcache::GET(url = url, query = query, self$httr_configs)
    9. │         └─httr::GET(url, ...)
   10. │           └─httr:::request_perform(req, hu$handle$handle)
   11. │             ├─httr:::request_fetch(req$output, req$url, handle)
   12. │             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   13. │               └─curl::curl_fetch_memory(url, handle = handle)
   14. ├─dplyr::mutate(., competition = league)
   15. └─base::as.data.frame(.)
  ── Error ('test_stats_salaries.R:170:5'): Querying team-level salary values works properly ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [app.americansocceranalysis.com] Failed to connect to app.americansocceranalysis.com port 443 after 7506 ms: Timed out
  Backtrace:
       ▆
    1. ├─asa_client$get_team_salaries() %>% nrow() at test_stats_salaries.R:170:4
    2. ├─base::nrow(.)
    3. ├─asa_client$get_team_salaries()
    4. │ └─itscalledsoccer:::get_stats(...)
    5. │   ├─.execute_query(self, url, query) %>% as.data.frame() %>% ...
    6. │   └─itscalledsoccer:::.execute_query(self, url, query)
    7. │     └─itscalledsoccer:::.single_request(self, url, query)
    8. │       └─httpcache::GET(url = url, query = query, self$httr_configs)
    9. │         └─httr::GET(url, ...)
   10. │           └─httr:::request_perform(req, hu$handle$handle)
   11. │             ├─httr:::request_fetch(req$output, req$url, handle)
   12. │             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   13. │               └─curl::curl_fetch_memory(url, handle = handle)
   14. ├─dplyr::mutate(., competition = league)
   15. └─base::as.data.frame(.)
  ── Error ('test_stats_xgoals.R:4:5'): Querying player-level xG values works properly ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [app.americansocceranalysis.com] Failed to connect to app.americansocceranalysis.com port 443 after 7507 ms: Timed out
  Backtrace:
       ▆
    1. ├─asa_client$get_player_xgoals() %>% nrow() at test_stats_xgoals.R:4:4
    2. ├─base::nrow(.)
    3. ├─asa_client$get_player_xgoals()
    4. │ └─itscalledsoccer:::get_stats(...)
    5. │   ├─.execute_query(self, url, query) %>% as.data.frame() %>% ...
    6. │   └─itscalledsoccer:::.execute_query(self, url, query)
    7. │     └─itscalledsoccer:::.single_request(self, url, query)
    8. │       └─httpcache::GET(url = url, query = query, self$httr_configs)
    9. │         └─httr::GET(url, ...)
   10. │           └─httr:::request_perform(req, hu$handle$handle)
   11. │             ├─httr:::request_fetch(req$output, req$url, handle)
   12. │             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   13. │               └─curl::curl_fetch_memory(url, handle = handle)
   14. ├─dplyr::mutate(., competition = league)
   15. └─base::as.data.frame(.)
  ── Error ('test_stats_xgoals.R:224:5'): Querying goalkeeper-level xG values works properly ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [app.americansocceranalysis.com] Failed to connect to app.americansocceranalysis.com port 443 after 7513 ms: Timed out
  Backtrace:
       ▆
    1. ├─asa_client$get_goalkeeper_xgoals() %>% nrow() at test_stats_xgoals.R:224:4
    2. ├─base::nrow(.)
    3. ├─asa_client$get_goalkeeper_xgoals()
    4. │ └─itscalledsoccer:::get_stats(...)
    5. │   ├─.execute_query(self, url, query) %>% as.data.frame() %>% ...
    6. │   └─itscalledsoccer:::.execute_query(self, url, query)
    7. │     └─itscalledsoccer:::.single_request(self, url, query)
    8. │       └─httpcache::GET(url = url, query = query, self$httr_configs)
    9. │         └─httr::GET(url, ...)
   10. │           └─httr:::request_perform(req, hu$handle$handle)
   11. │             ├─httr:::request_fetch(req$output, req$url, handle)
   12. │             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   13. │               └─curl::curl_fetch_memory(url, handle = handle)
   14. ├─dplyr::mutate(., competition = league)
   15. └─base::as.data.frame(.)
  ── Error ('test_stats_xgoals.R:418:5'): Querying team-level xG values works properly ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [app.americansocceranalysis.com] Failed to connect to app.americansocceranalysis.com port 443 after 7516 ms: Timed out
  Backtrace:
       ▆
    1. ├─asa_client$get_team_xgoals() %>% nrow() at test_stats_xgoals.R:418:4
    2. ├─base::nrow(.)
    3. ├─asa_client$get_team_xgoals()
    4. │ └─itscalledsoccer:::get_stats(...)
    5. │   ├─.execute_query(self, url, query) %>% as.data.frame() %>% ...
    6. │   └─itscalledsoccer:::.execute_query(self, url, query)
    7. │     └─itscalledsoccer:::.single_request(self, url, query)
    8. │       └─httpcache::GET(url = url, query = query, self$httr_configs)
    9. │         └─httr::GET(url, ...)
   10. │           └─httr:::request_perform(req, hu$handle$handle)
   11. │             ├─httr:::request_fetch(req$output, req$url, handle)
   12. │             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   13. │               └─curl::curl_fetch_memory(url, handle = handle)
   14. ├─dplyr::mutate(., competition = league)
   15. └─base::as.data.frame(.)
  ── Error ('test_stats_xgoals.R:544:5'): Querying game-level xG values works properly ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [app.americansocceranalysis.com] Failed to connect to app.americansocceranalysis.com port 443 after 7506 ms: Timed out
  Backtrace:
       ▆
    1. ├─asa_client$get_game_xgoals() %>% nrow() at test_stats_xgoals.R:544:4
    2. ├─base::nrow(.)
    3. ├─asa_client$get_game_xgoals()
    4. │ └─itscalledsoccer:::get_stats(...)
    5. │   ├─.execute_query(self, url, query) %>% as.data.frame() %>% ...
    6. │   └─itscalledsoccer:::.execute_query(self, url, query)
    7. │     └─itscalledsoccer:::.single_request(self, url, query)
    8. │       └─httpcache::GET(url = url, query = query, self$httr_configs)
    9. │         └─httr::GET(url, ...)
   10. │           └─httr:::request_perform(req, hu$handle$handle)
   11. │             ├─httr:::request_fetch(req$output, req$url, handle)
   12. │             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   13. │               └─curl::curl_fetch_memory(url, handle = handle)
   14. ├─dplyr::mutate(., competition = league)
   15. └─base::as.data.frame(.)
  ── Error ('test_stats_xpass.R:4:5'): Querying player-level xPass values works properly ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [app.americansocceranalysis.com] Failed to connect to app.americansocceranalysis.com port 443 after 7506 ms: Timed out
  Backtrace:
       ▆
    1. ├─asa_client$get_player_xpass() %>% nrow() at test_stats_xpass.R:4:4
    2. ├─base::nrow(.)
    3. ├─asa_client$get_player_xpass()
    4. │ └─itscalledsoccer:::get_stats(...)
    5. │   ├─.execute_query(self, url, query) %>% as.data.frame() %>% ...
    6. │   └─itscalledsoccer:::.execute_query(self, url, query)
    7. │     └─itscalledsoccer:::.single_request(self, url, query)
    8. │       └─httpcache::GET(url = url, query = query, self$httr_configs)
    9. │         └─httr::GET(url, ...)
   10. │           └─httr:::request_perform(req, hu$handle$handle)
   11. │             ├─httr:::request_fetch(req$output, req$url, handle)
   12. │             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   13. │               └─curl::curl_fetch_memory(url, handle = handle)
   14. ├─dplyr::mutate(., competition = league)
   15. └─base::as.data.frame(.)
  
  [ FAIL 10 | WARN 131 | SKIP 0 | PASS 109 ]
  Error: Test failures
  Execution halted