Set an entry

emr_entries.set(key, value, db_dir = NULL)

Arguments

key

The key of the entry to set

value

The value of the entry to set. This can be anything that can be serialized to YAML

db_dir

One or more database directories to reload entries from. If NULL - the first database is used.

Value

None

Examples

emr_db.init_examples()
emr_entries.set("entry1", "new value")
emr_entries.get("entry1")
#> [1] "new value"