From 495d3e39164559542bb0cb9abd62f4dbec031720 Mon Sep 17 00:00:00 2001 From: Jennifer Thom Date: Mon, 7 Aug 2023 15:13:42 +0100 Subject: [PATCH] Update `check_year_valid` for NSUs --- R/check_year_valid.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/check_year_valid.R b/R/check_year_valid.R index d170cd5b5..1361eb47e 100644 --- a/R/check_year_valid.R +++ b/R/check_year_valid.R @@ -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)