-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify error for := under with=FALSE #6834
base: depr-inplace
Are you sure you want to change the base?
Conversation
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## depr-inplace #6834 +/- ##
================================================
- Coverage 98.64% 98.64% -0.01%
================================================
Files 79 79
Lines 14638 14637 -1
================================================
- Hits 14440 14439 -1
Misses 198 198 ☔ View full report in Codecov by Sentry. |
Generated via commit 7f5a437 Download link for the artifact containing the test results: ↓ atime-results.zip
|
# TODO(>=1.18.0): Simplify this error | ||
stopf("with=FALSE together with := was deprecated in v1.9.4 released Oct 2014; this has been warning since v1.15.0. Please wrap the LHS of := with parentheses; e.g., DT[,(myVar):=sum(b),by=a] to assign to column name(s) held in variable myVar. See ?':=' for other examples.") | ||
} | ||
if (jsub %iscall% ":=") stopf("`:=` is only supported under with=TRUE.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe keep the
See ?':=' for other examples."
although a bit superfluous?
No description provided.