A testing library to understand bugs using xtensor-r
$ mamba create -n r-env cxx-compiler r=4.2 r-rcpp
$ mamba activate r-env
$ git clone https://github.com/ThibHlln/myTestLib.git --recursive
$ R CMD INSTALL --preclean --no-multiarch --with-keep.source myTestLib
$ R
> library(myTestLib)
> q = array(
. data=rep(c(0.6), 10 * 2 * 11 * 2080),
. dim=c(10, 2, 11, 2080)
. )
> myTestLib::sort_rtensor_cpp(q)
> myTestLib::sort_rarray_cpp(q)