Learn R Programming

fritools (version 3.3.0)

is_path: Check Whether an Object Contains a Valid File System Path

Description

Check Whether an Object Contains a Valid File System Path

Usage

is_path(x)

Arguments

x

The object.

Value

TRUE on success, FALSE otherwise.

See Also

Other file utilities: file_copy(), file_modified_last(), file_save(), find_files(), get_mtime(), get_unique_string(), is_files_current(), paths, search_files(), split_code_file(), touch()

Examples

Run this code
# NOT RUN {
is_path(tempdir())
path <- tempfile()
is_path(path)
touch(path)
is_path(path)
# }

Run the code above in your browser using DataLab