Subscript out of bounds on Code Completion (Ctrl+Space)

Hello,

During typing code, when I try to complete code with Ctrl+Space I get following error:

Error in object[[2]] : subscript out of bounds

What may be the problem?

Annotation%202019-07-11%20101254

Can you provide a reproducible example? What version of RStudio are you using?