as.complex(x)
as.complex should attempt to coerce its argument to complex storage mode. Implementation of complex numbers is not completed it halts execution with an error message.