powered by
Parse file path into useful components
parse_path(path, chr = "", pdir = getwd(), mess = TRUE)
Path to be parsed
Character to wrap around path for display
Project directory if available
Print messages if Dropbox or Google Drive not found
Parse file path into useful components (i.e., file name, file extension, relative path, etc.)
list.files(".", full.names = TRUE)[1] %>% parse_path()
Run the code above in your browser using DataLab