log_dir: Set/Get Logging Directory

View source: R/log.R

log_dirR Documentation

Set/Get Logging Directory

Description

log_dir() gets and sets the .log_dir option and the coviData_log_dir environment variable. The latter can be set persistently on Windows using persistent = TRUE.

Usage

log_dir(dir, persistent = FALSE)

Arguments

dir

The path to the log directory. If missing, log_dir returns the current value of .log_dir

persistent

Should the coviData_log_dir environment variable persist after ending the current R session?

Value

The current logging directory if dir is missing, or a named list of the old logging directory if used to change the logging directory


jesse-smith/coviData documentation built on Jan. 14, 2023, 11:08 a.m.