file_path: Extends the file.path function to avoid doubled trailing...

View source: R/paths.R

file_pathR Documentation

Extends the file.path function to avoid doubled trailing slashes unless preceded by colon (for protocol such as http://)

Description

Extends the file.path function to avoid doubled trailing slashes unless preceded by colon (for protocol such as http://)

Usage

file_path(...)

Arguments

...

character vectors passed to file.path after cleaning

Examples

file_path("dir1/dir2//", "dir3", "file.ext")


fcocquemas/hfty.helpers documentation built on Feb. 13, 2023, 7:25 a.m.