Learn R Programming

wyz.code.metaTesting (version 1.1.22)

buildSemanticArgumentName: Build semantic argument name

Description

Build a semantic argument name from the suffix you provide.

Usage

buildSemanticArgumentName(suffix_s_1, variableName_s_1 = "x_")

Value

A single string that is the argument name build from your variableName_s_1

and suffix_s_1 values.

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.

Author

tools:::Rd_package_author("wyz.code.metaTesting")

Maintainer: tools:::Rd_package_maintainer("wyz.code.metaTesting")

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
# typical example
buildSemanticArgumentName('i') # x_i

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

Run the code above in your browser using DataLab