Commit 0909048
Ensure Consistent Key Handling in as.data.table S3 Methods (#6865)
* fixing key setting order
* fix key setting order
* document argument keep.rownames and key
* add tests and news.md
* add rownames and key in .Rd
* Extract keep.rownames and key from ...
* eliminate %>% operator
* update test 2309.2
* update tests
* set key
* update key handling
* update test
* corrected last test
* correct test case
* correct 2309.04
* update fix
* update changes
* Update R/as.data.table.R
* Update R/as.data.table.R
* update tests
* correct signature of as.data.table.data.table
---------
Co-authored-by: Benjamin Schwendinger <[email protected]>1 parent 04b9bdf commit 0909048
File tree
4 files changed
+29
-6
lines changed- R
- inst/tests
- man
4 files changed
+29
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
218 | | - | |
| 217 | + | |
| 218 | + | |
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| 256 | + | |
256 | 257 | | |
257 | 258 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21084 | 21084 | | |
21085 | 21085 | | |
21086 | 21086 | | |
| 21087 | + | |
| 21088 | + | |
| 21089 | + | |
| 21090 | + | |
| 21091 | + | |
| 21092 | + | |
| 21093 | + | |
| 21094 | + | |
| 21095 | + | |
| 21096 | + | |
| 21097 | + | |
| 21098 | + | |
| 21099 | + | |
| 21100 | + | |
| 21101 | + | |
| 21102 | + | |
| 21103 | + | |
| 21104 | + | |
| 21105 | + | |
| 21106 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments