-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBooleanParameters.r.yaml
47 lines (39 loc) · 1.1 KB
/
BooleanParameters.r.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
label: PKGR07c - Exploring Boolean parameters
categories:
- Example
- R Language Example
- Package Example
description: |
This example demonstrates use of a boolean parameter
The program has parameters that are required and optional,
and with default values of true and false.
The HTTP query parameters are converted from strings to
boolean values using the `as.logical` function.
resultFormat: print
resultObjectName: result
parameters:
boolOptionalNoDefault:
label: Boolean Optional No Default
datatype: bool
boolOptionalDefaultFalse:
label: Boolean Optional Default False
datatype: bool
defaultValue: false
boolOptionalDefaultTrue:
label: Boolean Optional Default true
datatype: bool
defaultValue: true
boolRequiredNoDefault:
label: Boolean Required No Default
datatype: bool
required: true
boolRequiredDefaultFalse:
label: Boolean Required Default false
datatype: bool
defaultValue: false
required: true
boolRequiredDefaultTrue:
label: Boolean Required Default true
datatype: bool
defaultValue: true
required: true