kf_write_output: Write output to a provided outputPath

Description Usage Arguments Details Value Examples

View source: R/kf_write_output.R

Description

Writes content to a Kubeflow provided path for output.

Usage

1
kf_write_output(contents, outfile)

Arguments

contents

R object to save.

outfile

File provided by Kubeflow

Details

Defaults to readr::write_file(), but uses jsonlite::write_json() or readr::write_csv() for appropriate classes.

Value

outfile

Examples

1
2
3
predictions_table_name <- "model_predictions"
mock_path <- tempfile()
kf_write_output(predictions_table_name, mock_path)

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