One element vector is the same a single value



examples/vectors/one_element_vector.R
name = "foo"
names = c("foo")
print(name == names)
class(name)
class(names)
print(name[1])
print(names[1])

[1] TRUE
[1] "character"
[1] "character"
[1] "foo"
[1] "foo"