check.file.args: File argument validator

Description Usage Arguments Author(s) Examples

Description

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

Usage

1
    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

1
2
3
4
5
6
# OK
check.file.args("file",system.file("metaseqr_report.html",
    package="metaseqR"))
## Error!
#check.file.args("file",system.file("metaseqr_report.htm",
#    package="metaseqR"))

pmoulos/metaseqR documentation built on May 9, 2019, 12:58 a.m.