Skip to content

move helper functions outside of [ - #7935

Open
ben-schwen wants to merge 1 commit into
brk/a3_callenvfrom
brk/a4_move_helpers
Open

ben-schwen wants to merge 1 commit into
brk/a3_callenvfrom
brk/a4_move_helpers

Conversation

@ben-schwen

Copy link
Copy Markdown
Member

Towards #852

Since this change consists of a lot code moving I would recommend reviewing it with
git diff brk/a4_move_helpers^! --color-moved=dimmed-zebra --color-moved-ws=allow-indentation-change
which displays the real changes nicely

@ben-schwen
ben-schwen added this pull request to stack #7933 October 21, 2026 15:06
@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 (07544cf) to head (296435e).

Additional details and impacted files
@@                Coverage Diff                 @@
##           brk/a3_callenv    #7935      +/-   ##
==================================================
- Coverage           99.09%   99.09%   -0.01%     
==================================================
  Files                  88       88              
  Lines               17431    17422       -9     
==================================================
- Hits                17273    17264       -9     
  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.

Functions defined inside [ capture its frame, so they block moving the code that uses them.
Move them to internal top-level functions, named .dt_* so that conditions they raise still report the [.data.table call.

No behaviour change.
@github-actions

Copy link
Copy Markdown

No obvious timing issues in HEAD=brk/a4_move_helpers

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

Generated via commit 296435e

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

Task Duration
R setup and installing dependencies 1 minutes and 43 seconds
Installing different package versions 13 minutes and 59 seconds
Running and plotting the test cases 5 minutes and 36 seconds

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.

1 participant