clean_export_path: Clean directory paths for export

View source: R/directory_management.R

clean_export_pathR Documentation

Clean directory paths for export

Description

Sanitizes directory paths for file export operations. This function ensures that export paths are valid, accessible, and secure before files are written. It handles path normalization and security checks for export operations.

Usage

clean_export_path(dir_path, create = FALSE)

Arguments

dir_path

Character string containing the directory path to clean

create

Logical indicating whether to create the directory if it doesn't exist

Value

Cleaned and validated directory path


textAnnotatoR documentation built on April 3, 2025, 7:35 p.m.