powered by
FileProvider
file_provider_locales
(character) the locale to use. Run file_provider_locales() for locales supported (default: en_US)
file_provider_locales()
An object of class character of length 1.
character
Methods
mime_type(category) - mime type
mime_type(category)
file_name(category(NULL, extension) - file name
file_name(category(NULL, extension)
file_extension(category) - file extension
file_extension(category)
file_path(depth(1, category(NULL, extension) - file path
file_path(depth(1, category(NULL, extension)
# NOT RUN { (x <- FileProvider$new()) x$locale x$mime_type() x$file_extension() x$file_name() x$file_path() x$file_path(depth = 2) x$file_path(depth = 3) x$file_path(depth = 6) # }
Run the code above in your browser using DataLab