chk_sqlite_conn | R Documentation |
chk_sqlite_conn
checks if a SQLite connection.
chk_sqlite_conn(x, connected = NA, x_name = NULL) check_sqlite_connection( x, connected = NA, x_name = substitute(x), error = TRUE )
x |
The object to check. |
connected |
A logical scalar specifying whether x should be connected. |
x_name |
A string of the name of object x or NULL. |
error |
A flag specifying whether to through an error if the check fails. |
NULL
, invisibly. Called for the side effect of throwing an error
if the condition is not met.
check_sqlite_connection()
: Check SQLite Connection
conn <- rws_connect() chk_sqlite_conn(conn) rws_disconnect(conn) try(chk_sqlite_conn(conn, connected = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.