Creates a dated text file (.txt) containing the contents of
sessioninfo::session_info()
.
save_session_info(path_dir = here::here("progs", "session_info"))
The full path of the directory where the session information
text file shall be written. If it doesn't exist, it is written with
fs::dir_create()
.
A list of two:
$ time :
the value of Sys.time()
that the
function used
$ session_info() :
the value of
sessioninfo::session_info()
that the function
used
The date and time when this function was run is included in the resulting
.txt file's name and first line. This date and time is obtained from
Sys.time()
.
For the file name, hyphens (-) are removed from the date, spaces are replaced with underscores (_), and colons (:) are replaced with a modifier letter colon (U+A789).