construct_backup_path: Construct path to backup file.

View source: R/backup.R

construct_backup_pathR Documentation

Construct path to backup file.

Description

Construct path to backup file.

Usage

construct_backup_path(
  file = NULL,
  backup_subdir = "",
  backup_stamp = get_backup_stamp()
)

Arguments

file

(character) The name of file to backup.

backup_subdir

(character) The name of subdirectory in the directory of backups.

backup_stamp

(character) Usually the result of get_backup_stamp().

Value

The string with path to backup file.

Examples

## Not run: \donttest{

construct_backup_path("backup.txt")

}
## End(Not run)

GegznaV/backup.tools documentation built on Aug. 29, 2023, 9:01 p.m.