Prints a nested list in a way that looks nice
.printNestedList(lst, level = 0)
lst | list object to print |
---|---|
level | the indentation level |
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)#>#> Warning: incomplete final line found on '/private/var/folders/3f/0wj7rs2144l9zsgxd3jn5nxc0000gn/T/RtmpEYsaEm/temp_libpath43b174cbd72/pepr/extdata/example_peps-master/example_basic/project_config.yaml'#> pep_version: 2.0.0 #> sample_table: #> /private/var/folders/3f/0wj7rs2144l9zsgxd3jn5nxc0000gn/T/RtmpEYsaEm/temp_libpath43b174cbd72/pepr/extdata/example_peps-master/example_basic/sample_table.csv #> name: example_basic