Skip to content

Commit b1fba36

Browse files
authored
Use utils::capture.output for symbol text
1 parent 8f15e30 commit b1fba36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎R/utils.R‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ source_cpp_native_symbol_is_null <- function(fun) {
807807
if (!inherits(symbol, "NativeSymbol")) {
808808
return(FALSE)
809809
}
810-
symbol_text <- paste(capture.output(print(symbol)), collapse = "")
810+
symbol_text <- paste(utils::capture.output(print(symbol)), collapse = "")
811811
grepl("<pointer: (0x0+|\\(nil\\))>", symbol_text)
812812
}
813813

0 commit comments

Comments
 (0)