Returns TRUE if a restez SQL database is available, connected and has data. Use restez_status() for more information.

restez_ready()

Value

Logical

See also

Examples

library(restez) fp <- tempdir() restez_path_set(filepath = fp) demo_db_create(n = 5) restez_connect()
#> Remember to run `restez_disconnect()`
(restez_ready())
#> [1] TRUE
restez_disconnect() db_delete(everything = TRUE) (restez_ready())
#> [1] FALSE