dirs: Path functions for commonly used directories

dirsR Documentation

Path functions for commonly used directories

Description

Path functions for commonly used directories

Usage

dirs\$data()

Arguments

...

(chr) directory paths

mkpath

lgl Whether to return a path regardless of whether the file/dir exists or not

ext

(chr) file extension

mustWork

lgl If TRUE, an error is given if there are no matching files.

Format

An object of class list of length 14.

See Also

Other file IO: col_types(), dep_read(), dep_write(), dir_fn(), ext(), file_fn(), is_filepath(), last_updated(), list.files2(), load_obj(), make_names(), mkpath(), move_files_to_folder(), needs_update(), object_fn(), object_write(), package_size(), write_dir_fn(), write_lines()

Examples

dirs$data("mydata", ext = "csv", mkpath = TRUE)

yogat3ch/UU documentation built on May 31, 2024, 10:14 p.m.