kableExtra icon indicating copy to clipboard operation
kableExtra copied to clipboard

Calling && or || with either argument of length greater than one

Open bryanhanson opened this issue 4 years ago • 0 comments

Prof. Ripley has written a number of package maintainers about an upcoming change at CRAN:

Calling && or || with either argument of length greater than one now gives a warning (which it is intended will become an error).

The affected packages are listed here. It turns out that kableExtra is the actual offender in a number of cases. The details can be seen here.

Looking at the master branch I see

kableExtra/R(master)> grep "&&" * | wc -l
      25
kableExtra/R(master)> grep "||" * | wc -l
      15

so it looks like a fair amount of code inspection will be needed to determine which lines are the ones that violate the new standard.

bryanhanson avatar Mar 22 '22 02:03 bryanhanson