Learn R Programming

metaseqR (version 1.12.2)

check.file.args: File argument validator

Description

Checks if a file exists for specific arguments requiring a file input. Internal use only.

Usage

check.file.args(arg.name, arg.value)

Arguments

arg.name
argument name to display in a possible error.
arg.value
the filename to check.

Examples

Run this code
# OK
check.file.args("file",system.file("metaseqr_report.html",
    package="metaseqR"))
## Error!
#check.file.args("file",system.file("metaseqr_report.htm",
#    package="metaseqR"))

Run the code above in your browser using DataLab