sanitize_path: Sanitiziation of Filename.

View source: R/IO.R

sanitize_pathR Documentation

Sanitiziation of Filename.

Description

Ensures that a filename is valid for the file system.

Usage

sanitize_path(path, suffix = "", sub.char = "_")

Arguments

path

The path to the file to be sanitized, without file extension.

suffix

The suffix (e.g. ".png") of a file.

sub_char

The character used to replacing disallowed chars.

Value

The sanitized filename


matdoering/openPrimeR documentation built on July 4, 2025, 3:59 a.m.