Cast options

cast_options(
  safe = TRUE,
  allow_int_overflow = !safe,
  allow_time_truncate = !safe,
  allow_float_truncate = !safe
)

Arguments

safe

enforce safe conversion

allow_int_overflow

allow int conversion, !safe by default

allow_time_truncate

allow time truncate, !safe by default

allow_float_truncate

allow float truncate, !safe by default