Skip to content

Correctly deal with {}-wrapped by#3814

Merged
mattdowle merged 4 commits intomasterfrom
by_brace
Sep 12, 2019
Merged

Correctly deal with {}-wrapped by#3814
mattdowle merged 4 commits intomasterfrom
by_brace

Conversation

@MichaelChirico
Copy link
Copy Markdown
Member

Closes #3156

As mentioned in #3156 (comment), not an ideal solution but I think it'll rock the boat a bit to go too deep for this release. Will file a follow-up to revisit this after 1.12.4

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 3, 2019

Codecov Report

Merging #3814 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3814   +/-   ##
=======================================
  Coverage   99.42%   99.42%           
=======================================
  Files          71       71           
  Lines       13432    13432           
=======================================
  Hits        13355    13355           
  Misses         77       77
Impacted Files Coverage Δ
R/data.table.R 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 09aaac4...22651b2. Read the comment docs.

@mattdowle mattdowle added this to the 1.12.4 milestone Sep 12, 2019
Comment thread R/data.table.R
"' clashed with variable(s) in j. Therefore assigning the entire by-expression as name.\n", sep="")
}
else bynames[jj] = tt
# if user doesn't like this inferred name, user has to use by=list() to name the column
Copy link
Copy Markdown
Member

@mattdowle mattdowle Sep 12, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For future reference: hide whitespace option in github works well in this case. Otherwise it shows a big block of 20 lines removed and added without any finer detail. With hide-whitespace on the diff reduces dramatically. Further down there was a space after a closing brace which seems to trip up the default view.

@mattdowle mattdowle merged commit 1721ee9 into master Sep 12, 2019
@mattdowle mattdowle deleted the by_brace branch September 12, 2019 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error subscript out of bounds for by={list(var1, var2)}

2 participants