Skip to content

Fix !all.equal usage to check isTRUE() instead#1408

Open
MichaelChirico wants to merge 1 commit intotopepo:masterfrom
MichaelChirico:all-equal
Open

Fix !all.equal usage to check isTRUE() instead#1408
MichaelChirico wants to merge 1 commit intotopepo:masterfrom
MichaelChirico:all-equal

Conversation

@MichaelChirico
Copy link
Copy Markdown
Contributor

As surfaced by the new lintr::all_equal_linter().

all.equal() returns either TRUE or a character vector -- checking ! will fail in the latter case.

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.

1 participant