Skip to content

Conversation

@etiennebacher
Copy link
Contributor

@etiennebacher etiennebacher commented Sep 10, 2025

A few lint fixes:

  • perf: lengths, rowMeans
  • readability: any(!...) -> !all(...), nlevels

Changes in test-utils.R are not lints per se but I noticed they look overcomplicated (they were added by me in #884). I think the idea at the time was to show the equivalence of is_binary() with all(x %in% 0:1) (used before) but it's just no longer needed I think. No problem to remove those changes if necessary.

@vincentarelbundock vincentarelbundock merged commit 75dc6e7 into vincentarelbundock:main Sep 12, 2025
5 checks passed
@vincentarelbundock
Copy link
Owner

look great, thanks for taking the time!

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