Takes a config list produced by `otp_make_config()` and saves it as json file for OTP

otp_write_config(config, dir = NULL, router = "default")

Arguments

config

A named list made/modified from `otp_make_config()`

dir

Path to folder where data for OTP is to be stored

router

name of the router, default is "default", must be a subfolder of dir/graphs

See also

Examples

if (FALSE) { conf <- otp_make_config("build") otp_write_config(conf, dir = tempdir()) }