Skip to content

Commit

Permalink
Update check_year_valid
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennit07 committed Nov 27, 2024
1 parent 56f0ffb commit 2d6b9b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/00-update_refs.R
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ check_year_valid <- function(
return(FALSE)
} else if (year >= "2122" && type %in% c("cmh", "dn")) {
return(FALSE)
} else if (year >= "2324" && type %in% c("nsu", "hhg")) {
} else if (year >= "2324" && type %in% "hhg") {
return(FALSE)
} else if (year >= "2425" && type %in% "nsu") {
return(FALSE)
Expand Down

0 comments on commit 2d6b9b9

Please sign in to comment.