powered by
Build a semantic argument name from the suffix you provide.
buildSemanticArgumentName(suffix_s_1, variableName_s_1 = "x_")
A single string that is the argument name build from your variableName_s_1
string
variableName_s_1
and suffix_s_1 values.
suffix_s_1
one string to be used as a suffix. Use retrieveDataFactory()$getKnownSuffixes() to get a vector of known suffixes.
retrieveDataFactory()$getKnownSuffixes()
vector
a string that is the variable name you want to use.
tools:::Rd_package_author("wyz.code.metaTesting")
Maintainer: tools:::Rd_package_maintainer("wyz.code.metaTesting")
Know that no checks are done on suffix_s_1. Value you provide will be trusted, regular or irregular one.
Refer to testFunction
testFunction
# typical example buildSemanticArgumentName('i') # x_i buildSemanticArgumentName('ui_1', 'numberOfItems') # numberOfItems_ui_1
Run the code above in your browser using DataLab