You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# zero col
row_number(data.frame(row.names = 1:10))
#> [1] 582098136 1 582098024 1 585748024 1 537055392 1 251706160 1
# one col
row_number(data.frame(10:1))
#> [1] 10 9 8 7 6 5 4 3 2 1
My expectation would have been 1:10 (we have nothing to order so all rows are assumed equal and disambiguated by using the first), but I would understand an error, or rep(NA, 10) as well.
btw the argument-less use is not documented, it was reported in #5820 but no action was taken AFAICT
The text was updated successfully, but these errors were encountered:
The results is actually non stable
My expectation would have been
1:10
(we have nothing to order so all rows are assumed equal and disambiguated by using the first), but I would understand an error, orrep(NA, 10)
as well.btw the argument-less use is not documented, it was reported in #5820 but no action was taken AFAICT
The text was updated successfully, but these errors were encountered: