Description Usage Arguments Value
View source: R/generic_connection.R
A setter/builder for generic connections
1 | generic_connection(connection_name, build_connection_fun, test_connection_fun)
|
connection_name |
The name at which to store the connection in .package_env |
build_connection_fun |
A function with no arguments to build the connection |
test_connection_fun |
A function with the connection object (as stored as an argument to test the connection). Must return TRUE if the connection is valid and FALSE if it is invalid. If it is invalid, the connection will be rebuilt. |
The connection object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.