test_file_exist_read: Function to throw error on invalid directory or file and if...

View source: R/IPDFilecheck.R

test_file_exist_readR 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"
))

sheejamk/ipdfilecheck documentation built on March 10, 2024, 11:23 p.m.