Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

all.equal only reports differences in first column with differences

オープン
#7,903 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
70/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
r
領域
data

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
R
スター
3.9k
フォーク
1.1k
平均マージ
14時間 4分
マージ済み PR(30日)
4

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Rdatatable/data.table のほかの issue

Rdatatable/data.table の issue をすべて見る

似ている issue

R の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。