Function that checks that the save folder exists and for a valid file name
vaeac_check_save_names(folder_to_save_model, model_description)The function does not return anything.
String (default is base::tempdir()). String specifying a path to a folder where
the function is to save the fitted vaeac model. Note that the path will be removed from the returned
explain() object if vaeac.save_model = FALSE.
String (default is make.names(Sys.time())). String containing, e.g., the name of the
data distribution or additional parameter information. Used in the save name of the fitted model. If not provided,
then a name will be generated based on base::Sys.time() to ensure a unique name. We use base::make.names() to
ensure a valid file name for all operating systems.
Lars Henry Berge Olsen