# NOT RUN {
## Read from a file:
path <- example_yaml()
src_yaml(path)
## Read from an (text) object:
model <- "
- name: childModuleA
input: [input.data, reactive]
src: package
- name: childModuleB
input: selected.model
"
src_yaml(text = model)
# }
Run the code above in your browser using DataLab