ShortRead may segfault. See below for a minimal reproducible example. This may for instance happen when someone try to parallelize using some of the ShortRead helper objects, which then often result in a "silent" crash with little information to go by.
Wish
I understand why the following is not meant to work, but I'd argue an R package should never be able to core dump R. Instead, it should detect the problem and produce an informative run-time error.
Issue
ShortRead may segfault. See below for a minimal reproducible example. This may for instance happen when someone try to parallelize using some of the ShortRead helper objects, which then often result in a "silent" crash with little information to go by.
Wish
I understand why the following is not meant to work, but I'd argue an R package should never be able to core dump R. Instead, it should detect the problem and produce an informative run-time error.
Reproducible example
results in a segfault:
Session info