Some unexpected behavior I tested in R

The behavior described about NA index is not correct. It is not a straightforward case of disallowing NA + integer indices but allowing NA + logical indices. Please see examples.