@@ -78,13 +78,16 @@ Predict_Maps <- function(
7878 " MRI-ESM2-0" , " UKESM1-0-LL" ),
7979 CC_Scenario = c(" ssp126" , " ssp370" , " ssp585" )) {
8080
81+ # # ..................................................................... ###
82+ # # ..................................................................... ###
83+
8184 .StartTime <- lubridate :: now(tzone = " CET" )
8285
8386 # # ..................................................................... ###
8487 # # ..................................................................... ###
8588
8689 Hab_Abb <- as.character(Hab_Abb )
87-
90+
8891 # Check if `Hab_Abb` is a single character value
8992 if (length(Hab_Abb ) != 1 ) {
9093 stop(" `Hab_Abb` must be a single character value" , call. = FALSE )
@@ -732,8 +735,8 @@ Predict_Maps <- function(
732735 tibble :: tibble() %> %
733736 sf :: st_as_sf(remove = FALSE , coords = c(" x" , " y" ), crs = 3035 ) %> %
734737 sf :: st_join(Model_Coords ) %> %
735- tidyr :: replace_na(list (Train = FALSE )) % > %
736- dplyr :: filter(isFALSE( Train ) )
738+ tidyr :: replace_na(list (Train = FALSE ))
739+ dplyr :: filter(Train == FALSE )
737740
738741 Test_XY <- sf :: st_drop_geometry(Predict_DF_Test [, c(" x" , " y" )])
739742 Test_X <- Predict_DF_Test %> %
0 commit comments