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: use %||% from rlang #1112

Merged
merged 2 commits into from
Jan 16, 2024
Merged

refactor: use %||% from rlang #1112

merged 2 commits into from
Jan 16, 2024

Conversation

maelle
Copy link
Contributor

@maelle maelle commented Jan 15, 2024

later this will be from base R itself 😁

I noticed this function's name in the "sanitizer" workflow results and while looking for occurrences of it in the codebase, I saw it was home-made.

@maelle maelle requested a review from krlmlr January 15, 2024 12:35
Copy link
Contributor

aviator-app bot commented Jan 15, 2024

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes.
Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This PR was merged using Aviator.


See the real-time status of this PR on the Aviator webapp.

Use the Aviator Chrome Extension to see the status of your PR within GitHub.

@maelle
Copy link
Contributor Author

maelle commented Jan 15, 2024

@krlmlr thanks for reporting r-lib/roxygen2#1570, seeing it made me fix the problem much quicker 😅

}
}
}

`%&&%` <- function(lhs, rhs) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@krlmlr does this operator exist in other packages? even as utility, I had never seen it.

Copy link
Contributor

Choose a reason for hiding this comment

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

}
}
}

`%&&%` <- function(lhs, rhs) {
Copy link
Contributor

Choose a reason for hiding this comment

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

@aviator-app aviator-app bot merged commit de7b98a into main Jan 16, 2024
14 checks passed
@aviator-app aviator-app bot deleted the rlang-op branch January 16, 2024 11:13
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