component_from_function: component_from_function

Description Usage Arguments Details Author(s)

View source: R/components.R

Description

this function builds a Kubeflow Pipelines component from an R function. Note that any packages required by the function, should be added into the

Usage

1
component_from_function(func, base_image, component_output_file = NULL)

Arguments

func

an R function

base_image

a base image to use for the component

component_output_file

an optional argument to save the component to a YAML file

Details

Components are built up of inputs and outputs which are used as argumens to an implementation of a container.

Author(s)

Joe Peskett


joepeskett/kf-tools documentation built on May 27, 2020, 7:43 a.m.