From 59080be9adbbeb5e6ed7ee1b6942957fa33510c0 Mon Sep 17 00:00:00 2001 From: Ntalumeso Date: Tue, 3 Dec 2024 07:58:40 +0300 Subject: [PATCH] minor change --- instat/static/InstatObject/R/data_object_R6.R | 1 - 1 file changed, 1 deletion(-) diff --git a/instat/static/InstatObject/R/data_object_R6.R b/instat/static/InstatObject/R/data_object_R6.R index 183480a69d..8016ff6f7e 100644 --- a/instat/static/InstatObject/R/data_object_R6.R +++ b/instat/static/InstatObject/R/data_object_R6.R @@ -957,7 +957,6 @@ DataSheet$set("public", "rename_column_in_data", function(curr_col_name = "", ne if(self$column_selection_applied()) self$remove_current_column_selection() # Need to use private$data here because changing names of data field names(private$data)[names(private$data) == curr_col_name] <- new_col_name - if(any(c("sfc", "sfc_MULTIPOLYGON") %in% class(private$data[[curr_col_name]]))){ # Update the geometry column reference sf::st_geometry(private$data) <- new_col_name