8000 document row.names incompatibility · Issue #603 · tidyverse/duckplyr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

document row.names incompatibility #603

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

Open
maelle opened this issue Feb 11, 2025 · 0 comments
Open

document row.names incompatibility #603

maelle opened this issue Feb 11, 2025 · 0 comments
Labels
help wanted ❤️ we'd love your help!

Comments

@maelle
Copy link
Collaborator
maelle commented Feb 11, 2025
library(conflicted)
library(duckplyr)
#> Loading required package: dplyr
#> 
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, setequal, union
#> ✔ Overwriting dplyr methods with duckplyr methods.
#> ℹ Turn off with `duckplyr::methods_restore()`.
conflict_prefer("filter", "dplyr", quiet = TRUE)
mtcars |>
  mutate (name = rownames(mtcars)) |>
  summarize(
    .by = cyl,
    disp = mean(disp, na.rm = TRUE),
    sd = sd(disp)
  )
#> Error processing duckplyr query with DuckDB, falling back to dplyr.
#> Caused by error in `duckdb_rel_from_df()`:
#> ! Need data frame without row names to convert to relational, got
#>   character row names.
#> Error processing duckplyr query with DuckDB, falling back to dplyr.
#> Caused by error in `duckdb_rel_from_df()`:
#> ! Need data frame without row names to convert to relational, got
#>   character row names.
#>   cyl     disp sd
#> 1   6 183.3143 NA
#> 2   4 105.1364 NA
#> 3   8 353.1000 NA

Created on 2025-02-11 with reprex v2.1.1

@krlmlr krlmlr added the help wanted ❤️ we'd love your help! label Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted ❤️ we'd love your help!
Projects
None yet
Development

No branches or pull requests

2 participants
0