init_log_dir: Initialize log directory

View source: R/server.R

init_log_dirR Documentation

Initialize log directory

Description

This function initializes the log directory for the session. It creates a new directory if it does not exist.

Usage

init_log_dir(SE)

Arguments

SE

A list containing session information.

Value

Updates the logdir element in the SE list with the path to the log directory.

Examples

SE <- as.environment(list(session = list(token = "asdf")))
init_log_dir(SE)
dir.exists(SE$logdir)

FastRet documentation built on June 25, 2024, 5:07 p.m.