get_safe_workspace_name {phdcocktail}R 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()
}



[Package phdcocktail version 0.1.0 Index]