Skip to content

Commit c91cb9c

Browse files
committed
No-op
1 parent c4c6a3e commit c91cb9c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

R/tidyverse.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,6 @@ summarise.sf <- function(.data, ..., .dots, do_union = TRUE, is_coverage = FALSE
358358
#' For counting geometries use \code{summarise(.data, n = n(), .by = "geometry")}.
359359
count.sf <- function(x, ..., wt = NULL, sort = FALSE, name = "n") {
360360
x <- st_drop_geometry(x)
361-
class(x) <- setdiff(class(x), "sf")
362361
if (!requireNamespace("dplyr", quietly = TRUE))
363362
stop("dplyr required: install that first") # nocov
364363
NextMethod()
@@ -367,7 +366,6 @@ count.sf <- function(x, ..., wt = NULL, sort = FALSE, name = "n") {
367366
#' @name tidyverse
368367
tally.sf <- function(x, ..., wt = NULL, sort = FALSE, name = "n") {
369368
x <- st_drop_geometry(x)
370-
class(x) <- setdiff(class(x), "sf")
371369
if (!requireNamespace("dplyr", quietly = TRUE))
372370
stop("dplyr required: install that first") # nocov
373371
NextMethod()

0 commit comments

Comments
 (0)