Skip to content

Commit 7071b8a

Browse files
dfalbelclaude
andcommitted
Add connections to allowed packages for ark methods table
Allow the `connections` package to register methods with the ark methods table, enabling it to provide custom variable display and view handling. Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 6ce468a commit 7071b8a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

crates/ark/src/modules/positron/methods.R

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,12 @@ ark_methods_table$ark_positron_variable_view <- new.env(
104104

105105
lockEnvironment(ark_methods_table, TRUE)
106106

107-
ark_methods_allowed_packages <- c("torch", "reticulate", "duckplyr")
107+
ark_methods_allowed_packages <- c(
108+
"torch",
109+
"reticulate",
110+
"duckplyr",
111+
"connections"
112+
)
108113

109114
# check if the calling package is allowed to touch the methods table
110115
check_caller_allowed <- function() {

0 commit comments

Comments
 (0)