get_file_size function

Extract File Size

Extract File Size

Extract size on the user's file system.

get_file_size(paths)

Arguments

  • paths: 'character' vector. File paths.

Returns

Formatted file size(s).

Examples

system.file("CITATION", package = "inldata") |> get_file_size()

Author(s)

J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center