* installing *source* package 'ast2ast' ...
** this is package 'ast2ast' version '1.0'
** package 'ast2ast' successfully unpacked and MD5 sums checked
** using staged installation
** libs
specified C++20
using C++ compiler: 'g++.exe (GCC) 14.3.0'
using C++20
make[1]: Entering directory '/d/temp/2026_09_15_23_01_57_27218/Rtmp0MUwD2/R.INSTALL484402a95148c/ast2ast/src'
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c RcppExports.cpp -o RcppExports.o
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_ADArrayOps.cpp -o tests_ADArrayOps.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_ADArrayOps.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_Allocation.cpp -o tests_Allocation.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_Allocation.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
In file included from ../inst/include/etr.hpp:27:
../inst/include/etr_bits/Allocation.hpp: In instantiation of 'std::size_t etr::ConvertSizeVec(const T&) [with T = Array<Logical, Buffer<Logical> >; std::size_t = long long unsigned int]':
../inst/include/etr_bits/Allocation.hpp:291:36:   required from 'auto etr::createRVec(T) [with Type = Logical; T = Array<Logical, Buffer<Logical> >]'
  291 |   std::size_t size = ConvertSizeVec(s);
      |                      ~~~~~~~~~~~~~~^~~
../inst/include/etr_bits/Allocation.hpp:305:29:   required from 'auto etr::logical(const T&) [with T = Array<Logical, Buffer<Logical> >]'
  305 |   return createRVec<Logical>(inp);
      |          ~~~~~~~~~~~~~~~~~~~^~~~~
tests_Allocation.cpp:232:52:   required from here
  232 |         Array<Logical, Buffer<Logical>> l = logical(size);
      |                                             ~~~~~~~^~~~~~
../inst/include/etr_bits/Allocation.hpp:284:96: warning: comparison of constant '0' with boolean expression is always true [-Wbool-compare]
  284 |     ass<"size in fct vector/logical/integer/numeric/matrix/array has to be an integer >= 0">(v >= 0);
      |                                                                                              ~~^~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_Array.cpp -o tests_Array.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_Array.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_Borrow.cpp -o tests_Borrow.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_Borrow.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
tests_Borrow.cpp: In instantiation of 'void test_borrow() [with RealType = etr::Double]':
tests_Borrow.cpp:379:22:   required from here
  379 |   test_borrow<Double>();
      |   ~~~~~~~~~~~~~~~~~~~^~
tests_Borrow.cpp:256:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  256 |       const auto test = empty_borrow.get(0);
      |                  ^~~~
tests_Borrow.cpp:275:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  275 |       const auto test = b.get(-1);
      |                  ^~~~
tests_Borrow.cpp:281:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  281 |       const auto test = b.get(2);
      |                  ^~~~
tests_Borrow.cpp:287:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  287 |       const auto test = b.get(100);
      |                  ^~~~
tests_Borrow.cpp:305:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  305 |       const auto test = b.get(100);
      |                  ^~~~
tests_Borrow.cpp: In instantiation of 'void test_borrow() [with RealType = etr::ReverseDouble]':
tests_Borrow.cpp:381:29:   required from here
  381 |   test_borrow<ReverseDouble>();
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
tests_Borrow.cpp:256:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  256 |       const auto test = empty_borrow.get(0);
      |                  ^~~~
tests_Borrow.cpp:275:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  275 |       const auto test = b.get(-1);
      |                  ^~~~
tests_Borrow.cpp:281:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  281 |       const auto test = b.get(2);
      |                  ^~~~
tests_Borrow.cpp:287:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  287 |       const auto test = b.get(100);
      |                  ^~~~
tests_Borrow.cpp:305:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  305 |       const auto test = b.get(100);
      |                  ^~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_Buffer.cpp -o tests_Buffer.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_Buffer.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
tests_Buffer.cpp: In instantiation of 'void test_buffer() [with RealType = etr::Double]':
tests_Buffer.cpp:916:22:   required from here
  916 |   test_buffer<Double>();
      |   ~~~~~~~~~~~~~~~~~~~^~
tests_Buffer.cpp:132:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  132 |       const auto test = b.get(0);
      |                  ^~~~
tests_Buffer.cpp:151:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  151 |       const auto test = b.get(-1);
      |                  ^~~~
tests_Buffer.cpp:157:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  157 |       const auto test = b.get(2);
      |                  ^~~~
