From 2d6b9b909bf261365389d93658960af45bd4f47c Mon Sep 17 00:00:00 2001 From: Jennifer Thom Date: Wed, 27 Nov 2024 09:18:21 +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 d850905eb..b7fed6d9d 100644 --- a/R/00-update_refs.R +++ b/R/00-update_refs.R @@ -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)