print.kflow_meta: Prints kflow_meta objects

Description Usage Arguments Examples

View source: R/kf_init_metrics.R

Description

Extends print to work with kflow_meta objects

Usage

1
2
## S3 method for class 'kflow_meta'
print(x, preview = TRUE, pretty = TRUE, ...)

Arguments

x

kflow_meta object. Likely from kf_init_metrics().

preview

Boolean to indicate whether JSON should be printed. Set to FALSE to inspect underlying list structure.

pretty

Boolean to indicate whether to pretty print or not.

...

Other arguments passed on.

Examples

1
2
3
4
5
6
# By default it displays the eventual JSON
test_mets <- kf_init_metrics()
test_mets

# Use print() to see in list form
print(test_mets, preview = FALSE)

ndiquattro/kflow documentation built on Jan. 27, 2020, 4:19 p.m.