mark_fitted: Enhanced fitted state tracking
Description
Adds a fitted flag to preprocessing objects to track their state.
This is used by the new API to ensure proper workflow.
Usage
mark_fitted(object, fitted = TRUE)
Value
The object with fitted state marked
Arguments
- object
A preprocessing object
- fitted
Logical indicating fitted state