tests_Buffer.cpp:163:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  163 |       const auto test = b.get(100);
      |                  ^~~~
tests_Buffer.cpp:181:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  181 |       const auto test = b.get(100);
      |                  ^~~~
tests_Buffer.cpp: In instantiation of 'void test_buffer() [with RealType = etr::ReverseDouble]':
tests_Buffer.cpp:918:29:   required from here
  918 |   test_buffer<ReverseDouble>();
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
tests_Buffer.cpp:132:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  132 |       const auto test = b.get(0);
      |                  ^~~~
tests_Buffer.cpp:151:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  151 |       const auto test = b.get(-1);
      |                  ^~~~
tests_Buffer.cpp:157:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  157 |       const auto test = b.get(2);
      |                  ^~~~
tests_Buffer.cpp:163:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  163 |       const auto test = b.get(100);
      |                  ^~~~
tests_Buffer.cpp:181:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  181 |       const auto test = b.get(100);
      |                  ^~~~
tests_Buffer.cpp: In instantiation of 'void test_buffer() [with RealType = etr::Dual]':
tests_Buffer.cpp:919:20:   required from here
  919 |   test_buffer<Dual>();
      |   ~~~~~~~~~~~~~~~~~^~
tests_Buffer.cpp:132:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  132 |       const auto test = b.get(0);
      |                  ^~~~
tests_Buffer.cpp:151:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  151 |       const auto test = b.get(-1);
      |                  ^~~~
tests_Buffer.cpp:157:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  157 |       const auto test = b.get(2);
      |                  ^~~~
tests_Buffer.cpp:163:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  163 |       const auto test = b.get(100);
      |                  ^~~~
tests_Buffer.cpp:181:18: warning: variable 'test' set but not used [-Wunused-but-set-variable]
  181 |       const auto test = b.get(100);
      |                  ^~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_CMR.cpp -o tests_CMR.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_CMR.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_Collection.cpp -o tests_Collection.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_Collection.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_Concepts.cpp -o tests_Concepts.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_Concepts.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_Determinant.cpp -o tests_Determinant.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_Determinant.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
tests_Determinant.cpp: In function 'void test_determinant()':
tests_Determinant.cpp:52:12: warning: variable 'bad' set but not used [-Wunused-but-set-variable]
   52 |       auto bad = determinant(M);
      |            ^~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_FirstDispatchLayer.cpp -o tests_FirstDispatchLayer.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_FirstDispatchLayer.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_Jac.cpp -o tests_Jac.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_Jac.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_MatMul.cpp -o tests_MatMul.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_MatMul.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_MatMulBlock.cpp -o tests_MatMulBlock.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_MatMulBlock.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_Preserved_Subsetting.cpp -o tests_Preserved_Subsetting.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_Preserved_Subsetting.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
