Running ‘testthat.R’ [3s/101s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(ceblR)
  > 
  > test_check("ceblR")
  `curl` package not installed, falling back to using `url()`
  Rows: 1286 Columns: 75
  -- Column specification --------------------------------------------------------
  Delimiter: ","
  chr (14): team_name, short_name, code, minutes, head_coach, assistant_coach_...
  dbl (60): game_id, season, team_score, field_goals_made, field_goals_attempt...
  lgl  (1): logo
  
  i Use `spec()` to retrieve the full column specification for this data.
  i Specify the column types or set `show_col_types = FALSE` to quiet this message.
  `curl` package not installed, falling back to using `url()`
  Saving _problems/test-get_data-8.R
  `curl` package not installed, falling back to using `url()`
  Rows: 1984 Columns: 13
  -- Column specification --------------------------------------------------------
  Delimiter: ","
  chr (11): officials_type, officials_name, first_name, last_name, scoreboard_...
  dbl  (2): game_id, season
  
  i Use `spec()` to retrieve the full column specification for this data.
  i Specify the column types or set `show_col_types = FALSE` to quiet this message.
  `curl` package not installed, falling back to using `url()`
  Rows: 3231 Columns: 14
  -- Column specification --------------------------------------------------------
  Delimiter: ","
  chr (12): team_name, coach_name, coach_type, first_name, first_name_initial,...
  dbl  (2): game_id, season
  
  i Use `spec()` to retrieve the full column specification for this data.
  i Specify the column types or set `show_col_types = FALSE` to quiet this message.
  `curl` package not installed, falling back to using `url()`
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 8 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-get_data.R:8:3'): load_cebl_player_boxscores() works ───────────
  Error in `(function (con, what, n = 1L, size = NA_integer_, signed = TRUE, endian = .Platform$endian)  {     if (!endian %in% c("big", "little", "swap"))          stop("invalid 'endian' argument")     if (is.character(con)) {         con <- file(con, "rb")         on.exit(close(con))     }     swap <- endian != .Platform$endian     if (!is.character(what) || is.na(what) || length(what) != 1L || !any(what == c("numeric", "double", "integer", "int", "logical", "complex", "character", "raw")))          what <- typeof(what)     .Internal(readBin(con, what, n, size, signed, swap)) })(structure(4L, class = c("url", "connection"), conn_id = <pointer: 0x11a>), raw(0), 131071L)`: cannot read from connection
  Backtrace:
      ▆
   1. ├─ceblR::load_cebl_player_boxscores(2020) at test-get_data.R:8:3
   2. │ └─readr::read_csv(...)
   3. │   └─vroom::vroom(...)
   4. │     └─vroom:::vroom_(...)
   5. └─base (local) `<fn>`(`<url>`, `<raw>`, 131071L)
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 8 ]
  Error:
  ! Test failures.
  Execution halted