Learn R Programming

AnalysisPageServer (version 1.6.2)

validate.compound.param.value: validate.compound.param.value

Description

Validate a compound-type AnalysisPageParam value

Usage

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

Arguments

app
AnalysisPageParam
val
Candidate value
transform.labeled
Passed through to validate.param.value of children. Default: FALSE.

Value

value, possibly with labeled children transformed

Details

Validate a compound-type AnalysisPageParam value:
  1. val must be a list. If length 0 then it is valid with no further checks.
  2. names(val) must not have any duplicates.
  3. names(val) must be a subset of names(app$children).
  4. Each of the values in the list must be validated by the corresponding child. transform.labeled is passed on.