I have updated my package, rbedrock [1-2], to remove a bundled
library's calls to abort() and stderr when compiled with -DNDEBUG
(which is the default). This has mostly worked; however, I have
uncovered that libc++ contains inline functions that call abort() if
exceptions are disabled.
My bundled
data.table is doing the same in a number of places, Ivan even went so far
as to pin down a specific SVN commit for those as well:
#if R_VERSION < R_Version(4, 5, 0) || R_SVN_REVISION < 86702
# define isDataFrame(x) isFrame(x) // #6180
#endif
https://github.com/Rdatatable/data.table/blob/09090480