all.equal only reports differences in first column with differences
まだ誰も着手していません。
評価
調査の方向性
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
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Rdatatable/data.table のほかの issue
-
as.data.table() recurses without end on a survival::Surv object (or any data.frame carrying one)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Rdatatable/data.table#7887 ·
-
consistency tests
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Rdatatable/data.table#7853 · コメント 3 件 ·
-
internals
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Rdatatable/data.table#6938 · コメント 1 件 ·
-
encoding fread
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Rdatatable/data.table#5179 · コメント 8 件 ·
-
documentation programming
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Rdatatable/data.table#3199 · コメント 3 件 ·
Rdatatable/data.table の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Open-Systems-Pharmacology/OSPSuite.ParameterIdentification#308 ·
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
datacarpentry/semester-biology#1266 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
REditorSupport/vscode-R#1785 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信