check.file.args: File argument validator

Description Usage Arguments Author(s) Examples

View source: R/metaseqr.argcheck.R

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"))

metaseqR documentation built on Nov. 8, 2020, 5:57 p.m.