is_path {fritools2}R Documentation

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: clipboard_path(), delete_trailing_blank_lines(), delete_trailing_whitespace(), develop_test(), file_copy(), file_modified_last(), file_save(), find_files(), get_lines_between_tags(), get_mtime(), get_unique_string(), grep_file(), is_files_current(), paths, search_files(), split_code_file(), touch()

Examples

is_path(tempdir())
path <- tempfile()
is_path(path)
touch(path)
is_path(path)

[Package fritools2 version 4.1.0 Index]