Skip to content

Commit

Permalink
Update check_year_valid for NSUs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennit07 committed Aug 7, 2023
1 parent bb3dbd5 commit 495d3e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/check_year_valid.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ check_year_valid <- function(
return(FALSE)
} else if (year >= "2122" && type %in% c("CMH", "DN")) {
return(FALSE)
} else if (year >= "2223" && type %in% "NSU") {
} else if (year >= "2324" && type %in% "NSU") {
return(FALSE)
} else if (year >= "2324" && type %in% c("SPARRA", "HHG")) {
return(FALSE)
Expand Down

0 comments on commit 495d3e3

Please sign in to comment.