Skip to content

new allow_named_stopifnot argument for conjunct_test_linter #1072

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

Merged
merged 4 commits into from
Apr 19, 2022

Conversation

MichaelChirico
Copy link
Collaborator

Closes #1011

Decided to allow the named conditions by default -- that's kind of the point of using the named approach to begin with. It can be abused, but I think this is the better default.

I especially had in mind helper functions, where the argument names might not mean anything to the end user, so the test failure length(x) > 1 is not TRUE is not particularly helpful if the user didn't call a function with argument x.

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