tests_Preserved_Subsetting.cpp: In function 'void test_indices_preserved_subsetting()':
tests_Preserved_Subsetting.cpp:290:8: warning: variable 'compare' set but not used [-Wunused-but-set-variable]
  290 |   auto compare = [](double l, double r) {
      |        ^~~~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_SecondDispatchLayer.cpp -o tests_SecondDispatchLayer.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_SecondDispatchLayer.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_SimplifiedSubsetting.cpp -o tests_SimplifiedSubsetting.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_SimplifiedSubsetting.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
tests_SimplifiedSubsetting.cpp: In function 'void test_simplified_subsetting()':
tests_SimplifiedSubsetting.cpp:169:8: warning: variable 'expect_dual_at' set but not used [-Wunused-but-set-variable]
  169 |   auto expect_dual_at = [&](auto& arr, std::size_t one_based_idx, double expected_val, double expected_dot) {
      |        ^~~~~~~~~~~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_TriSolveZeroDiag.cpp -o tests_TriSolveZeroDiag.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_TriSolveZeroDiag.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_Uniroot.cpp -o tests_Uniroot.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_Uniroot.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_Utilities.cpp -o tests_Utilities.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_Utilities.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
In file included from ../inst/include/etr.hpp:27:
../inst/include/etr_bits/Allocation.hpp: In instantiation of 'etr::rbind<Array<Double, Buffer<Double, LBufferTrait> >&, Array<Double, Buffer<Double, LBufferTrait> >&>(Array<Double, Buffer<Double> >&, Array<Double, Buffer<Double> >&)::<lambda(const auto:18&)> [with auto:18 = etr::Array<etr::Double, etr::Buffer<etr::Double> >]':
../inst/include/etr_bits/./Core/Types.hpp:258:5:   required from 'F etr::forEachArg(F, Args&& ...) [with F = rbind<Array<Double, Buffer<Double, LBufferTrait> >&, Array<Double, Buffer<Double, LBufferTrait> >&>(Array<Double, Buffer<Double> >&, Array<Double, Buffer<Double> >&)::<lambda(const auto:18&)>; Args = {Array<Double, Buffer<Double, LBufferTrait> >&, Array<Double, Buffer<Double, LBufferTrait> >&}]'
  258 |   (f(std::forward<Args>(args)), ...); return f;
      |    ~^~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/etr_bits/Allocation.hpp:430:13:   required from 'auto etr::rbind(Args&& ...) [with Args = {Array<Double, Buffer<Double, LBufferTrait> >&, Array<Double, Buffer<Double, LBufferTrait> >&}]'
  430 |   forEachArg(
      |   ~~~~~~~~~~^
  431 |     [&](const auto &arg) {
      |     ~~~~~~~~~~~~~~~~~~~~~~
  432 |       using testType = Decayed<decltype(arg)>;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  433 |       constexpr bool is_scalar = IsScalarLike<testType>;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  434 |       if constexpr (is_scalar) {
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~
  435 |         if constexpr (IS<testType, cType>) {
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  436 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  437 |             ret.set(i * N + row, arg);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~
  438 |           }
      |           ~  
  439 |         } else {
      |         ~~~~~~~~
  440 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  441 |             ret.set(i * N + row, static_cast<cType>(arg));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  442 |           }
      |           ~  
  443 |         }
      |         ~    
  444 |         row++;
      |         ~~~~~~
  445 |       } else {
      |       ~~~~~~~~
  446 |         using InnerType = typename ReRef<decltype(arg)>::type::value_type;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  447 |         if constexpr (IS<InnerType, cType>) {
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  448 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  449 |             ret.set(i * N + row, arg.get(safe_modulo(i, arg.size())));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  450 |           }
      |           ~  
  451 |         } else {
      |         ~~~~~~~~
  452 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  453 |             ret.set(i * N + row, static_cast<cType>(arg.get(safe_modulo(i, arg.size()))));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  454 |           }
      |           ~  
  455 |         }
      |         ~    
  456 |         row++;
      |         ~~~~~~
  457 |       }
      |       ~      
  458 |     },
      |     ~~       
  459 |     args...);
      |     ~~~~~~~~ 
tests_Utilities.cpp:297:19:   required from here
  297 |     auto r = rbind(a, b);
      |              ~~~~~^~~~~~
