View source: R/connection_helpers.R
| connection_check_leaks | R Documentation |
Scans the global environment and parent frames for open database connections. Useful for debugging connection leaks in interactive sessions or long-running scripts.
connection_check_leaks(warn = TRUE)
warn |
Logical. If TRUE (default), emits a warning if leaked connections found |
A data frame with information about open connections:
object_name: Name of the variable holding the connection
class: Connection class (e.g., "PqConnection", "SQLiteConnection")
valid: Whether connection is still valid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.