check_saving: Check saving input

View source: R/check.R

check_savingR Documentation

Check saving input

Description

A member of the adjusting-check_*()-family. Takes a folder directory and assembles the final output directory including the specified filename.

Returns the final directory if it is valid or raises an error if not or NULL if output_path is set to NULL.

Usage

check_saving(output_path, file_name)

Arguments

output_path

Character vector or NULL. Specifies the folder in which to store the object if the directory is valid. If set to NULL saving is skipped.

file_name

Character value. The name-suffix for the file name under which the spata-object is stored if output_path is a valid directory. Is prefixed with 'spata-obj-' and suffixed with '.RDS'.


kueckelj/SPATA2 documentation built on March 16, 2024, 10:25 a.m.