../inst/include/etr_bits/Allocation.hpp:448:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare]
  448 |           for (int i = 0; i < ncols; i++) {
      |                           ~~^~~~~~~
../inst/include/etr_bits/Allocation.hpp: In instantiation of 'etr::cbind<Array<Double, Buffer<Double, LBufferTrait> >&, Array<Double, Buffer<Double, LBufferTrait> >&>(Array<Double, Buffer<Double> >&, Array<Double, Buffer<Double> >&)::<lambda(const auto:20&)> [with auto:20 = etr::Array<etr::Double, etr::Buffer<etr::Double> >]':
../inst/include/etr_bits/./Core/Types.hpp:258:5:   required from 'F etr::forEachArg(F, Args&& ...) [with F = cbind<Array<Double, Buffer<Double, LBufferTrait> >&, Array<Double, Buffer<Double, LBufferTrait> >&>(Array<Double, Buffer<Double> >&, Array<Double, Buffer<Double> >&)::<lambda(const auto:20&)>; Args = {Array<Double, Buffer<Double, LBufferTrait> >&, Array<Double, Buffer<Double, LBufferTrait> >&}]'
  258 |   (f(std::forward<Args>(args)), ...); return f;
      |    ~^~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/etr_bits/Allocation.hpp:493:13:   required from 'auto etr::cbind(Args&& ...) [with Args = {Array<Double, Buffer<Double, LBufferTrait> >&, Array<Double, Buffer<Double, LBufferTrait> >&}]'
  493 |   forEachArg(
      |   ~~~~~~~~~~^
  494 |     [&](const auto &arg) {
      |     ~~~~~~~~~~~~~~~~~~~~~~
  495 |       using testType = Decayed<decltype(arg)>;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  496 |       constexpr bool is_scalar = IsScalarLike<testType>;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  497 |       if constexpr (is_scalar) {
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~
  498 |         if constexpr (IS<testType, cType>) {
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  499 |           for (int i = 0; i < nrows; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  500 |             ret.set(col * nrows + i, arg);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  501 |           }
      |           ~  
  502 |         } else {
      |         ~~~~~~~~
  503 |           for (int i = 0; i < nrows; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  504 |             ret.set(col * nrows + i, static_cast<cType>(arg));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  505 |           }
      |           ~  
  506 |         }
      |         ~    
  507 |         col++;
      |         ~~~~~~
  508 |       } else {
      |       ~~~~~~~~
  509 |         using InnerType = typename ReRef<decltype(arg)>::type::value_type;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  510 |         if constexpr (IS<InnerType, cType>) {
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  511 |           for (int i = 0; i < nrows; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  512 |             ret.set(col * nrows + i, arg.get(safe_modulo(i, arg.size())));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  513 |           }
      |           ~  
  514 |         } else {
      |         ~~~~~~~~
  515 |           for (int i = 0; i < nrows; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  516 |             ret.set(col * nrows + i, static_cast<cType>(arg.get(safe_modulo(i, arg.size()))));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  517 |           }
      |           ~  
  518 |         }
      |         ~    
  519 |         col++;
      |         ~~~~~~
  520 |       }
      |       ~      
  521 |     },
      |     ~~       
  522 |     args...);
      |     ~~~~~~~~ 
tests_Utilities.cpp:306:20:   required from here
  306 |     auto cc = cbind(a, b);
      |               ~~~~~^~~~~~
../inst/include/etr_bits/Allocation.hpp:511:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare]
  511 |           for (int i = 0; i < nrows; i++) {
      |                           ~~^~~~~~~
../inst/include/etr_bits/Allocation.hpp: In instantiation of 'etr::rbind<Array<Double, Buffer<Double, LBufferTrait> >&, Double>(Array<Double, Buffer<Double> >&, Double&&)::<lambda(const auto:18&)> [with auto:18 = etr::Array<etr::Double, etr::Buffer<etr::Double> >]':
../inst/include/etr_bits/./Core/Types.hpp:258:5:   required from 'F etr::forEachArg(F, Args&& ...) [with F = rbind<Array<Double, Buffer<Double, LBufferTrait> >&, Double>(Array<Double, Buffer<Double> >&, Double&&)::<lambda(const auto:18&)>; Args = {Array<Double, Buffer<Double, LBufferTrait> >&, Double&}]'
  258 |   (f(std::forward<Args>(args)), ...); return f;
      |    ~^~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/etr_bits/Allocation.hpp:430:13:   required from 'auto etr::rbind(Args&& ...) [with Args = {Array<Double, Buffer<Double, LBufferTrait> >&, Double}]'
  430 |   forEachArg(
      |   ~~~~~~~~~~^
  431 |     [&](const auto &arg) {
      |     ~~~~~~~~~~~~~~~~~~~~~~
  432 |       using testType = Decayed<decltype(arg)>;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  433 |       constexpr bool is_scalar = IsScalarLike<testType>;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  434 |       if constexpr (is_scalar) {
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~
  435 |         if constexpr (IS<testType, cType>) {
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  436 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  437 |             ret.set(i * N + row, arg);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~
  438 |           }
      |           ~  
  439 |         } else {
      |         ~~~~~~~~
  440 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  441 |             ret.set(i * N + row, static_cast<cType>(arg));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  442 |           }
      |           ~  
  443 |         }
      |         ~    
  444 |         row++;
      |         ~~~~~~
  445 |       } else {
      |       ~~~~~~~~
  446 |         using InnerType = typename ReRef<decltype(arg)>::type::value_type;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  447 |         if constexpr (IS<InnerType, cType>) {
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  448 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  449 |             ret.set(i * N + row, arg.get(safe_modulo(i, arg.size())));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  450 |           }
      |           ~  
  451 |         } else {
      |         ~~~~~~~~
  452 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  453 |             ret.set(i * N + row, static_cast<cType>(arg.get(safe_modulo(i, arg.size()))));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  454 |           }
      |           ~  
  455 |         }
      |         ~    
  456 |         row++;
      |         ~~~~~~
  457 |       }
      |       ~      
  458 |     },
      |     ~~       
  459 |     args...);
      |     ~~~~~~~~ 
