Skip to contents

Returns TRUE if a redis config file (redux::redis_config) has been set by rush_plan().

Usage

rush_available()

Value

logical(1)

Examples

# This example is not executed since Redis must be installed
# \donttest{
  config_local = redux::redis_config()
  rush_plan(config = config_local, n_workers = 2)
#> Error in rush_plan(config = config_local, n_workers = 2): Can't connect to Redis. Check the configuration.
  rush_available()
#> [1] FALSE
# }