all.equal only reports differences in first column with differences
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 70/100
Hướng nghiên cứu
Start by running the supplied data.table and data.frame examples and comparing their all.equal output. Trace the data.table all.equal entry point to find why reporting stops after the first differing column, then add or update coverage so differences in both A and B are reported consistently with data.frame.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When comparing two data.tables with differences in multiple columns only the difference in the first column is printed.
See the code below:
dt1 <- data.table(A = 1:5, B = 1:5)
dt2 <- data.table(A = 2:6, B = 2:6)
all.equal(dt1, dt2)
df1 <- data.frame(A = 1:5, B = 1:5)
df2 <- data.frame(A = 2:6, B = 2:6)
all.equal(df1, df2)
I expected similar output printed as when using all.equal on two data.frames, i.e. both columns that have differences reported. The latter is also what is described as output value for the function.
- Ngôn ngữ chính
- R
- Star
- 3.9k
- Fork
- 1.1k
- Merge trung bình
- 8 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Rdatatable/data.table
-
as.data.table() recurses without end on a survival::Surv object (or any data.frame carrying one)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Rdatatable/data.table#7887 ·
-
test() doesn't distinguish plain NA_real_, NaNCó thể đã có người làm @MichaelChirico đã nhận 73 ngày trước. Đang mởconsistency tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Rdatatable/data.table#7853 · 3 bình luận ·
-
HAVE_LONG_DOUBLE is conditioned on but never setCó thể đã có người làm @venom1204 đã nhận 517 ngày trước. Đang mởinternals
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Rdatatable/data.table#6938 · 1 bình luận ·
-
encoding fread
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Rdatatable/data.table#5179 · 8 bình luận ·
-
documentation programming
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Rdatatable/data.table#3199 · 3 bình luận ·
Tất cả issue của Rdatatable/data.table
Issue tương tự
-
Typos in schema fileĐang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Component: R
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày
-
bug pixi-build-r
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
prefix-dev/pixi#7229 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
rstudio/reticulate#1933 ·