Open krlmlr opened 6 months ago
See https://github.com/duckdblabs/duckplyr/commit/ffa7e96ac50db7a4d3d0d7f73ef0930337af97df for my workaround.
The necessary margin seems to be larger than 2, even larger than 10. This helped with at least one reverse dependency, we'll see.
This is a toy example, but relevant for some CRAN packages with the default setting of
max_expression_depth
. The symptoms are the same as when evaluatingrel7
.Ideally, we would already see an error when constructing
rel5
. However, the system lets me constructrel5
and evenrel6
, only construction ofrel7
fails with the same error as the evaluation ofrel5
. Is this an off-by-two error, or something more serious?duckplyr can fall back to dplyr if the error happens at construction, but not at evaluation -- this is too late. An error on construction of
rel5
or perhaps evenrel4
would fix the downstream problem. How to achieve this?Created on 2024-03-10 with reprex v2.1.0