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

refactor: some cleanup and more tests for $rolling() #1103

Merged
merged 3 commits into from
May 21, 2024
Merged

Conversation

etiennebacher
Copy link
Collaborator

No description provided.

#' @exportS3Method
parse_as_polars_duration_string.character = function(x, default = NULL, ...) {
if (length(x) != 1L || is.na(x)) {
if (length(x) != 1L) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No need to check for scalar NA since it would be passed to the .default method

@etiennebacher etiennebacher requested a review from eitsupi May 21, 2024 22:01
Copy link
Collaborator

@eitsupi eitsupi left a comment

Choose a reason for hiding this comment

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

Thanks!

@eitsupi eitsupi merged commit 1aba78a into main May 21, 2024
18 of 20 checks passed
@eitsupi eitsupi deleted the remove-some-todos branch May 21, 2024 22:28
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