tests_Utilities.cpp:314:20:   required from here
  314 |     auto r2 = rbind(a, Double(9.0));
      |               ~~~~~^~~~~~~~~~~~~~~~
../inst/include/etr_bits/Allocation.hpp:448:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare]
  448 |           for (int i = 0; i < ncols; i++) {
      |                           ~~^~~~~~~
../inst/include/etr_bits/Allocation.hpp: In instantiation of 'etr::rbind<Array<Double, Buffer<Double, LBufferTrait> >&, Double>(Array<Double, Buffer<Double> >&, Double&&)::<lambda(const auto:18&)> [with auto:18 = etr::Double]':
../inst/include/etr_bits/./Core/Types.hpp:258:5:   required from 'F etr::forEachArg(F, Args&& ...) [with F = rbind<Array<Double, Buffer<Double, LBufferTrait> >&, Double>(Array<Double, Buffer<Double> >&, Double&&)::<lambda(const auto:18&)>; Args = {Array<Double, Buffer<Double, LBufferTrait> >&, Double&}]'
  258 |   (f(std::forward<Args>(args)), ...); return f;
      |    ~^~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/etr_bits/Allocation.hpp:430:13:   required from 'auto etr::rbind(Args&& ...) [with Args = {Array<Double, Buffer<Double, LBufferTrait> >&, Double}]'
  430 |   forEachArg(
      |   ~~~~~~~~~~^
  431 |     [&](const auto &arg) {
      |     ~~~~~~~~~~~~~~~~~~~~~~
  432 |       using testType = Decayed<decltype(arg)>;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  433 |       constexpr bool is_scalar = IsScalarLike<testType>;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  434 |       if constexpr (is_scalar) {
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~
  435 |         if constexpr (IS<testType, cType>) {
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  436 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  437 |             ret.set(i * N + row, arg);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~
  438 |           }
      |           ~  
  439 |         } else {
      |         ~~~~~~~~
  440 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  441 |             ret.set(i * N + row, static_cast<cType>(arg));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  442 |           }
      |           ~  
  443 |         }
      |         ~    
  444 |         row++;
      |         ~~~~~~
  445 |       } else {
      |       ~~~~~~~~
  446 |         using InnerType = typename ReRef<decltype(arg)>::type::value_type;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  447 |         if constexpr (IS<InnerType, cType>) {
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  448 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  449 |             ret.set(i * N + row, arg.get(safe_modulo(i, arg.size())));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  450 |           }
      |           ~  
  451 |         } else {
      |         ~~~~~~~~
  452 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  453 |             ret.set(i * N + row, static_cast<cType>(arg.get(safe_modulo(i, arg.size()))));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  454 |           }
      |           ~  
  455 |         }
      |         ~    
  456 |         row++;
      |         ~~~~~~
  457 |       }
      |       ~      
  458 |     },
      |     ~~       
  459 |     args...);
      |     ~~~~~~~~ 
tests_Utilities.cpp:314:20:   required from here
  314 |     auto r2 = rbind(a, Double(9.0));
      |               ~~~~~^~~~~~~~~~~~~~~~
