rush_assertions | R Documentation |
Most assertion functions ensure the right class attribute, and optionally additional properties. If an assertion fails, an exception is raised. Otherwise, the input object is returned invisibly.
assert_rush(rush, null_ok = FALSE)
assert_rushs(rushs, null_ok = FALSE)
assert_rush_worker(worker, null_ok = FALSE)
assert_rush_workers(workers, null_ok = FALSE)
rush |
(Rush). |
null_ok |
( |
rushs |
(list of Rush). |
worker |
(RushWorker). |
workers |
(list of RushWorker). |
Exception if the assertion fails, otherwise the input object invisibly.
# This example is not executed since Redis must be installed
config_local = redux::redis_config()
rush = rsh(network_id = "test_network", config = config_local)
assert_rush(rush)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.