poissonconsulting / chk

An R package for developers to check user-supplied function arguments
https://poissonconsulting.github.io/chk/
Other
48 stars 4 forks source link

adding function to check lengths can be combined into each other without recycling (except length 1) #116

Closed aylapear closed 1 year ago

aylapear commented 1 year ago
aylapear commented 1 year ago

Wait to see if/which version of R fail with the lengths() function before working out best fix

aylapear commented 1 year ago

The lengths() function has been around long enough that none of our checks on older versions failed so no need to change or to use backports to fix version issues.

joethorley commented 1 year ago

I've made some tweaks - @aylapear can you review them?