../inst/include/etr_bits/Allocation.hpp:436:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare]
  436 |           for (int i = 0; i < ncols; i++) {
      |                           ~~^~~~~~~
../inst/include/etr_bits/Allocation.hpp: In instantiation of 'etr::rbind<Array<Double, Buffer<Double, LBufferTrait> >&, Array<Integer, Buffer<Integer, LBufferTrait> >&>(Array<Double, Buffer<Double> >&, Array<Integer, Buffer<Integer> >&)::<lambda(const auto:18&)> [with auto:18 = etr::Array<etr::Double, etr::Buffer<etr::Double> >]':
../inst/include/etr_bits/./Core/Types.hpp:258:5:   required from 'F etr::forEachArg(F, Args&& ...) [with F = rbind<Array<Double, Buffer<Double, LBufferTrait> >&, Array<Integer, Buffer<Integer, LBufferTrait> >&>(Array<Double, Buffer<Double> >&, Array<Integer, Buffer<Integer> >&)::<lambda(const auto:18&)>; Args = {Array<Double, Buffer<Double, LBufferTrait> >&, Array<Integer, Buffer<Integer, LBufferTrait> >&}]'
  258 |   (f(std::forward<Args>(args)), ...); return f;
      |    ~^~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/etr_bits/Allocation.hpp:430:13:   required from 'auto etr::rbind(Args&& ...) [with Args = {Array<Double, Buffer<Double, LBufferTrait> >&, Array<Integer, Buffer<Integer, LBufferTrait> >&}]'
  430 |   forEachArg(
      |   ~~~~~~~~~~^
  431 |     [&](const auto &arg) {
      |     ~~~~~~~~~~~~~~~~~~~~~~
  432 |       using testType = Decayed<decltype(arg)>;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  433 |       constexpr bool is_scalar = IsScalarLike<testType>;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  434 |       if constexpr (is_scalar) {
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~
  435 |         if constexpr (IS<testType, cType>) {
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  436 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  437 |             ret.set(i * N + row, arg);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~
  438 |           }
      |           ~  
  439 |         } else {
      |         ~~~~~~~~
  440 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  441 |             ret.set(i * N + row, static_cast<cType>(arg));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  442 |           }
      |           ~  
  443 |         }
      |         ~    
  444 |         row++;
      |         ~~~~~~
  445 |       } else {
      |       ~~~~~~~~
  446 |         using InnerType = typename ReRef<decltype(arg)>::type::value_type;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  447 |         if constexpr (IS<InnerType, cType>) {
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  448 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  449 |             ret.set(i * N + row, arg.get(safe_modulo(i, arg.size())));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  450 |           }
      |           ~  
  451 |         } else {
      |         ~~~~~~~~
  452 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  453 |             ret.set(i * N + row, static_cast<cType>(arg.get(safe_modulo(i, arg.size()))));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  454 |           }
      |           ~  
  455 |         }
      |         ~    
  456 |         row++;
      |         ~~~~~~
  457 |       }
      |       ~      
  458 |     },
      |     ~~       
  459 |     args...);
      |     ~~~~~~~~ 
tests_Utilities.cpp:320:20:   required from here
  320 |     auto rm = rbind(a, ai);
      |               ~~~~~^~~~~~~
../inst/include/etr_bits/Allocation.hpp:448:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare]
  448 |           for (int i = 0; i < ncols; i++) {
      |                           ~~^~~~~~~
../inst/include/etr_bits/Allocation.hpp: In instantiation of 'etr::rbind<Array<Double, Buffer<Double, LBufferTrait> >&, Array<Integer, Buffer<Integer, LBufferTrait> >&>(Array<Double, Buffer<Double> >&, Array<Integer, Buffer<Integer> >&)::<lambda(const auto:18&)> [with auto:18 = etr::Array<etr::Integer, etr::Buffer<etr::Integer> >]':
../inst/include/etr_bits/./Core/Types.hpp:258:5:   required from 'F etr::forEachArg(F, Args&& ...) [with F = rbind<Array<Double, Buffer<Double, LBufferTrait> >&, Array<Integer, Buffer<Integer, LBufferTrait> >&>(Array<Double, Buffer<Double> >&, Array<Integer, Buffer<Integer> >&)::<lambda(const auto:18&)>; Args = {Array<Double, Buffer<Double, LBufferTrait> >&, Array<Integer, Buffer<Integer, LBufferTrait> >&}]'
  258 |   (f(std::forward<Args>(args)), ...); return f;
      |    ~^~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/etr_bits/Allocation.hpp:430:13:   required from 'auto etr::rbind(Args&& ...) [with Args = {Array<Double, Buffer<Double, LBufferTrait> >&, Array<Integer, Buffer<Integer, LBufferTrait> >&}]'
  430 |   forEachArg(
      |   ~~~~~~~~~~^
  431 |     [&](const auto &arg) {
      |     ~~~~~~~~~~~~~~~~~~~~~~
  432 |       using testType = Decayed<decltype(arg)>;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  433 |       constexpr bool is_scalar = IsScalarLike<testType>;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  434 |       if constexpr (is_scalar) {
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~
  435 |         if constexpr (IS<testType, cType>) {
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  436 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  437 |             ret.set(i * N + row, arg);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~
  438 |           }
      |           ~  
  439 |         } else {
      |         ~~~~~~~~
  440 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  441 |             ret.set(i * N + row, static_cast<cType>(arg));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  442 |           }
      |           ~  
  443 |         }
      |         ~    
  444 |         row++;
      |         ~~~~~~
  445 |       } else {
      |       ~~~~~~~~
  446 |         using InnerType = typename ReRef<decltype(arg)>::type::value_type;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  447 |         if constexpr (IS<InnerType, cType>) {
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  448 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  449 |             ret.set(i * N + row, arg.get(safe_modulo(i, arg.size())));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  450 |           }
      |           ~  
  451 |         } else {
      |         ~~~~~~~~
  452 |           for (int i = 0; i < ncols; i++) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  453 |             ret.set(i * N + row, static_cast<cType>(arg.get(safe_modulo(i, arg.size()))));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  454 |           }
      |           ~  
  455 |         }
      |         ~    
  456 |         row++;
      |         ~~~~~~
  457 |       }
      |       ~      
  458 |     },
      |     ~~       
  459 |     args...);
      |     ~~~~~~~~ 
