file_path: Generate clean file paths

View source: R/utils.R

file_pathR Documentation

Generate clean file paths

Description

Wrapper around 'file.path' that cleans trailing forward slash and missing 'dir'.

Usage

file_path(dir, file)

Arguments

dir

A string or vector of strings containing the directory path.

file

A file name or vector containing the file names.

Value

A string or vector of string of the full file path.


guiastrennec/xpose documentation built on Feb. 16, 2024, 8:14 p.m.