# Generated by 02-duckplyr_df-methods.R
#' @export
ungroup.duckplyr_df <- function(x, ...) {
# Our implementation
rel_try(NULL,
"No relational implementation for ungroup()" = TRUE,
{
return(out)
}
)
# dplyr forward
ungroup <- dplyr$ungroup.data.frame
out <- ungroup(x, ...)
return(out)
# dplyr implementation
check_dots_empty()
x
}
duckplyr_ungroup <- function(x, ...) {
try_fetch(
x <- as_duckplyr_df(x),
error = function(e) {
testthat::skip(conditionMessage(e))
}
)
out <- ungroup(x, ...)
class(out) <- setdiff(class(out), "duckplyr_df")
out
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.