assertive.files: Assertions to Check Properties of Files

A set of predicates and assertions for checking the properties of files and connections. This is mainly for use by other package developers who want to include run-time testing features in their own packages. End-users will usually want to use assertive directly.

Install the latest version of this package by entering the following in R:
AuthorRichard Cotton [aut, cre]
Date of publication2016-05-10 10:30:32
MaintainerRichard Cotton <>
LicenseGPL (>= 3)

View on CRAN


as.character.file Man page
assert_all_are_dirs Man page
assert_all_are_empty_files Man page
assert_all_are_executable_files Man page
assert_all_are_existing_files Man page
assert_all_are_libraries Man page
assert_all_are_non_empty_files Man page
assert_all_are_readable_files Man page
assert_all_are_writable_files Man page
assert_all_file_sizes_are_in_range Man page
assert_any_are_dirs Man page
assert_any_are_empty_files Man page
assert_any_are_executable_files Man page
assert_any_are_existing_files Man page
assert_any_are_libraries Man page
assert_any_are_non_empty_files Man page
assert_any_are_readable_files Man page
assert_any_are_writable_files Man page
assert_any_file_sizes_are_in_range Man page
assert_is_bzfile_connection Man page
assert_is_connection Man page
assert_is_fifo_connection Man page
assert_is_file_connection Man page
assert_is_gzfile_connection Man page
assert_is_incomplete_connection Man page
assert_is_open_connection Man page
assert_is_pipe_connection Man page
assert_is_readable_connection Man page
assert_is_socket_connection Man page
assert_is_stderr Man page
assert_is_stdin Man page
assert_is_stdout Man page
assert_is_terminal_connection Man page
assert_is_text_connection Man page
assert_is_unz_connection Man page
assert_is_url_connection Man page
assert_is_writable_connection Man page
assert_is_xzfile_connection Man page
is_bzfile_connection Man page
is_connection Man page
is_dir Man page
is_empty_file Man page
is_executable_file Man page
is_ex_file Man page
is_existing_file Man page
is_fifo_connection Man page
is_file_connection Man page
is_file_size_in_range Man page
is_gzfile_connection Man page
is_incomplete_connection Man page
is_library Man page
is_non_empty_file Man page
is_open_connection Man page
is_pipe_connection Man page
is_readable_connection Man page
is_readable_file Man page
is_socket_connection Man page
is_stderr Man page
is_stdin Man page
is_stdout Man page
is_terminal_connection Man page
is_text_connection Man page
is_unz_connection Man page
is_url_connection Man page
is_writable_connection Man page
is_writable_file Man page
is_xzfile_connection Man page

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.