Skip to contents

Choose a directory in which to save the log file. If this is not called, no log file is created.

Usage

initialise_log(log_directory)

Arguments

log_directory

String containing directory to save log file

Value

Character string containing the full path to the newly-created log file

Examples

log_name <- initialise_log(".")

log_name
#> [1] "/tmp/Rtmp85E5Jc/daiquiri/reference/daiquiri_20241201%H5800.log"