I propose to test the first element of the class vector
to avoid hundreds of warnings with "The condition has length > 1 and only the first element will be used"
as only the first element is actually tested... and at the last iteration the condition is verified
I propose to test the first element of the class vector to avoid hundreds of warnings with "The condition has length > 1 and only the first element will be used" as only the first element is actually tested... and at the last iteration the condition is verified