Skip to content

Commit

Permalink
Update check_year_valid function
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennit07 authored and lizihao-anu committed Mar 4, 2024
1 parent 95241b8 commit 889f867
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 @@ -46,7 +46,7 @@ check_year_valid <- function(
return(FALSE)
} else if (year >= "2425" && type %in% "sparra") {
return(FALSE)
} else if (year >= "2324" && type %in% c("ch", "hc", "sds", "at")) {
} else if (year >= "2425" && type %in% c("ch", "hc", "sds", "at")) {
return(FALSE)
}

Expand Down

0 comments on commit 889f867

Please sign in to comment.