Learn R Programming

valueEQ5D (version 0.6.1)

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

Run this code
# NOT RUN {
test_file_exist_read(system.file("extdata", "blank.txt", 
package = "valueEQ5D"))
# }

Run the code above in your browser using DataLab