Learn R Programming

spartan (version 3.0.2)

check_consistency_result_type: Check that the user has declared either a file name or an R object

Description

Check that the user has declared either a file name or an R object

Usage

check_consistency_result_type(arguments, fileArg, rObjArg)

Arguments

arguments

List of the arguments provided to the called function

fileArg

Name of the argument for which a file should be specified

rObjArg

Name of the argument for which an R object should be specified

Value

Boolean stating the current status of the pre-execution checks, or FALSE if this check fails