-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
library(tidyverse)
library(duckplyr)
#> ✔ Overwriting dplyr methods with duckplyr methods.
#> ℹ Turn off with `duckplyr::methods_restore()`.
data <-
duckdb_tibble(
g = c(1, 1, 2),
a = 1:3,
b = 2:4,
c = 3:5,
.prudence = "stingy"
)
packed <-
data |>
transmute(g, d = a + b, e = d + c)
#> Error in `transmute()`:
#> ! This operation cannot be carried out by DuckDB, and the input is a
#> stingy duckplyr frame.
#> ℹ Use `compute(prudence = "lavish")` to materialize to temporary storage and
#> continue with duckplyr.
#> ℹ See `vignette("prudence")` for other options.
#> Caused by error:
#> ! object 'd' not foundCreated on 2025-09-17 with reprex v2.1.1
Works with mutate(.keep = "unused") .
Metadata
Metadata
Assignees
Labels
No labels