validate.labeled.param.value(app, val, transform.labeled = FALSE)Unnamed scalars are OK and named scalars are also OK.
If the scalar is unnamed then its own name will be applied: names(val) <- val.
If transform.labeled is set then instead of returning
the candidate value as-is, it is transformed into
list(v=real.value, r=readable.value).
If $allow.multiple == TRUE then length(val) > 1 is OK.
The encoding is simply list(v=real.values, r=readable.values),
where real.values and readable.values are equal-length vectors.