service.check_param_number: Check number of parameters and stop function if it exceeds...

Description Usage Arguments Details

View source: R/service.general.R

Description

Check number of parameters and stop function if it exceeds the expected number of parameters

Usage

1
2
service.check_param_number(param2check, acceptable_number = 1,
  custom_message = "")

Arguments

param2check

List, Character string, Number. Parameter used in a function.

acceptable_number

Numeric. Acceptable number of arguments in the list param2check (by default is "1")

custom_message

Character string. Custom message to be output. If not defined, the standart output message is provided. nothing to return

Details

Check number of parameters and stop function if it exceeds the expected number of parameters. Service function that will not be exported to user.

Programming: Boris Bikbov boris@bikbov.ru.


kidney.epi documentation built on March 13, 2020, 3:16 a.m.