split a long string to create a vector for testing

convertStringToVector(str)

Arguments

str

a contnuous long string to split as a vector

Examples

convertStringToVector("1.05 1.10 1.20")
#> [1] "c(1.05, 1.1, 1.2)"
# result: "c(1.05, 1.1, 1.2)" # now, you can paste the vector in your test