From 36f63cf3138a5c5f320d8a224f5b3b44f2a882f0 Mon Sep 17 00:00:00 2001 From: Jackson Hoffart Date: Tue, 20 Feb 2024 13:12:48 +0100 Subject: [PATCH] Update main.R Co-authored-by: Alex Axthelm --- main.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.R b/main.R index 7a36be9..5f0c855 100644 --- a/main.R +++ b/main.R @@ -688,7 +688,7 @@ geco_2022 <- dplyr::filter(geco_2022, .data$source == "GECO2022") geco_2022 <- dplyr::mutate( geco_2022, scenario = dplyr::case_when( - grepl("1.5", .data$scenario) ~ "1.5C", + grepl(pattern = "1.5", x = .data$scenario) ~ "1.5C", grepl("NDC", .data$scenario) ~ "NDC_LTS", grepl("Ref", .data$scenario) ~ "Reference", TRUE ~ NA_character_