Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.1.15 #193

Merged
merged 2 commits into from
Mar 20, 2024
Merged

Release 0.1.15 #193

merged 2 commits into from
Mar 20, 2024

Conversation

plietar
Copy link
Member

@plietar plietar commented Mar 18, 2024

No description provided.

plietar added 2 commits March 18, 2024 14:03
Calling `all.equal` (or equivalently `expect_equal`) on bitsets has
never worked correctly. For some reason, externalptr always compare as
equal, thus, under the R6 implementation, any bitset with the same max
size was treated as equal.

With the recent switch to a named list and bitsets would sometimes be
considered different, even where their contents were the same. More
precisely, the arguments of `Bitset$new` now happen to be captured by
all of the methods' environments and were being included in the
comparison. A bitset created with `new(size=N)` would always be
different compared to a bitset created with `new(from=ptr)`.

malariasimulation has some tests that use `mockery::expect_args` to
compare bitset arguments, and these tests are now broken by the new
individual version.
@plietar plietar requested a review from giovannic March 18, 2024 14:06
Copy link

codecov bot commented Mar 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.13%. Comparing base (4bb3471) to head (7e48608).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #193      +/-   ##
==========================================
+ Coverage   96.12%   96.13%   +0.01%     
==========================================
  Files          36       36              
  Lines        1832     1839       +7     
==========================================
+ Hits         1761     1768       +7     
  Misses         71       71              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@plietar plietar merged commit 4bef32e into master Mar 20, 2024
8 checks passed
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