BASIX provides some efficient C/C++ implementations to speed up calculations in R.
conda install r_test::r-basix