get_safe_workspace_name: Get a safe name to save current workspace without overwriting

View source: R/get_safe_workspace_name.R

get_safe_workspace_nameR Documentation

Get a safe name to save current workspace without overwriting

Description

Get a safe name to save current workspace without overwriting

Usage

get_safe_workspace_name(name = "analysis", time_in_name = TRUE)

Arguments

name

A desired name for the saved workspace. If no name is provided, the name will be 'analysis'.

time_in_name

A logical to indicate whether a timestamp should be included in the workspace's name.

Value

A safe name for exporting the workspace, as a "character string", and also indicated in a message.

Examples


if (FALSE) {
  library(phdcocktail)
  get_safe_workspace_name()
}



phdcocktail documentation built on May 29, 2024, 7:12 a.m.