-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Closes #116 Check for other package messaging in our snapshots #125
Conversation
@ddsjoberg Didn't quite find any error-out messages in our snapshots, but as for other package's error messaging is this an example? For the ones where we collect the message into the |
otherwise I fixed an unintended mistake from my old PR |
Thanks @zdz2101 ! This is exactly what we're looking for |
@ddsjoberg Would the resolution be to not include the error column in the snapshot? and for the snapshots where it says "2 more variables: warning, error" do those need to be checked as well for said errors? |
Hi @zdz2101 , Let's check that an error exists, but not its precise language, so that we don't induce a breaking change if another package changes its error message. |
Code Coverage Summary
Diff against main
Results for commit: 8d8bc86 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Unit Tests Summary 1 files 63 suites 9s ⏱️ Results for commit 8d8bc86. ♻️ This comment has been updated with latest results. |
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.
awesome, thank you for the update @zdz2101 !!!
What changes are proposed in this pull request?
Check and remove snapshots that contain other-package messaging
Provide more detail here as needed.
Closes #116
Pre-review Checklist (if item does not apply, mark is as complete)
usethis::pr_merge_main()
ard_*()
function was added, it passes the ARD structural checks fromcards::check_ard_structure()
.ard_*()
function was added,set_cli_abort_call()
has been set.ard_*()
function was added and it depends on another package (such as,broom
),is_pkg_installed("broom", reference_pkg = "cardx")
has been set in the function call and the following added to the roxygen comments:@examplesIf do.call(asNamespace("cardx")$is_pkg_installed, list(pkg = "broom"", reference_pkg = "cardx"))
devtools::test_coverage()
Reviewer Checklist (if item does not apply, mark is as complete)
devtools::test_coverage()
When the branch is ready to be merged:
NEWS.md
with the changes from this pull request under the heading "# cardx (development version)
". If there is an issue associated with the pull request, reference it in parentheses at the end update (seeNEWS.md
for examples).