-
-
Notifications
You must be signed in to change notification settings - Fork 9
fix get_code_dependency for empty input #197
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
Conversation
Code Coverage SummaryDiff against mainResults for commit: 4181e53 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Unit Test Performance DifferenceAdditional test case details
Results for commit 5e44482 ♻️ This comment has been updated with latest results. |
averissimo
left a comment
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.
Works well with the set of examples that were used to detect this issue 👍
| checkmate::assert_multi_class(code, classes = c("character", "expression")) | ||
| checkmate::assert_character(names) | ||
|
|
||
| if (identical(code, character(0)) || identical(code, "")) { |
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.
Small suggestion to treat string that only has whitespace as an empty string
| if (identical(code, character(0)) || identical(code, "")) { | |
| if (identical(code, character(0)) || identical(trimws(code), "")) { |
Have had an automerge on #197 and could not apply suggestions Signed-off-by: Marcin <133694481+m7pr@users.noreply.github.com>
Close insightsengineering/teal#972