write_convo: Write convo config file template from stubs list

Description Usage Arguments Value Examples

View source: R/write.R

Description

Write convo config file template from stubs list

Usage

1
write_convo(convo_min, filename = "convo-config.yml", path = ".")

Arguments

convo_min

List of stubs with one element per level containing a character vector of stubs

filename

Desired filename. Defaults to convo-config.yaml

path

Desired filepath. Defaults to current directory

Value

Does not return. Call function for side-effect of writing file.

Examples

1
2
3
4
5
6
7
8
## Not run: 
valid_stubs <- list(letters[1:3], letters[4:5], letters[6:7])
write_convo(valid_stubs)
convo <- read_convo("convo-config.yml")
print(convo)
evaluate_convo(convo, c("a_d", "a_e_g", "c_b", "d"))

## End(Not run)

emilyriederer/convo documentation built on Oct. 5, 2021, 4:08 p.m.