This function validates the filepath and output_dir arguments.
validate_filepath_and_output_dir(
filename,
output_dir,
plate_name,
suffix,
extension,
verbose = TRUE
)
An absolute output path.
(character(1)
) The path to the file.
(character(1)
) The directory where the file should be saved.
(character(1)
) The name of the plate.
(character(1)
) The suffix to be added to the filename if it is not provided, e.g. RAU
.
(character(1)
) The extension to be added to the filename if it does not have one.
Passed without a dot, e.g. csv
.
(logical(1)
) A logical value indicating whether the function should print additional information.