Skip to content

Fix covr switch fallthrough; add r2size tests - #74

Merged
t-kalinowski merged 5 commits into
mainfrom
fix/covr-switch-fallthrough
Dec 19, 2025
Merged

Fix covr switch fallthrough; add r2size tests#74
t-kalinowski merged 5 commits into
mainfrom
fix/covr-switch-fallthrough

Conversation

@t-kalinowski

Copy link
Copy Markdown
Owner
  • Fixes r2size() arithmetic operator handling to avoid switch() fallthrough returning NULL during coverage runs.
  • Adds user-facing quick() tests covering constant arithmetic size expressions (+, ^) and length()/dim()/nrow()/ncol()-based allocation sizes.

Tests: devtools::test(); rcmdcheck::rcmdcheck(error_on = "warning")

@t-kalinowski
t-kalinowski merged commit 095e0ad into main Dec 19, 2025
6 checks passed
@t-kalinowski
t-kalinowski deleted the fix/covr-switch-fallthrough branch December 19, 2025 13:37
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