check_formalArgs: Checks conflicts in function arguments.

check_formalArgsR Documentation

Checks conflicts in function arguments.

Description

Conflicts between wrapper and function to be wrapped. Note that f contains function name but not package name.

Usage

check_formalArgs(w = anal_prnTrend, f = cmeans, excludes = NULL)

Arguments

w

Expression; the wrapper function.

f

Expression; the function to be wrapped.

excludes

Character string; arguments from f to be excluded for checking.

Details

if 'method' in the formalArgs and "m" in the "..." of 'foo', foo(m = 2) without 'method' interpreted as 'method'. Call foo(method = kmeans, m =2) to avoid such ambiguity.


qzhang503/proteoQ documentation built on Dec. 14, 2024, 12:27 p.m.