Skip to content

Commit

Permalink
fix the min
Browse files Browse the repository at this point in the history
  • Loading branch information
guga31bb committed Jun 14, 2024
1 parent 0aff697 commit b1bf4c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/helper_add_nflscrapr_mutations.R
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ make_model_mutations <- function(pbp) {

fix_scrambles <- function(pbp) {
# skip below code if <= 2005 is not in the data
if (min(pbp$season > 2005)) return(pbp)
if (min(pbp$season) > 2005) return(pbp)

pbp %>%
dplyr::mutate(
Expand Down

0 comments on commit b1bf4c2

Please sign in to comment.