Skip to content

Flip any(!x) to !all(x) and all(!x) to !any(x)#5017

Merged
mattdowle merged 3 commits intomasterfrom
single-negation
May 21, 2021
Merged

Flip any(!x) to !all(x) and all(!x) to !any(x)#5017
mattdowle merged 3 commits intomasterfrom
single-negation

Conversation

@MichaelChirico
Copy link
Copy Markdown
Member

Better to negate only once. Also added to #4278

@codecov
Copy link
Copy Markdown

codecov bot commented May 21, 2021

Codecov Report

Merging #5017 (96650ff) into master (f2f0a8b) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #5017   +/-   ##
=======================================
  Coverage   99.47%   99.47%           
=======================================
  Files          75       75           
  Lines       14785    14785           
=======================================
  Hits        14707    14707           
  Misses         78       78           
Impacted Files Coverage Δ
R/as.data.table.R 100.00% <100.00%> (ø)
R/data.table.R 99.94% <100.00%> (ø)
R/xts.R 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f2f0a8b...96650ff. Read the comment docs.

@mattdowle mattdowle added this to the 1.14.1 milestone May 21, 2021
@mattdowle
Copy link
Copy Markdown
Member

mattdowle commented May 21, 2021

This though, is great. Especially that you've added it to linter too.

@mattdowle mattdowle merged commit e6276cc into master May 21, 2021
@mattdowle mattdowle deleted the single-negation branch May 21, 2021 06:58
@jangorecki jangorecki modified the milestones: 1.14.9, 1.15.0 Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants