I was recently contacted because my Bioconductor package openPrimeR was failing the automated package tests. The reason for this is that the Bioconductor team had decided to set a new environment variable when testing the packages, which is called _R_CHECK_LENGTH_1LOGIC2. I then looked into this environment variable a bit more and found that there is also _R_CHECK_LENGTH_1CONDITION. Because I really like the idea behind these environment variables, I’d like to share what you can do with …