Prints a nested list in a way that looks nice

.printNestedList(lst, level = 0)

Arguments

lst

list object to print

level

the indentation level

Details

Useful for displaying the config of a PEP

Examples

projectConfig = system.file("extdata", "example_peps-master", "example_basic", "project_config.yaml", package = "pepr") p = Project(file = projectConfig)
#> Loading config file: /Users/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: #> /Users/runner/work/_temp/Library/pepr/extdata/example_peps-master/example_basic/sample_table.csv #> name: example_basic