r-lib / svglite

A lightweight svg graphics device for R
https://svglite.r-lib.org
180 stars 39 forks source link

Prefer .empty() to nominally equivalent .size() checks #148

Closed MichaelChirico closed 2 years ago

MichaelChirico commented 2 years ago

https://clang.llvm.org/extra/clang-tidy/checks/readability-container-size-empty.html

thomasp85 commented 2 years ago

🙏