Skip to content

Use file.size() instead of file.info()$size - #7958

Merged
ben-schwen merged 1 commit into
masterfrom
use-file-size
Nov 15, 2026
Merged

ben-schwen merged 1 commit into
masterfrom
use-file-size

Conversation

@m-muecke

@m-muecke m-muecke commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

file.size() only needs R 3.2.0

@codecov

codecov Bot commented Nov 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.08%. Comparing base (63a95fa) to head (633239c).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7958   +/-   ##
=======================================
  Coverage   99.08%   99.08%           
=======================================
  Files          88       88           
  Lines       17428    17428           
=======================================
  Hits        17269    17269           
  Misses        159      159           

☔ 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.

@MichaelChirico MichaelChirico left a comment

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.

Great! BTW, the list in lintr::backport_linter() is pretty exhaustive, if you're interested in a more exhaustive approach here.

@m-muecke

Copy link
Copy Markdown
Contributor Author

That and the backports package are the first resources I look at. I reckon there isn't much left for the current R version.

@ben-schwen
ben-schwen merged commit f0de60b into master Nov 15, 2026
13 checks passed
@ben-schwen
ben-schwen deleted the use-file-size branch November 15, 2026 18:24
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.

3 participants