Skip to content

Commit

Permalink
Update check_year_valid.R
Browse files Browse the repository at this point in the history
  • Loading branch information
lizihao-anu authored Oct 15, 2024
1 parent 4df8dad commit f41f7cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/check_year_valid.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ check_year_valid <- function(
return(FALSE)
} else if (year >= "2324" && type %in% c("nsu", "hhg")) {
return(FALSE)
} else if (year >= "2425" && type %in% "sparra") {
} else if (year >= "2425" && type %in% "nsu") {
return(FALSE)
} else if (year >= "2526" && type %in% c("ch", "hc", "sds", "at")) {
} else if (year >= "2526" && type %in% c("ch", "hc", "sds", "at", "sparra")) {
return(FALSE)
}

Expand Down

0 comments on commit f41f7cf

Please sign in to comment.