Could you elaborate on, what is going on here:
a = "TRUE"
b = TRUE
a
#[1] "TRUE"
b
#[1] TRUE
str(a)
#chr "TRUE"
str(b)
#logi TRUE
a == b
#[1] TRUE
This is only TRUE
for the string "TRUE"
in that e.g.:
"STRING" == TRUE
#[1] FALSE
So it is not because a non-empty string is TRUE
like en e.g. Perl, therefore I would have expected TRUE == "TRUE"
would yield FALSE
?