covr functions set the environment variable R_COVR to "true" while they
are running. in_covr() returns TRUE if the environment variable is
exactly "true" and FALSE otherwise, e.g. to skip tests that don't work
while measuring coverage.
Examples
testthat::skip_if(in_covr())
