R/explain.R

Defines functions explain.duckplyr_df

#' @export
explain.duckplyr_df <- function(x, ...) {
  rel_try({
    rel <- duckdb_rel_from_df(x)
    rel_explain(rel)
    return(invisible())
  })

  writeLines("Can't convert to relational, fallback implementation will be used.")
  invisible()
}

Try the duckplyr package in your browser

Any scripts or data that you put into this service are public.

duckplyr documentation built on Sept. 12, 2024, 9:36 a.m.