Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

all.equal only reports differences in first column with differences

Abierto
#7,903 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
70/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
r
Área
data

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
R
Estrellas
3.9k
Forks
1.1k
Merge medio
14 h 4 min
PR fusionados (30 d)
4

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Rdatatable/data.table

Todos los issues de Rdatatable/data.table

Issues similares

Más issues de R

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.