-
Notifications
You must be signed in to change notification settings - Fork 8
Add filter.epi_archive
#651
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
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
8546548
feat: add filter.epi_archive
brookslogan 9a4a601
In filter.epi_archive, favor avoiding incorrect geo_type reinferences
brookslogan 1f2bd85
feat(filter.epi_archive): also guard against using measurement columns
brookslogan 3198429
Test filter.epi_archive, fix&tweak some behaviors
brookslogan 24bda52
style: styler (GHA)
brookslogan 17a369c
test: add environment variable test
dshemetov 80d787b
fix(filter.epi_archive): for+lazy, left-behind bindings
brookslogan 07e54f4
fix(filter.epi_archive): avoid other lazy eval traps
brookslogan 751f547
style: styler (GHA)
brookslogan 016010d
Merge remote-tracking branch 'upstream/dev' into lcb/archive-filter
brookslogan 7fb25fb
Bump DESCRIPTION version
brookslogan 8f63ad8
Address failing checks
brookslogan 8b569ff
docs(filter.epi_archive): suggest alternative for meas col filtering
brookslogan 26721fa
tests: `expect_equal` when comparing Dates due to inconsistent backin…
brookslogan e417756
Relax typeof checks due to Date backing typeof inconsistencies
brookslogan 332362b
Address tidyselect warnings on .data$
brookslogan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Type: Package | ||
Package: epiprocess | ||
Title: Tools for basic signal processing in epidemiology | ||
Version: 0.11.5 | ||
Version: 0.11.6 | ||
Authors@R: c( | ||
person("Jacob", "Bien", role = "ctb"), | ||
person("Logan", "Brooks", , "[email protected]", role = c("aut", "cre")), | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like it will error if you use it inside a function that has "version" or "time_value" defined in its environment? I'm reading this as traversing up the environment chain and stopping short of the globalenv(), which would be most likely to have variables like that defined, but intermediate scopes might still have false positives.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah ok, I tested it locally and it seems fine. I guess this works because we hit the data mask environment first and break out before we hit the user's function environment? Seems reasonable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, the data mask environment chain in current dplyr&rlang looks something like
rlang wrapper env -> data bindings env (/ env chain input to as_data_mask env) -> quosure env (chain)
where:
~
override I don't quite understand, and some other internalsWe should stop at the data bindings env and reassign things there.
But I did find an issue along those lines
because I'm leaving around an
e
in the rlang wrapper env.Also, I fell for a classic lazy eval + env issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... and found some others. Should be fixed now.