check.file.args {metaseqR}R Documentation

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.

Author(s)

Panagiotis Moulos

Examples

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

[Package metaseqR version 1.30.0 Index]