tests_Utilities.cpp:320:20:   required from here
  320 |     auto rm = rbind(a, ai);
      |               ~~~~~^~~~~~~
../inst/include/etr_bits/Allocation.hpp:452:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long long unsigned int'} [-Wsign-compare]
  452 |           for (int i = 0; i < ncols; i++) {
      |                           ~~^~~~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_assign_Array_to_Scalars.cpp -o tests_assign_Array_to_Scalars.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_assign_Array_to_Scalars.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_crossprod.cpp -o tests_crossprod.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_crossprod.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_diag.cpp -o tests_diag.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_diag.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_lbfgsb.cpp -o tests_lbfgsb.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_lbfgsb.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_nnls.cpp -o tests_nnls.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_nnls.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_scalar_types.cpp -o tests_scalar_types.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_scalar_types.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_solve.cpp -o tests_solve.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_solve.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_transpose.cpp -o tests_transpose.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_transpose.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++  -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c tests_trisolve.cpp -o tests_trisolve.o
In file included from ../inst/include/etr_bits/Core.hpp:6,
                 from ../inst/include/etr.hpp:25,
                 from tests_trisolve.cpp:2:
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'int etr::ReverseTape::push_crossprod(std::size_t, std::size_t, std::vector<int>, std::vector<double>, bool)':
../inst/include/etr_bits/./Core/Scalars.hpp:310:15: warning: unused variable 'di' [-Wunused-variable]
  310 |     const int di = static_cast<int>(d);
      |               ^~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::LogicalRef& etr::LogicalRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:2985:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 2985 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::IntegerRef& etr::IntegerRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3060:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3060 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DoubleRef& etr::DoubleRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3137:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3137 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
../inst/include/etr_bits/./Core/Scalars.hpp: In member function 'etr::DualRef& etr::DualRef::operator=(const T&)':
../inst/include/etr_bits/./Core/Scalars.hpp:3228:12: warning: typedef 'using inner = typename etr::ExtractDataType<T>::value_type' locally defined but not used [-Wunused-local-typedefs]
 3228 |     using  inner = typename ExtractDataType<T>::value_type;
      |            ^~~~~
g++ -shared -s -static-libgcc -o ast2ast.dll tmp.def RcppExports.o tests_ADArrayOps.o tests_Allocation.o tests_Array.o tests_Borrow.o tests_Buffer.o tests_CMR.o tests_Collection.o tests_Concepts.o tests_Determinant.o tests_FirstDispatchLayer.o tests_Jac.o tests_MatMul.o tests_MatMulBlock.o tests_Preserved_Subsetting.o tests_SecondDispatchLayer.o tests_SimplifiedSubsetting.o tests_TriSolveZeroDiag.o tests_Uniroot.o tests_Utilities.o tests_assign_Array_to_Scalars.o tests_crossprod.o tests_diag.o tests_lbfgsb.o tests_nnls.o tests_scalar_types.o tests_solve.o tests_transpose.o tests_trisolve.o -LD:/RCompile/recent/R-4.6.1/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.6.1/bin/x64 -lRblas -lgfortran -lquadmath -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.6.1/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2026_09_15_23_01_57_27218/Rtmp0MUwD2/R.INSTALL484402a95148c/ast2ast/src'
make[1]: Entering directory '/d/temp/2026_09_15_23_01_57_27218/Rtmp0MUwD2/R.INSTALL484402a95148c/ast2ast/src'
make[1]: Leaving directory '/d/temp/2026_09_15_23_01_57_27218/Rtmp0MUwD2/R.INSTALL484402a95148c/ast2ast/src'
installing to d:/Rcompile/CRANpkg/lib/4.6/00LOCK-ast2ast/00new/ast2ast/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'ast2ast' as ast2ast_1.0.zip
* DONE (ast2ast)