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.


xpose documentation built on May 29, 2024, 5:12 a.m.