Skip to contents

Returns a character vector with an file name having the date prepended.

Usage

getDatedFilename(filename)

Arguments

filename

character vector with name to use in file name

Value

A character string with a file name prepended with the date and time in YYYY-MM-DD_hh_mm_ss_basename format.

Examples

library(nprcgenekeepr)
getDatedFilename("testName")
#> [1] "2025-07-26_02_48_28.957703_testName"