Closed krlmlr closed 3 years ago
Now allow_lossy_cast()
, available since vctrs 0.2.0 .
maybe_lossy_cast()
also exists.
@lionel-: Are you planning substantial changes to maybe_lossy_cast()
? Is it safe to use here?
I would say this is a more experimental area of vctrs. It doesn't seem to be very useful either. Do you really need this? I would avoid throwing lossy cast conditions and just throw coercion errors personally. That said if you really need it go ahead, there are no changes planned now (but vctrs is not under active dev at the moment).
Thanks, throwing an error now.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
in
vec_cast.hms.character()
as soon as it becomes available.