Skip to content

move the cedta fallback outside of [ - #7936

Open
ben-schwen wants to merge 1 commit into
brk/a4_move_helpersfrom
brk/a5_cedta_helper
Open

ben-schwen wants to merge 1 commit into
brk/a4_move_helpersfrom
brk/a5_cedta_helper

Conversation

@ben-schwen

Copy link
Copy Markdown
Member

Towards #852

@codecov

codecov Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.09%. Comparing base (b7fe976) to head (301e163).

Additional details and impacted files
@@                 Coverage Diff                  @@
##           brk/a4_move_helpers    #7936   +/-   ##
====================================================
  Coverage                99.09%   99.09%           
====================================================
  Files                       88       88           
  Lines                    17422    17422           
====================================================
  Hits                     17264    17264           
  Misses                     158      158           

☔ View full report in Codecov by Harness.
📢 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.

@ben-schwen
ben-schwen force-pushed the brk/a5_cedta_helper branch 2 times, most recently from 2bf339a to effc48f Compare October 24, 2026 23:13
@github-actions

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
  • HEAD=brk/a5_cedta_helper much slower for melt(list measure.vars, variable.factor=FALSE) improved in #7917

(Plot image upload to picrd.com failed; download the artifact below to view plots)

Generated via commit 301e163

Download link for the artifact containing the test results: ↓ atime-results.zip

Task Duration
R setup and installing dependencies 37 minutes and 55 seconds
Installing different package versions 10 minutes and 47 seconds
Running and plotting the test cases 4 minutes and 58 seconds

Comment thread R/data.table.R
# Throw a specific error message
stopf("[ was called on a data.table in an environment that is not data.table-aware (i.e. cedta()), but '%s' was used, implying the owner of this call really intended for data.table methods to be called. See vignette('datatable-importing') for details on properly importing data.table.", as.character(jsub[[1L]]))
}
Nargs = nargs - (!missing_drop)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can we re-compute missing(drop) here? (and missing_i?)

Since this is an "unsupported" path it's fine to have a little overhead, I think it's preferable to have a minimal helper signature.

I also wonder if a do.call(`[.data.frame`, list(...)) approach could simplify(?) this arg-checking logic.

This branch has not been deployed

No deployments
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