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/ggxpose documentation built on June 8, 2024, 3:22 p.m.