Generic function to test connections to various data sources. Dispatches to source-specific testing methods.
Examples
if (FALSE) { # \dontrun{
conn <- redcap_connection(url = "https://example/api/", token = "TOKEN")
ok <- test_connection(conn)
} # }
