Skip to content

capture missing() of arguments once as flags in [ - #7932

Open
ben-schwen wants to merge 1 commit into
brk/a1_testsfrom
brk/a2_missing_flags
Open

ben-schwen wants to merge 1 commit into
brk/a1_testsfrom
brk/a2_missing_flags

Conversation

@ben-schwen

Copy link
Copy Markdown
Member

Towards #852

@ben-schwen
ben-schwen added this pull request to stack #7933 October 21, 2026 10:29
@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 (a2e6a4a) to head (a8fcf6a).

Additional details and impacted files
@@              Coverage Diff              @@
##           brk/a1_tests    #7932   +/-   ##
=============================================
  Coverage         99.09%   99.09%           
=============================================
  Files                88       88           
  Lines             17420    17430   +10     
=============================================
+ Hits              17262    17272   +10     
  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.

missing() works in the calling frame so it blocks moving code out of [.data.table.
Capture it once at the top as missing_<arg> flags and keep them in sync where an argument is reassigned.

No behaviour change.
@ben-schwen
ben-schwen force-pushed the brk/a2_missing_flags branch from 353fbce to a8fcf6a Compare October 21, 2026 12:07

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