getFiniteErrorMessage: Create the error message for a certain parameter that is not...

View source: R/errorMessage.R

getFiniteErrorMessageR Documentation

Create the error message for a certain parameter that is not finite

Description

For a particular parameter, create an error message specifying that the parameter is not finite (i.e. not numeric and not NaN)

Usage

getFiniteErrorMessage(
  paramName,
  value = NULL,
  algoName = NULL,
  functionName = ""
)

Arguments

paramName

Name of parameter, e.g. lambda

value

The value of the non-finite parameter

algoName

Name of algorithm, e.g. AFF change detector

functionName

The name of the original function which is being called to check the parameters. Will help user with debugging.


ffstream documentation built on May 31, 2023, 7:53 p.m.