Learn R Programming

IPDFileCheck (version 0.8.1)

test_file_exist_read: 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)

Value

0, if success error, if failure

Arguments

filename

name of a file or dir

Examples

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

Run the code above in your browser using DataLab