From c1cb7da79bb7f732de7ff07c952696ff08574545 Mon Sep 17 00:00:00 2001 From: krlmlr <1741643+krlmlr@users.noreply.github.com> Date: Tue, 16 Sep 2025 19:17:47 +0000 Subject: [PATCH] [create-pull-request] automated change --- tests/testthat/_snaps/fallback.md | 45 +++---------------------------- 1 file changed, 3 insertions(+), 42 deletions(-) diff --git a/tests/testthat/_snaps/fallback.md b/tests/testthat/_snaps/fallback.md index 1b4b53bb9..7003ecd6d 100644 --- a/tests/testthat/_snaps/fallback.md +++ b/tests/testthat/_snaps/fallback.md @@ -5,11 +5,8 @@ Message The duckplyr package is configured to fall back to dplyr when it encounters an incompatibility. Fallback events can be collected and uploaded for analysis to guide future development. By default, data will be collected but no data will be uploaded. x Fallback printing is disabled. - v Fallback logging is enabled. - i Fallback logging is not controlled, see `?duckplyr::fallback()`. - i Logs are written to 'fallback/log/dir'. + x Fallback logging is disabled. i Automatic fallback uploading is not controlled and therefore disabled, see `?duckplyr::fallback()`. - i No reports ready for upload. i See `?duckplyr::fallback_config()` for details. # fallback_sitrep() enabled @@ -19,11 +16,8 @@ Message The duckplyr package is configured to fall back to dplyr when it encounters an incompatibility. Fallback events can be collected and uploaded for analysis to guide future development. By default, data will be collected but no data will be uploaded. x Fallback printing is disabled. - v Fallback logging is enabled. - i Logs are written to 'fallback/log/dir'. + x Fallback logging is disabled. v Automatic fallback uploading is enabled. - v Number of reports ready for upload: 3. - > Review with `duckplyr::fallback_review()`, upload with `duckplyr::fallback_upload()`. i See `?duckplyr::fallback_config()` for details. # fallback_sitrep() enabled silent @@ -33,11 +27,8 @@ Message The duckplyr package is configured to fall back to dplyr when it encounters an incompatibility. Fallback events can be collected and uploaded for analysis to guide future development. By default, data will be collected but no data will be uploaded. v Fallback printing is enabled. - v Fallback logging is enabled. - i Logs are written to 'fallback/log/dir'. + x Fallback logging is disabled. v Automatic fallback uploading is enabled. - v Number of reports ready for upload: 3. - > Review with `duckplyr::fallback_review()`, upload with `duckplyr::fallback_upload()`. i See `?duckplyr::fallback_config()` for details. # fallback_sitrep() disabled @@ -55,9 +46,6 @@ Code duckdb_tibble(a = 1, b = 2, c = 3) %>% summarize(.by = a, e = sum(b), f = sum(e)) - Message - i dplyr fallback recorded - {"version":"0.3.1","message":"Can't reuse summary variable `...4`.","name":"summarise","x":{"...1":"numeric","...2":"numeric","...3":"numeric"},"args":{"dots":{"...4":"sum(...2)","...5":"sum(...4)"},"by":["...1"]}} Output # A duckplyr data frame: 3 variables a e f @@ -69,15 +57,8 @@ Code duckdb_tibble(a = as.Date("2024-03-08")) %>% mutate(b = lubridate::wday(a, label = TRUE)) - Message - i dplyr fallback recorded - {"version":"0.3.1","message":"wday(label = ) not supported","name":"mutate","x":{"...1":"Date"},"args":{"dots":{"...2":"...3::...4(...1, label = TRUE)"},".by":"NULL",".keep":["all","used","unused","none"]}} Output # A duckplyr data frame: 2 variables - Message - i dplyr fallback recorded - {"version":"0.3.1","message":"Can't convert columns of class to relational. Affected column: `...2`.","name":"head","x":{"...1":"Date","...2":"ordered/factor"},"args":{"n":21}} - Output a b 1 2024-03-08 Fri @@ -86,9 +67,6 @@ Code duckdb_tibble(a = as.Date("2024-03-08")) %>% mutate(b = lubridate::wday(a)) - Message - i dplyr fallback recorded - {"version":"0.3.1","message":"`wday()` with `option(\"lubridate.week.start\")` not supported","name":"mutate","x":{"...1":"Date"},"args":{"dots":{"...2":"...3::...4(...1)"},".by":"NULL",".keep":["all","used","unused","none"]}} Output # A duckplyr data frame: 2 variables a b @@ -100,9 +78,6 @@ Code duckdb_tibble(a = as.Date("2024-03-08")) %>% mutate(b = strftime(a, format = "%Y-%m-%d", tz = "CET")) - Message - i dplyr fallback recorded - {"version":"0.3.1","message":"strftime(tz = ) not supported","name":"mutate","x":{"...1":"Date"},"args":{"dots":{"...2":"strftime(...1, format = \"\", tz = \"\")"},".by":"NULL",".keep":["all","used","unused","none"]}} Output # A duckplyr data frame: 2 variables a b @@ -113,9 +88,6 @@ Code duckdb_tibble(a = 1, b = 2) %>% mutate(c = .env$x) - Message - i dplyr fallback recorded - {"version":"0.3.1","message":"object not found, should also be triggered by the dplyr fallback","name":"mutate","x":{"...1":"numeric","...2":"numeric"},"args":{"dots":{"...3":"...4$...5"},".by":"NULL",".keep":["all","used","unused","none"]}} Condition Error in `mutate()`: i In argument: `c = .env$x`. @@ -126,9 +98,6 @@ Code duckdb_tibble(a = 1, b = 2) %>% mutate(c = foo(a, b)) - Message - i dplyr fallback recorded - {"version":"0.3.1","message":"Can't translate function `foo()`.","name":"mutate","x":{"...1":"numeric","...2":"numeric"},"args":{"dots":{"...3":"foo(...1, ...2)"},".by":"NULL",".keep":["all","used","unused","none"]}} Output # A duckplyr data frame: 3 variables a b c @@ -174,9 +143,6 @@ Code duckdb_tibble(`___row_number` = 1, b = 2:3) %>% arrange(b) - Message - i dplyr fallback recorded - {"version":"0.3.1","message":"Can't use column `...1` already present in rel for order preservation","name":"arrange","x":{"...1":"numeric","...2":"integer"},"args":{"dots":["...2"],".by_group":false}} Output # A duckplyr data frame: 2 variables `___row_number` b @@ -188,11 +154,6 @@ Code duckdb_tibble(a = 1) %>% count(a, .drop = FALSE, name = "n") - Message - i dplyr fallback recorded - {"version":"0.3.1","message":"{.code count()} only implemented for {.arg .drop} = {.value TRUE}","name":"count","x":{"...1":"numeric"},"args":{"dots":{"1":"...1"},"wt":"NULL","sort":false,".drop":false}} - i dplyr fallback recorded - {"version":"0.3.1","message":"Try {.code summarise(.by = ...)} or {.code mutate(.by = ...)} instead of {.code group_by()} and {.code ungroup()}."} Output # A duckplyr data frame: 2 variables a n