validate.param.value: validate.param.value

Description Usage Arguments Details Value Author(s) Examples

View source: R/validate.param.list.R

Description

Validate a parameter value for an AnalysisPageParam

Usage

1
validate.param.value(app, val, transform.labeled = FALSE)

Arguments

app

AnalysisPageParam

val

Candidate value

transform.labeled

Logical. Should the parameter value be transformed if necessary to have the list(v=value, r=readable.value) format?

Details

This function dispatches to the type-specific validator.

transform.labeled is passed on only if that validator accepts such an argument. This should be just combobox and select types, and indicates that the parameter value should be transformed to have the list(v=value, r=readable.value) format.

Value

The candidate value, possibly transformed. Throws error if the value is invalid.

Author(s)

Brad Friedman

Examples

1
2
sp <- simple.param("foo")
validate.param.value(sp, 3)

AnalysisPageServer documentation built on April 28, 2020, 6:32 p.m.