Learn R Programming

⚠️There's a newer version (0.0-2) of this package.Take me there.

assertive.files (version 0.0-1)

Assertions to Check Properties of Files

Description

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.

Copy Link

Version

Install

install.packages('assertive.files')

Monthly Downloads

83

Version

0.0-1

License

GPL (>= 3)

Maintainer

Richard Cotton

Last Published

October 6th, 2015

Functions in assertive.files (0.0-1)

assert_all_are_executable_files

Is the file accessible?
assert_all_are_existing_files

Does the file exist?
assert_is_bzfile_connection

Is the input a connection?
assert_all_are_empty_files

Is a file too big or small?
assert_all_are_dirs

Is the path a directory? Checks to see if the input path is a directory.
assert_all_are_libraries

Is the directory a known R library?
as.character.file

Convert file connections to strings