Skip to content

feat(coef.estimate): tests for s3 method + setting options.lava(messages = 1) by default#23

Open
benesom wants to merge 4 commits intodevelopfrom
chore/cast-warning-coef-estimate-benesom
Open

feat(coef.estimate): tests for s3 method + setting options.lava(messages = 1) by default#23
benesom wants to merge 4 commits intodevelopfrom
chore/cast-warning-coef-estimate-benesom

Conversation

@benesom
Copy link
Copy Markdown
Collaborator

@benesom benesom commented Apr 24, 2026

R/onload.R: Explicitly initialises messages = 1 in lava.options() on package load, ensuring the default message level is set regardless of environment. This makes the messaging behaviour predictable and testable. Also add small note about how messages can be disabled to README.Rmd.

@benesom benesom changed the title test: add coef.estimate back.transform message tests feat(coef.estimate): tests for s3 method + setting options.lava(messages = 1) by default Apr 24, 2026
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kkholst did you specificy the figure dimesions somewhere locally on your machine?

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.62%. Comparing base (6a2f90d) to head (eeb1be0).
⚠️ Report is 371 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #23      +/-   ##
===========================================
+ Coverage    68.77%   73.62%   +4.85%     
===========================================
  Files          164      164              
  Lines        14324    15229     +905     
===========================================
+ Hits          9851    11213    +1362     
+ Misses        4473     4016     -457     

☔ View full report in Codecov by Sentry.
📢 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.

Comment thread README.md
#> a 0.5 0.3199 -0.1271 1.127 0.118111
#> b 0.8 0.2502 0.3097 1.290 0.001384
#> Estimate Std.Err 2.5% 97.5% P-value
#> a 0.5 0.2698 -0.02884 1.029 0.06387
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kkholst , I assume that we forgot to render the readme file during previous changes, because I don't see how the current changes would cause these estimates to change.

Comment thread DESCRIPTION
svglite,
targeted (>= 0.4),
testthat (>= 0.11),
testthat (>= 3.2.0),
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bump to 3.2.0 because expect_no_message() became stable.

@benesom benesom requested a review from kkholst April 24, 2026 08:41
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