Learn R Programming

wyz.code.metaTesting (version 1.1.4)

buildSemanticArgumentName: Build semantic argument name

Description

Build a semantic argument name from the suffix you provide.

Usage

buildSemanticArgumentName(suffix_s_1, prefix_s_1 = "x_")

Arguments

suffix_s_1

one legal suffix. See DataFactory to get a vector of known suffixes. Legal suffixes are known suffixes, augmented by suffixes you registered.

prefix_s_1

the variable prefix name you want to use.

Value

A single string.

Details

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

See Also

Refer to testFunction

Examples

Run this code
# NOT RUN {
# typical example
buildSemanticArgumentName('i') # x_i

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

Run the code above in your browser using DataLab