Skip to content

Commit

Permalink
Use file_report to report on just the single file
Browse files Browse the repository at this point in the history
This avoids needing to click through
  • Loading branch information
jimhester committed Aug 22, 2018
1 parent 758278f commit 5e762cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/test.r
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ test_coverage_file <- function(file = find_active_file(), filter = TRUE, show_re
attr(coverage, "package") <- pkg

if (isTRUE(show_report)) {
covr::report(coverage)
covr::file_report(coverage)
}

invisible(coverage)
Expand Down

0 comments on commit 5e762cd

Please sign in to comment.