test_pkg_dir function

Test Location is Package Directory

Test Location is Package Directory

Test whether the working directory is located at the top level directory of the package.

test_pkg_dir(pkg)

Arguments

  • pkg: 'character' string. Package name.

Returns

Formatted file size(s).

Examples

test_pkg_dir("inldata")

Author(s)

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