format_path

0th

Percentile

Format a path

Normalize and validate a path (optionally, within a certain directory).

Keywords
internal
Usage
format_path(path, dir = NULL, mode = NA)
Arguments
path

The path to normalize.

dir

(Optional) the directory to append to the beginning of the path. NULL (default) to not append any directory, leaving path unchanged.

mode

The mode for file.access to verify existence, writing permission, or reading permission. Use NA (default) to not perform any is.

Value

The normalized path, or NULL if the path was NULL.

Aliases
  • format_path
Documentation reproduced from package ciftiTools, version 0.1.6.0, License: GPL-3

Community examples

Looks like there are no examples yet.