Skip to content

Commit 14ef8ff

Browse files
committed
Namespace qualification for capture.output
1 parent 451c633 commit 14ef8ff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

R/categorize_prism.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ get_prism_cutpoints <- function(
128128
if (nrow(no_cutpoints) > 0) {
129129
rlang::abort(
130130
message = "At least one requested set of cutpoints not found in dataset for any as-of date",
131-
body = c("Cutpoints not found:", capture.output(no_cutpoints))
131+
body = c("Cutpoints not found:", utils::capture.output(no_cutpoints))
132132
)
133133
}
134134

@@ -146,7 +146,7 @@ get_prism_cutpoints <- function(
146146
)
147147
rlang::abort(
148148
message = "At least one requested set of cutpoints does not have a vintage matching the target as-of date.",
149-
body = c("Cutpoints missing a vintage:", capture.output(no_vintage))
149+
body = c("Cutpoints missing a vintage:", utils::capture.output(no_vintage))
150150
)
151151
}
152152

0 commit comments

Comments
 (0)