Load an object from an .rds serialized file in a given output_dir, with programmatic naming.
Source: R/utils.R
read_rds_with_suffix.RdLoad an object from an .rds serialized file
in a given output_dir, with programmatic naming.
Arguments
- object_basename
Base name for the object
.rds, before anysuffixor the file extension, as a string.- dir
Directory from which to load the object.
- suffix
Suffix to append to the
object_basenamebefore the file extension. Default""(no suffix).- ext
Extension for the saved file, without the
.. Defaultrds.