|
5 | 5 | Message
|
6 | 6 | 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.
|
7 | 7 | x Fallback printing is disabled.
|
8 |
| - v Fallback logging is enabled. |
9 |
| - i Fallback logging is not controlled, see `?duckplyr::fallback()`. |
10 |
| - i Logs are written to 'fallback/log/dir'. |
| 8 | + x Fallback logging is disabled. |
11 | 9 | i Automatic fallback uploading is not controlled and therefore disabled, see `?duckplyr::fallback()`.
|
12 |
| - i No reports ready for upload. |
13 | 10 | i See `?duckplyr::fallback_config()` for details.
|
14 | 11 |
|
15 | 12 | # fallback_sitrep() enabled
|
|
19 | 16 | Message
|
20 | 17 | 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.
|
21 | 18 | x Fallback printing is disabled.
|
22 |
| - v Fallback logging is enabled. |
23 |
| - i Logs are written to 'fallback/log/dir'. |
| 19 | + x Fallback logging is disabled. |
24 | 20 | v Automatic fallback uploading is enabled.
|
25 |
| - v Number of reports ready for upload: 3. |
26 |
| - > Review with `duckplyr::fallback_review()`, upload with `duckplyr::fallback_upload()`. |
27 | 21 | i See `?duckplyr::fallback_config()` for details.
|
28 | 22 |
|
29 | 23 | # fallback_sitrep() enabled silent
|
|
33 | 27 | Message
|
34 | 28 | 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.
|
35 | 29 | v Fallback printing is enabled.
|
36 |
| - v Fallback logging is enabled. |
37 |
| - i Logs are written to 'fallback/log/dir'. |
| 30 | + x Fallback logging is disabled. |
38 | 31 | v Automatic fallback uploading is enabled.
|
39 |
| - v Number of reports ready for upload: 3. |
40 |
| - > Review with `duckplyr::fallback_review()`, upload with `duckplyr::fallback_upload()`. |
41 | 32 | i See `?duckplyr::fallback_config()` for details.
|
42 | 33 |
|
43 | 34 | # fallback_sitrep() disabled
|
|
55 | 46 |
|
56 | 47 | Code
|
57 | 48 | duckdb_tibble(a = 1, b = 2, c = 3) %>% summarize(.by = a, e = sum(b), f = sum(e))
|
58 |
| - Message |
59 |
| - i dplyr fallback recorded |
60 |
| - {"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"]}} |
61 | 49 | Output
|
62 | 50 | # A duckplyr data frame: 3 variables
|
63 | 51 | a e f
|
|
69 | 57 | Code
|
70 | 58 | duckdb_tibble(a = as.Date("2024-03-08")) %>% mutate(b = lubridate::wday(a,
|
71 | 59 | label = TRUE))
|
72 |
| - Message |
73 |
| - i dplyr fallback recorded |
74 |
| - {"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"]}} |
75 | 60 | Output
|
76 | 61 | # A duckplyr data frame: 2 variables
|
77 |
| - Message |
78 |
| - i dplyr fallback recorded |
79 |
| - {"version":"0.3.1","message":"Can't convert columns of class <ordered/factor> to relational. Affected column: `...2`.","name":"head","x":{"...1":"Date","...2":"ordered/factor"},"args":{"n":21}} |
80 |
| - Output |
81 | 62 | a b
|
82 | 63 | <date> <ord>
|
83 | 64 | 1 2024-03-08 Fri
|
|
86 | 67 |
|
87 | 68 | Code
|
88 | 69 | duckdb_tibble(a = as.Date("2024-03-08")) %>% mutate(b = lubridate::wday(a))
|
89 |
| - Message |
90 |
| - i dplyr fallback recorded |
91 |
| - {"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"]}} |
92 | 70 | Output
|
93 | 71 | # A duckplyr data frame: 2 variables
|
94 | 72 | a b
|
|
100 | 78 | Code
|
101 | 79 | duckdb_tibble(a = as.Date("2024-03-08")) %>% mutate(b = strftime(a, format = "%Y-%m-%d",
|
102 | 80 | tz = "CET"))
|
103 |
| - Message |
104 |
| - i dplyr fallback recorded |
105 |
| - {"version":"0.3.1","message":"strftime(tz = ) not supported","name":"mutate","x":{"...1":"Date"},"args":{"dots":{"...2":"strftime(...1, format = \"<character>\", tz = \"<character>\")"},".by":"NULL",".keep":["all","used","unused","none"]}} |
106 | 81 | Output
|
107 | 82 | # A duckplyr data frame: 2 variables
|
108 | 83 | a b
|
|
113 | 88 |
|
114 | 89 | Code
|
115 | 90 | duckdb_tibble(a = 1, b = 2) %>% mutate(c = .env$x)
|
116 |
| - Message |
117 |
| - i dplyr fallback recorded |
118 |
| - {"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"]}} |
119 | 91 | Condition
|
120 | 92 | Error in `mutate()`:
|
121 | 93 | i In argument: `c = .env$x`.
|
|
126 | 98 |
|
127 | 99 | Code
|
128 | 100 | duckdb_tibble(a = 1, b = 2) %>% mutate(c = foo(a, b))
|
129 |
| - Message |
130 |
| - i dplyr fallback recorded |
131 |
| - {"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"]}} |
132 | 101 | Output
|
133 | 102 | # A duckplyr data frame: 3 variables
|
134 | 103 | a b c
|
|
174 | 143 |
|
175 | 144 | Code
|
176 | 145 | duckdb_tibble(`___row_number` = 1, b = 2:3) %>% arrange(b)
|
177 |
| - Message |
178 |
| - i dplyr fallback recorded |
179 |
| - {"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}} |
180 | 146 | Output
|
181 | 147 | # A duckplyr data frame: 2 variables
|
182 | 148 | `___row_number` b
|
|
188 | 154 |
|
189 | 155 | Code
|
190 | 156 | duckdb_tibble(a = 1) %>% count(a, .drop = FALSE, name = "n")
|
191 |
| - Message |
192 |
| - i dplyr fallback recorded |
193 |
| - {"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}} |
194 |
| - i dplyr fallback recorded |
195 |
| - {"version":"0.3.1","message":"Try {.code summarise(.by = ...)} or {.code mutate(.by = ...)} instead of {.code group_by()} and {.code ungroup()}."} |
196 | 157 | Output
|
197 | 158 | # A duckplyr data frame: 2 variables
|
198 | 159 | a n
|
|
0 commit comments