Learn R Programming

pepr (version 0.3.2)

.printNestedList: Print a nested list

Description

Prints a nested list in a way that looks nice

Usage

.printNestedList(lst, level = 0)

Arguments

lst

list object to print

level

the indentation level

Details

Useful for displaying the config of a PEP

Examples

Run this code
# NOT RUN {
projectConfig = system.file("extdata",
"example_peps-master",
"example_basic",
"project_config.yaml",
package = "pepr")
p = Project(file = projectConfig)
.printNestedList(config(p),level=2)
# }

Run the code above in your browser using DataLab