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

View source: R/basic_checks.R

test_file_exist_readR Documentation

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

Description

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

Usage

test_file_exist_read(filename)

Arguments

filename

name of a file or directory

Value

0 if success, non zero negative values if failure

Examples

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

sheejamk/valueEQ5D documentation built on Oct. 8, 2022, 7:46 a.m.