buildSemanticArgumentName {wyz.code.metaTesting}R Documentation

Build semantic argument name

Description

Build a semantic argument name from the suffix you provide.

Usage

buildSemanticArgumentName(suffix_s_1, variableName_s_1 = "x_")

Arguments

suffix_s_1

one string to be used as a suffix. Use retrieveDataFactory()$getKnownSuffixes() to get a vector of known suffixes.

variableName_s_1

a string that is the variable name you want to use.

Details

Know that no checks are done on suffix_s_1. Value you provide will be trusted, regular or irregular one.

Value

A single string that is the argument name build from your variableName_s_1 and suffix_s_1 values.

Author(s)

Fabien Gelineau <neonira@gmail.com>

Maintainer: Fabien Gelineau <neonira@gmail.com>

See Also

Refer to testFunction

Examples

# typical example
buildSemanticArgumentName('i') # x_i

buildSemanticArgumentName('ui_1', 'numberOfItems') # numberOfItems_ui_1

[Package wyz.code.metaTesting version 1.1.22 Index]