Skip to contents

Generic function to test connections to various data sources. Dispatches to source-specific testing methods.

Usage

test_connection(connection, ...)

Arguments

connection

A sardine_connection object

...

Additional arguments passed to source-specific methods

Value

Logical. TRUE if connection is successful, FALSE otherwise

Examples

if (FALSE) { # \dontrun{
  conn <- redcap_connection(url = "https://example/api/", token = "TOKEN")
  ok <- test_connection(conn)
} # }