create_file_path_call: Create File Path Call

Description Usage Arguments Details Value Examples

View source: R/create_file_path_call.R

Description

The function returns file.path function wrapping passed file path string.

Usage

1
2
3
create_file_path_call(path_string, path_sep = .Platform$file.sep,
  path_expand = FALSE, here = FALSE, mustWork = TRUE,
  normalize = TRUE)

Arguments

path_string

Path string.

path_sep

Path separator, defults to .Platform$file.sep.

path_expand

Whether to replace ~ with path.expand("~").

here

A logical, defaults to FALSE whether to use the function here

mustWork

As per mustWork in normalizePath

normalize

A logical, defaults to TRUE whether to wrap in normalizePath.

Details

The function is a key element of the formatPathAddIn and produces file.path call.

Value

A file.path call.

Examples

1

konradedgar/reformatFilePath documentation built on Aug. 13, 2019, 3:11 p.m.