# internal error is thrown with OOB dyn-lof access Code err(lof_arr_push_back(lof, 0, 42L), "Location 0 does not exist") Output Error in `lof_arr_push_back()`: ! Location 0 does not exist. i In file 'rlang/dyn-list-of.c' at line 167. i This is an internal error that was detected in the rlang package. Please report it at with a reprex () and the full backtrace. Code err(lof_arr_push_back(lof, 10, 42L), "Location 10 does not exist") Output Error in `lof_arr_push_back()`: ! Location 10 does not exist. i In file 'rlang/dyn-list-of.c' at line 167. i This is an internal error that was detected in the rlang package. Please report it at with a reprex () and the full backtrace. # re-encoding fails purposefully with any bytes Code (expect_error(r_obj_encode_utf8(bytes))) Output --- Code (expect_error(r_obj_encode_utf8(c(enc, bytes)))) Output --- Code (expect_error(r_obj_encode_utf8(c(enc, bytes)))) Output --- Code (expect_error(r_obj_encode_utf8(c(enc, bytes)))) Output