I encountered "expr: Error in nchar(line) : invalid multibyte string, element 1" whenever calling vars().
I was trying to reproduce some examples from a doc