
AsIs objects throw ptype2 errors with their underlying types
============================================================

> vec_ptype2(I(1), I("x"))
Error: Can't combine <double> and <character>.


AsIs objects throw cast errors with their underlying types
==========================================================

> vec_cast(I(1), I(factor("x")))
Error: Can't convert <double> to <factor<bf275>>.

