The original check used vectorized conditions with || and inside if. This is potentially problematic and results in errors rather than warnings starting from R version 4.2.0
Fix #156
The updated version now checks, whether all elements are NA or empty. I assume this is also the desired behaviour, as previously a leading semicolon would have caused all attributes to be ignored.
The original check used vectorized conditions with || and inside if. This is potentially problematic and results in errors rather than warnings starting from R version 4.2.0 Fix #156
The updated version now checks, whether all elements are
NA
or empty. I assume this is also the desired behaviour, as previously a leading semicolon would have caused all attributes to be ignored.