with.mlflow_run: A 'with' wrapper for MLFlow runs

View source: R/utils.R

with.mlflow_runR Documentation

A with wrapper for MLFlow runs

Description

Adds some error handling on exit

Usage

## S3 method for class 'mlflow_run'
with(data, expr, ...)

Arguments

data

data to use for constructing an environment. For the default with method this may be an environment, a list, a data frame, or an integer as in sys.call. For within, it can be a list or a data frame.

expr

expression to evaluate; particularly for within() often a “compound” expression, i.e., of the form

a <- somefun() b <- otherfun() ..... rm(unused1, temp)

...

Arguments to be passed to future methods

Value

No return value. Called for side effects


collegevine/lightMLFlow documentation built on Jan. 16, 2024, 5:52 a.m.