Construct a path
mkpath.Rd
Given a path, construct it if it does not exist.
Arguments
- path
(character)
path- mkfile
(logical)
whether to make the file if it doesn't exist. IFTRUE
and the path has an extension, both the directory and the file will be created- mkdir
(logical)
whether to make the directory if it doesn't exist. IfTRUE
, and thepath
does not have an extension, path will be created as a directory path.
See also
Other file IO:
col_types()
,
dep_read()
,
dep_write()
,
dir_fn()
,
dirs
,
ext()
,
file_fn()
,
is_filepath()
,
last_updated()
,
list.files2()
,
load_obj()
,
make_names()
,
move_files_to_folder()
,
needs_update()
,
object_fn()
,
object_write()
,
package_size()
,
write_dir_fn()
,
write_lines()