From ea863674a899976e4b2a48d10864542dc93768a5 Mon Sep 17 00:00:00 2001 From: Devin Johnson Date: Thu, 8 Jan 2026 11:52:36 -0700 Subject: [PATCH] fix id issue with dplyr --- DESCRIPTION | 4 ++-- R/crawl-package.R | 4 ++-- R/crw_coerce_sf.R | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 2aaad6b..225251f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Package: crawl Type: Package Title: Fit Continuous-Time Correlated Random Walk Models to Animal Movement Data Version: 2.3.1 -Date: 2024-10-03 +Date: 2026-01-08 Authors@R: c(person("Devin S.", "Johnson", email = "devin.johnson@noaa.gov", role = c("aut", "cre")), person("Josh", "London", email = "josh.london@noaa.gov", @@ -36,7 +36,7 @@ Encoding: UTF-8 LazyLoad: yes ByteCompile: TRUE NeedsCompilation: yes -RoxygenNote: 7.3.2 +RoxygenNote: 7.3.3 URL: https://github.com/NMML/crawl BugReports: https://github.com/NMML/crawl/issues LazyData: true diff --git a/R/crawl-package.R b/R/crawl-package.R index 4e746bd..dff792a 100644 --- a/R/crawl-package.R +++ b/R/crawl-package.R @@ -167,8 +167,8 @@ NULL "Demos and documentation can be found at our new GitHub repository:\n", "https://dsjohnson.github.io/crawl_examples/\n", "\n", - "WARNING!!! v. 2.3.0 will be the last version of {crawl} hosted on CRAN.\n", - "see 'https://github.com/NMML/crawl' for any future bug fixes." + "WARNING!!! v. 2.3.x will be the last version of {crawl} hosted on CRAN.\n", + "see 'https://github.com/NMML/crawl' for any future update beyond bug fixes." ) ) } diff --git a/R/crw_coerce_sf.R b/R/crw_coerce_sf.R index 7c2857f..e2e66cf 100644 --- a/R/crw_coerce_sf.R +++ b/R/crw_coerce_sf.R @@ -120,7 +120,7 @@ crw_as_sf.list <- function(data,ftype, if (ftype == "MULTILINESTRING") { make_mls <- function(ll) { do.call(rbind,ll) %>% - dplyr::group_by(id) %>% + dplyr::group_by(.data$id) %>% dplyr::summarise(do_union = FALSE) } sf_list <- data %>% purrr::map(make_mls)