all.equal only reports differences in first column with differences
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 70/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- R
- Stelle
- 3.9k
- Fork
- 1.1k
- Merge medio
- 14h 4m
- PR unite (30g)
- 4
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Rdatatable/data.table
-
as.data.table() recurses without end on a survival::Surv object (or any data.frame carrying one) Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Rdatatable/data.table#7887 ·
-
consistency tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Rdatatable/data.table#7853 · 3 commenti ·
-
internals
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Rdatatable/data.table#6938 · 1 commento ·
-
encoding fread
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Rdatatable/data.table#5179 · 8 commenti ·
-
documentation programming
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Rdatatable/data.table#3199 · 3 commenti ·
Tutte le issue di Rdatatable/data.table
Issue simili
-
Affects Web App documentation PRIORITY LOW
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
hubverse-org/hubCI#36 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
OHDSI/CohortSymmetry#351 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100