-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pretty print() method would be nice #177
Comments
Thanks, Art. A tibble converted to a duckframe will still print as a tibble: data.frame(a = 1) |>
duckplyr::as_duckplyr_df()
#> a
#> 1 1 tibble::tibble(a = 1) |>
duckplyr::as_duckplyr_df()
#> # A tibble: 1 × 1
#> a
#> <dbl>
#> 1 1 Created on 2024-06-08 with reprex v2.1.0 Does this help? |
To me, it feels like creating a tibble should be the default. |
Should we do as_duckplyr_df <- function(..., class = class(tibble())) with an option to override? |
Yeah, I think so. |
Done in bc7c8de for Maybe |
I think |
Available in duckplyr 0.4.1. |
There is no explicit print method for class
duckplyr_df
. Something prettier than the base R method would be nice. I use this:The text was updated successfully, but these errors were encountered: