From d2ccbf4c189d87e8f4f08c8330faa4bfb7394a19 Mon Sep 17 00:00:00 2001 From: bburns632 Date: Tue, 23 Apr 2024 12:00:21 -0500 Subject: [PATCH] revised again --- R/FunctionReporter.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/FunctionReporter.R b/R/FunctionReporter.R index 3687ba2..b5be692 100644 --- a/R/FunctionReporter.R +++ b/R/FunctionReporter.R @@ -166,7 +166,7 @@ FunctionReporter <- R6::R6Class( # workaround for covr conflict with loaded packages on windows if(.Platform$OS.type == "unix") { - loadNamespace(paste0('package:',self$pkg_name)) + attachNamespace(self$pkg_name) } pkgCovDT <- pkgCovDT[, .(coveredLines = sum(value > 0)