We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In almost any environment (e.g. rocker/tidyverse container), direct call of package_coverage ignores .covignore, while calling via withr does not:
package_coverage
.covignore
withr
cd /home/ git clone https://github.com/HaoZeke/fastMatMR # A repo with a `.covrignore` file R > path <- "/home/fastMatMR" > c1 <- covr::package_coverage() > c2 <- withr::with_dir(path, covr::package_coverage())
Result: c1 ignores .covrignore, and gives low coverage, while c2 respects it and gives much higher.
.covrignore
The text was updated successfully, but these errors were encountered:
This happens because these lines presume call is made in root directory:
covr/R/exclusions.R
Lines 210 to 213 in caed186
file
Sorry, something went wrong.
fix r-lib#538
2d22de2
915d1d8
No branches or pull requests
In almost any environment (e.g. rocker/tidyverse container), direct call of
package_coverage
ignores.covignore
, while calling viawithr
does not:Result: c1 ignores
.covrignore
, and gives low coverage, while c2 respects it and gives much higher.The text was updated successfully, but these errors were encountered: