From 434a9043c6211a429d91e7dbbee58b9feed932d4 Mon Sep 17 00:00:00 2001 From: cecileherr Date: Mon, 23 Dec 2024 14:03:23 +0100 Subject: [PATCH] read_watersurfaces_hab: replace deprecated .data in tidy-selection - replace the deprecated .data$xxx by "xxx" in all (rename, select, arrange,) relocate --- R/read_habitatdata.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/R/read_habitatdata.R b/R/read_habitatdata.R index 6525e8b..a2efaa4 100644 --- a/R/read_habitatdata.R +++ b/R/read_habitatdata.R @@ -412,9 +412,9 @@ read_watersurfaces_hab <- ) ) %>% relocate( - .data$polygon_id, - .data$type, - .data$certain + "polygon_id", + "type", + "certain" ) if (version %in% c("watersurfaces_hab_v1", "watersurfaces_hab_v2")) {