From b875530b26962e4542c9fe6987b431d6eb6249d7 Mon Sep 17 00:00:00 2001 From: Jennifer Thom Date: Fri, 29 Nov 2024 12:54:42 +0000 Subject: [PATCH] Update `check_year_valid` --- R/00-update_refs.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/00-update_refs.R b/R/00-update_refs.R index b7fed6d9d..14a0a07ac 100644 --- a/R/00-update_refs.R +++ b/R/00-update_refs.R @@ -80,7 +80,7 @@ check_year_valid <- function( return(FALSE) } else if (year >= "2324" && type %in% "hhg") { return(FALSE) - } else if (year >= "2425" && type %in% "nsu") { + } else if (year >= "2425" && type %in% c("nsu", "sds")) { return(FALSE) } else if (year >= "2526" && type %in% c("ch", "hc", "sds", "at", "sparra")) { return(FALSE)