Fix lints in report.htest.R by renaming conflicting variables#565
Merged
Fix lints in report.htest.R by renaming conflicting variables#565
Conversation
Co-authored-by: rempsyc <13123390+rempsyc@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] [Copilot]: Fix lints in report.htest.R
Fix lints in report.htest.R by renaming conflicting variables
Sep 11, 2025
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #565 +/- ##
==========================================
- Coverage 72.36% 72.25% -0.12%
==========================================
Files 54 54
Lines 3684 3892 +208
==========================================
+ Hits 2666 2812 +146
- Misses 1018 1080 +62 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #565 +/- ##
==========================================
- Coverage 72.36% 72.25% -0.12%
==========================================
Files 54 54
Lines 3684 3892 +208
==========================================
+ Hits 2666 2812 +146
- Misses 1018 1080 +62 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR resolves all linting issues in
R/report.htest.Rby addressingobject_overwrite_linterwarnings about variable names that conflict with exported objects from base R packages.The following variable names were renamed throughout the file to avoid conflicts:
table→tbl(conflicts withbase::table)text→txt(conflicts withgraphics::text)args→call_args(conflicts withbase::args)These changes affect multiple functions in the file:
report.htest()report_table.htest()report_statistics.htest()report_parameters.htest()report_model.htest()report_info.htest()report_text.htest()All functionality remains unchanged - the package builds successfully and all existing tests for htest functionality continue to pass. The file now has zero linting issues while maintaining full backward compatibility.
Fixes #564.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.