Skip to content

Commit

Permalink
Don't pass the package name
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Sep 17, 2023
1 parent 163c3f2 commit f08af47
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 @@ -100,7 +100,7 @@ test_coverage <- function(pkg = ".", show_report = interactive(), ...) {
check_dots_used(action = getOption("devtools.ellipsis_action", rlang::warn))

withr::local_envvar(r_env_vars())
testthat::local_test_directory(pkg$path, pkg$package)
testthat::local_test_directory(pkg$path)
coverage <- covr::package_coverage(pkg$path, ...)

if (isTRUE(show_report)) {
Expand Down

0 comments on commit f08af47

Please sign in to comment.