We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3e93b7 commit 36f23bfCopy full SHA for 36f23bf
R/st_tools.R
@@ -70,7 +70,7 @@ st_dissolve <- function(x, by = NULL, ...) UseMethod("st_dissolve")
70
#' @rdname st_dissolve
71
#' @export
72
st_dissolve.sf <- function(x, by = NULL, ...) {
73
- if (is.null(by) || !(by %in% colnames(shp))) by <- colnames(x)[1]
+ if (is.null(by) || !(by %in% colnames(x))) by <- colnames(x)[1]
74
x %>%
75
dplyr::group_by_at(by) %>%
76
dplyr::summarise(...)
0 commit comments