Thin wrappers around saveRDS / readRDS that also
verify the deserialised object's shape. The on-disk file carries
the soilKey version, training time and preprocess label as
attributes; load_ossl_models preserves them.
Arguments
- models
Output of
train_pls_from_ossl.- path
File path. Use
.rdsor.RDataas the suffix (saveRDS is used regardless).
