filenamer
provides a S3 class to represent file names, which is
inter-convertible with character
.
Users either construct a filename
object with the filename
constructor or convert an existing file name from character
to
filename
using as.filename
.
Then, users can manage the tags and extensions of the filename
object with
insert
.
The functions set_fpath
, set_fext
,
set_fdate
, and set_ftime
can be used
on both character
or filename
to modify file names.
Use tag
to quickly add or replace a tag on a file name (as a
character
or filename
and coerce into a character
.
Useful links: