persistent.param.dependencies: Return persistent parameter dependencies for an object

Description Usage Arguments Details Value Author(s)

View source: R/persistent.params.R

Description

Return persistent parameters dependencies for an object.

For an AnalysisPageParam the return value is either a charvec of the object's persistent dependencies. It is important to note that The namespace for persistent dependencies of an AnalysisPageParam is the same as the namespace of the page Parameters. This is because when calling a constructor for an AnalysisPageParam at most we might specify the names of other Parameters (for example for combobox dependencies). But the other Parameters are not available at that time, so we can't look up their corresponding names in the persistent namespace.

For an AnalysisPageParamSet or an AnalysisPage, the return value is a list named after all of the persistent params, the values being charvecs of their dependencies. Note that The namespace for persistent dependencies of an AnalysisPageParamSet is the persistent namespace, not the Page Parameter namespace.

For an AnalysisPageRegistry the return value is a list named after all of the persistent params of any of the pages, the values being charvecs of their dependencies. If there is an discrepancy in the dependencies for a given persistent param, then the union of all dependencies is taken. (This will be checked for acyclicity by .validate.registry.) The namespace for persistent dependencies of an AnalysisPageRegistry is the persistent namespace, not the Page Parameter namespace.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
persistent.param.dependencies(x)

## S3 method for class 'AnalysisPageParam'
persistent.param.dependencies(x)

## S3 method for class 'AnalysisPageParamSet'
persistent.param.dependencies(x)

## S3 method for class 'AnalysisPage'
persistent.param.dependencies(x)

## S3 method for class 'AnalysisPageRegistry'
persistent.param.dependencies(x)

Arguments

x

An object for which there is a persistent.param.dependencies method.

Details

This is a named list. The names are the names of persistent parameters, and the values are the other persistent parameters on which they depend.

Value

Named list of charvecs, see Details.

Author(s)

Brad Friedman


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