R/save_session_info_to_file.R

Defines functions save_session_info_to_file

Documented in save_session_info_to_file

#' Save session info to a file
#'
#' Stores session info in a .txt file.
#'
#' @param path The directory path where the session info file will be saved.
#'
#' @return A .txt file containing session info, saved at the specified path.
#' @export
save_session_info_to_file <- function(path) {
  writeLines(utils::capture.output(utils::sessionInfo()), paste(path, "sessionInfo.txt", sep = ""))
}

Try the vvmover package in your browser

Any scripts or data that you put into this service are public.

vvmover documentation built on June 22, 2024, 10:46 a.m.