Running 'testthat.R' [103s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(fflr)
  > 
  > test_check("fflr")
  -- ERROR (test-best.R:10:3): scores stop if pre-game ---------------------------
  Error: Assigned data `roster[match(wr, roster$score), 5:n]` must be compatible with row subscript `which(y$slot == "WR")`.
  x 1 row must be assigned.
  x Element 1 of assigned data has 2 rows.
  i Row updates require a list value. Do you need `list()` or `as.list()`?
  Backtrace:
       x
    1. +-fflr::best_roster(r) test-best.R:10:2
    2. | +-base::`[<-`(...)
    3. | \-tibble:::`[<-.tbl_df`(...)
    4. |   \-tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
    5. |     \-tibble:::vectbl_recycle_rhs(...)
    6. |       +-base::withCallingHandlers(...)
    7. |       \-vctrs::vec_recycle(value[[j]], nrow)
    8. +-vctrs:::stop_recycle_incompatible_size(...)
    9. | \-vctrs:::stop_vctrs(...)
   10. |   \-rlang::abort(message, class = c(class, "vctrs_error"), ...)
   11. |     \-rlang:::signal_abort(cnd)
   12. |       \-base::signalCondition(cnd)
   13. \-(function (cnd) ...
  
  -- Skip (test-live.R:11:3): live scoreboard works if gameday -------------------
  Reason: no live scoring until kickoff
  
  -- Skip (test-live.R:19:3): live scoreboard can add yet-to-play ----------------
  Reason: no live scoring until kickoff
  
  -- Warning (test-moves.R:5:3): movies returns for current year -----------------
  invalid factor level, NA generated
  
  -- Warning (test-players.R:5:3): all players can be listed without error -------
  number of items to replace is not a multiple of replacement length
  
  -- Skipped tests  --------------------------------------------------------------
  * no live scoring until kickoff (2)
  
  == testthat results  ===========================================================
  ERROR (test-best.R:10:3): scores stop if pre-game
  Warning (test-moves.R:5:3): movies returns for current year
  Warning (test-players.R:5:3): all players can be listed without error
  
  [ FAIL 1 | WARN 2 | SKIP 2 | PASS 215 ]
  Error: Test failures
  Execution halted