Prints a nested list in a way that looks nice
.printNestedList(lst, level = 0)
list object to print
the indentation level
No return value, called for side effects
Useful for displaying the config of a PEP
projectConfig = system.file("extdata",
"example_peps-master",
"example_basic",
"project_config.yaml",
package = "pepr")
p = Project(file = projectConfig)
#> Loading config file: /home/runner/work/_temp/Library/pepr/extdata/example_peps-master/example_basic/project_config.yaml
.printNestedList(config(p),level=2)
#> pep_version: 2.0.0
#> sample_table:
#> /home/runner/work/_temp/Library/pepr/extdata/example_peps-master/example_basic/sample_table.csv
#> name: example_basic