test_file_exist_read {IPDFileCheck}R Documentation

Function to throw error on invalid directory or file and if not readable

Description

Function to throw error on invalid directory or file and if not readable

Usage

test_file_exist_read(filename)

Arguments

filename

name of a file or dir

Value

0, if success error, if failure

Examples

test_file_exist_read(system.file("extdata", "blank.txt",
  package = "IPDFileCheck"
))

[Package IPDFileCheck version 0.8.1 Index]