Skip to content

Conversation

@sisyphuswastaken
Copy link

@sisyphuswastaken sisyphuswastaken commented Jan 19, 2026

Pertains to issue #7354.
Changes implemented:

  • isolated logic for processing SDcols from the [.data.table function, encapsulated it into a helper function .processSDcols.
  • Added tests for code coverage
  • removed the try-catch error block, to make errors more specific and debugging easier
    This PR continues work from Implementing NSE in cube #7540 and and Implementing NSE in cube #7543.

@sisyphuswastaken sisyphuswastaken changed the title Fix 7354 Fix #7354 Jan 19, 2026
@codecov
Copy link

codecov bot commented Jan 19, 2026

Codecov Report

❌ Patch coverage is 96.36364% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.99%. Comparing base (0216983) to head (2a15aef).
⚠️ Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
R/data.table.R 94.11% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7603      +/-   ##
==========================================
- Coverage   99.00%   98.99%   -0.01%     
==========================================
  Files          87       87              
  Lines       16893    16935      +42     
==========================================
+ Hits        16725    16765      +40     
- Misses        168      170       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jangorecki

This comment was marked as resolved.

@sisyphuswastaken sisyphuswastaken changed the title Fix #7354 Fix #7354, Implementing NSE in cube Jan 19, 2026
@sisyphuswastaken

This comment was marked as resolved.

# redirect to workhorse function
jj = substitute(j)
groupingsets.data.table(x, by=by, sets=sets, .SDcols=.SDcols, id=id, jj=jj, label=label, enclos = parent.frame())
# input data type basic validation
Copy link
Member

Choose a reason for hiding this comment

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

Changes in those lines looks to be unrelated to this PR

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.

2 participants