check_fitted: Check if preprocessor is fitted and error if not

View source: R/preproc-utils.R

check_fittedR Documentation

Check if preprocessor is fitted and error if not

Description

Internal helper to provide consistent error messages when attempting to transform with unfitted preprocessors.

Usage

check_fitted(object, action = "transform")

Arguments

object

A preprocessing object

action

Character string describing the attempted action


multivarious documentation built on Jan. 22, 2026, 1:06 a.m.