-
Notifications
You must be signed in to change notification settings - Fork 9
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 #175 Adds assertions to exported functions #190
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #190 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 13 13
Lines 576 613 +37
=========================================
+ Hits 576 613 +37 ☔ View full report in Codecov by Sentry. |
bdc927f
to
531f706
Compare
It can be reviewed though as it does not depend on any functionality from #193 |
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.
Could we get a brief blurb in the news about using the checkmate package now in our code. I know it isn't really user-facing, but I think this points to us being more rigorous in our code.
Hi @averissimo when you get a chance - can you look into these merge conflicts. |
@bms63 Merged and ready for review 😁 Notable topic for discussion:
|
Looking over PR this makes sense to me now. Perhaps we should explain this a bit more in the argument. A lot of R users are not so familiar with the |
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 looks great to me! Thanks for sticking with it @averissimo!! @elimillera or @vedhav anything else to add?? The NULL
removal is a big change to our documentation and I think warrants an explanation. I think we should do the documentation in a separate issue/PR as this one is a big update already if you all do not object.
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.
Thanks for contributing, I bet this will make errors clearer! I'm good with merging once we sort out the default parameter values
@averissimo is it possible to revert the arguments back to NULL and sort this out in another issue/PR. I think this impacts some of the stuff @EeethB is working on |
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.
LGTM!
{checkmate}
dependency for function argument checks #175Changes Description
checkmate
NULL
Technical list
checkmate::test_*
for consistent testsTask List
devel
branch, Pull Requests tomain
should use the Release Pull Request Templatestyler
package and functions to style files accordingly.devtools::document()
so all.Rd
files in theman
folder and theNAMESPACE
file in the project root are updated appropriatelypkgdown::build_site()
and check that all affected examples are displayed correctly and that all new/updated functions occur on the "Reference" page.