I imagine this is incredibly simple but I cant seem to find the answer.
I am writing an IF statement but the test is if the object returns a character(0)
character(0)
instead of length(), worked for me nrows()
length()
nrows()