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] "C:\\Users\\phuon\\Code\\daiquiri\\docs\\reference\\daiquiri_20251027_123752.log"