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

draft change: add_pooling_effect to more generic finder_fn #222

Merged
merged 8 commits into from
Apr 5, 2023

Conversation

pearsonca
Copy link
Collaborator

@pearsonca pearsonca commented Apr 4, 2023

still need some other finder_fn examples to add to testing?

@pearsonca pearsonca requested a review from seabbs April 4, 2023 19:21
@pearsonca pearsonca linked an issue Apr 4, 2023 that may be closed by this pull request
@pearsonca pearsonca marked this pull request as ready for review April 4, 2023 20:01
@codecov
Copy link

codecov bot commented Apr 4, 2023

Codecov Report

Merging #222 (e543214) into develop (f0b58ee) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head e543214 differs from pull request most recent head 4cebf92. Consider uploading reports for the commit 4cebf92 to get more accurate results

@@           Coverage Diff            @@
##           develop     #222   +/-   ##
========================================
  Coverage    97.30%   97.30%           
========================================
  Files           14       14           
  Lines         1519     1524    +5     
========================================
+ Hits          1478     1483    +5     
  Misses          41       41           
Impacted Files Coverage Δ
R/formula-tools.R 95.20% <100.00%> (+0.09%) ⬆️
R/model-design-tools.R 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Collaborator

@seabbs seabbs left a comment

Choose a reason for hiding this comment

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

This all looks good to me and as suggested is certainly clearer. Aside from another test case, which we can sort of dream up I think, it is important we have a really clear news note here indicating that this is a breaking change. I actually wonder if we should have a news section for breaking changes specifically just to highlight this.

@pearsonca
Copy link
Collaborator Author

added another test to highlight ... capability + drafted NEWS update.

also noted during testing that enw_add_pooling_effect side effects it's argument. that's not generally the approach used elsewhere in the library, but the documentation does (sorta) frame it that way.

@pearsonca pearsonca requested a review from seabbs April 4, 2023 22:08
@pearsonca
Copy link
Collaborator Author

pearsonca commented Apr 5, 2023

ugh, so this kinda goes beyond the limited scope of the issue, but:
should we address applying the interface ethos (this is public, therefore: should be documented as taking a data.frame, should not side effect argument, etc)?
OR should that be addressed as some comprehensive review targetting only that question => changes (+ writing developer guidance for that)? (i.e. something addressing #211)

@seabbs
Copy link
Collaborator

seabbs commented Apr 5, 2023

I just tweaked the proposed news item and incremented the development version. Just doing a final review and then will merge.

ugh, so this kinda goes beyond the limited scope of the issue, but:
should we address applying the interface ethos (this is public, therefore: should be documented as taking a data.frame, should not side effect argument, etc)?
OR should that be addressed as some comprehensive review targetting only that question => changes (+ writing developer guidance for that)? (i.e. something addressing #211)

I think this goes beyond the scope of this issue and we should deal with it in #211 as you suggest.

Copy link
Collaborator

@seabbs seabbs left a comment

Choose a reason for hiding this comment

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

LGTM

@seabbs seabbs merged commit 4c760f6 into develop Apr 5, 2023
8 checks passed
@seabbs seabbs deleted the 213-enw_add_pooling_effect-drop-string-argument branch April 5, 2023 09:11
@github-actions github-actions bot restored the 213-enw_add_pooling_effect-drop-string-argument branch April 5, 2023 09:11
@seabbs seabbs deleted the 213-enw_add_pooling_effect-drop-string-argument branch April 17, 2023 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

enw_add_pooling_effect drop string argument
2 participants