What can I do to avoid crashing my R session when other dependencies panic? For example I am using ndarray and they have this [method](https://docs.rs/ndarray/latest/ndarray/struct.ArrayBase.html#method.slice) that panics.