Error in mutate():
ℹ In argument: temp_vor_ref_floor = floor[which.max(temp_floor_rank == temp_vor_pos)].
ℹ In group 9: avg_type = "weighted", pos = "QB".
Caused by error:
! temp_vor_ref_floor must be size 70 or 1, not 0.
Run rlang::last_trace() to see where the error occurred.
cbs_scrape <- scrape_data(src = "CBS", pos = c("QB", "RB", "WR", "TE"),) cbs_proj <- projections_table(cbs_scrape)
Error in
mutate()
: ℹ In argument:temp_vor_ref_floor = floor[which.max(temp_floor_rank == temp_vor_pos)]
. ℹ In group 9:avg_type = "weighted"
,pos = "QB"
. Caused by error: !temp_vor_ref_floor
must be size 70 or 1, not 0. Runrlang::last_trace()
to see where the error occurred.