* installing *source* package 'Seurat' ...
** this is package 'Seurat' version '5.4.0'
** package 'Seurat' successfully unpacked and MD5 sums checked
** using staged installation
** libs
specified C++17
using C compiler: 'gcc.exe (GCC) 14.3.0'
using C++ compiler: 'g++.exe (GCC) 14.3.0'
using C++17
make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpOCZmTq/R.INSTALLc7ac53c65cc0/Seurat/src'
g++  -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppProgress/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c ModularityOptimizer.cpp -o ModularityOptimizer.o
ModularityOptimizer.cpp: In constructor 'ModularityOptimizer::Network::Network(int, DVector*, std::vector<std::vector<int> >&, DVector*)':
ModularityOptimizer.cpp:204:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  204 |   for (size_t j = 0; j < edge[0].size(); j++)
      |   ^~~
ModularityOptimizer.cpp:216:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  216 |     for (; i <= nNodes; i++)
      |     ^~~
ModularityOptimizer.cpp: In member function 'ModularityOptimizer::Clustering ModularityOptimizer::Network::identifyComponents()':
ModularityOptimizer.cpp:387:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  387 |         for (int l = firstNeighborIndex[node[k]]; l < firstNeighborIndex[node[k] + 1]; l++)
      |         ^~~
ModularityOptimizer.cpp:395:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  395 |           k++;
      |           ^
ModularityOptimizer.cpp:377:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  377 |   for (int i = 0; i < nNodes; i++)
      |   ^~~
ModularityOptimizer.cpp:399:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  399 |     clustering.orderClustersByNNodes();
      |     ^~~~~~~~~~
ModularityOptimizer.cpp: In member function 'ModularityOptimizer::Network ModularityOptimizer::Network::createSubnetwork(const ModularityOptimizer::Clustering&, int, IVector&, IVector&, IVector&, DVector&) const':
ModularityOptimizer.cpp:429:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  429 |       for (int k = firstNeighborIndex[j]; k < firstNeighborIndex[j + 1]; k++)
      |       ^~~
ModularityOptimizer.cpp:436:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  436 |         subnetwork.firstNeighborIndex[i + 1] = subnetwork.nEdges;
      |         ^~~~~~~~~~
ModularityOptimizer.cpp: In member function 'int ModularityOptimizer::VOSClusteringTechnique::removeCluster(int)':
ModularityOptimizer.cpp:710:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  710 |   for (int j = 0; j < clustering->nClusters; j++)
      |   ^~~
ModularityOptimizer.cpp:721:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  721 |     if (i >= 0)
      |     ^~
ModularityOptimizer.cpp:723:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  723 |       for (int j = 0; j < network->nNodes; j++)
      |       ^~~
ModularityOptimizer.cpp:726:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  726 |         if (cluster == clustering->nClusters - 1)
      |         ^~
ModularityOptimizer.cpp: In member function 'void ModularityOptimizer::VOSClusteringTechnique::removeSmallClusters(int)':
ModularityOptimizer.cpp:740:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  740 |     for (int k = 0; k < vosClusteringTechnique.clustering->nClusters; k++)
      |     ^~~
ModularityOptimizer.cpp:747:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  747 |       if (i >= 0)
      |       ^~
ModularityOptimizer.cpp: In function 'std::shared_ptr<ModularityOptimizer::Network> ModularityOptimizer::matrixToNetwork(IVector&, IVector&, DVector&, int, int)':
ModularityOptimizer.cpp:764:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  764 |   for (size_t i = 0; i < node1.size(); i++)
      |   ^~~
ModularityOptimizer.cpp:771:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  771 |     IVector firstNeighborIndex(nNodes + 1);
      |     ^~~~~~~
ModularityOptimizer.cpp:783:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  783 |     for (size_t i = 0; i < node1.size(); i++)
      |     ^~~
ModularityOptimizer.cpp:796:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  796 |       if (modularityFunction == 1)
      |       ^~
ModularityOptimizer.cpp:761:7: warning: unused variable 'n1_max' [-Wunused-variable]
  761 |   int n1_max = *std::max_element(node1.cbegin(), node1.cend());
      |       ^~~~~~
ModularityOptimizer.cpp:762:7: warning: unused variable 'n2_max' [-Wunused-variable]
  762 |   int n2_max = *std::max_element(node2.cbegin(), node2.cend());
      |       ^~~~~~
g++  -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppProgress/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c RModularityOptimizer.cpp -o RModularityOptimizer.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:205,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Dense:1,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/RcppEigenForward.h:28,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/RcppEigen.h:25,
                 from RModularityOptimizer.cpp:9:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:46:40: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes]
   46 | typedef eigen_packet_wrapper<__m128i, 0> Packet4i;
      |                                        ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:47:40: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes]
   47 | typedef eigen_packet_wrapper<__m128i, 1> Packet16b;
      |                                        ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:49:39: warning: ignoring attributes on template argument '__m128' [-Wignored-attributes]
   49 | template<> struct is_arithmetic<__m128>  { enum { value = true }; };
      |                                       ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:50:40: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes]
   50 | template<> struct is_arithmetic<__m128i> { enum { value = true }; };
      |                                        ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:51:40: warning: ignoring attributes on template argument '__m128d' [-Wignored-attributes]
   51 | template<> struct is_arithmetic<__m128d> { enum { value = true }; };
      |                                        ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:222:43: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
  222 | template<> struct unpacket_traits<Packet4f> {
      |                                           ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:228:43: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
  228 | template<> struct unpacket_traits<Packet2d> {
      |                                           ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:1124:34: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
 1124 | ptranspose(PacketBlock<Packet4f,4>& kernel) {
      |                                  ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:1129:34: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
 1129 | ptranspose(PacketBlock<Packet2d,2>& kernel) {
      |                                  ^
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:174:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:16:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
   16 |   struct conj_helper<PACKET_REAL, PACKET_CPLX, false, false> {          \
      |                                                            ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:173:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
  173 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet2cf,Packet4f)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:29:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
   29 |   struct conj_helper<PACKET_CPLX, PACKET_REAL, false, false> {          \
      |                                                            ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:173:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
  173 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet2cf,Packet4f)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:16:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
   16 |   struct conj_helper<PACKET_REAL, PACKET_CPLX, false, false> {          \
      |                                                            ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:298:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
  298 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet1cd,Packet2d)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:29:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
   29 |   struct conj_helper<PACKET_CPLX, PACKET_REAL, false, false> {          \
      |                                                            ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:298:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
  298 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet1cd,Packet2d)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:165:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<float, 4>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57:   required from 'struct Eigen::internal::traits<Eigen::Matrix<float, 4, 1> >'
   22 |   typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
      |                                                         ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49:   required from 'struct Eigen::internal::traits<Eigen::Quaternion<float> >'
  266 |     Alignment = internal::traits<Coefficients>::Alignment,
      |                                                 ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:24:46:   required from here
   24 |     ResAlignment = traits<Quaternion<float> >::Alignment
      |                                              ^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
  190 |          bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
      |                                       ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
  190 |          bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(4) float>::half' {aka '__m128'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
  208 |   typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
      |                                                                                        ^~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:271:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7:   required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 1>'
  302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7:   required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 3>'
  555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34:   required from 'class Eigen::DenseBase<Eigen::Matrix<float, 4, 1> >'
   41 | template<typename Derived> class DenseBase
      |                                  ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34:   required from 'class Eigen::MatrixBase<Eigen::Matrix<float, 4, 1> >'
   48 | template<typename Derived> class MatrixBase
      |                                  ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7:   required from 'class Eigen::PlainObjectBase<Eigen::Matrix<float, 4, 1> >'
   98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
      |       ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7:   required from 'class Eigen::Matrix<float, 4, 1>'
  178 | class Matrix
      |       ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50:   required from 'class Eigen::QuaternionBase<Eigen::Quaternion<float> >'
   46 |   typedef typename Coefficients::CoeffReturnType CoeffReturnType;
      |                                                  ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7:   required from 'class Eigen::Quaternion<float>'
  273 | class Quaternion : public QuaternionBase<Quaternion<_Scalar,_Options> >
      |       ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:27:3:   required from here
   27 |   {
      |   ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
   56 |                      >::type PacketReturnType;
      |                              ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 4>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57:   required from 'struct Eigen::internal::traits<Eigen::Matrix<double, 4, 1> >'
   22 |   typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
      |                                                         ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49:   required from 'struct Eigen::internal::traits<Eigen::Quaternion<double> >'
  266 |     Alignment = internal::traits<Coefficients>::Alignment,
      |                                                 ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:98:47:   required from here
   98 |     ResAlignment = traits<Quaternion<double> >::Alignment
      |                                               ^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
  190 |          bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
      |                                       ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
  190 |          bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
  208 |   typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
      |                                                                                        ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7:   required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 1>'
  302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7:   required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 3>'
  555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34:   required from 'class Eigen::DenseBase<Eigen::Matrix<double, 4, 1> >'
   41 | template<typename Derived> class DenseBase
      |                                  ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34:   required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 4, 1> >'
   48 | template<typename Derived> class MatrixBase
      |                                  ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7:   required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 4, 1> >'
   98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
      |       ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7:   required from 'class Eigen::Matrix<double, 4, 1>'
  178 | class Matrix
      |       ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50:   required from 'class Eigen::QuaternionBase<Eigen::Quaternion<double> >'
   46 |   typedef typename Coefficients::CoeffReturnType CoeffReturnType;
      |                                                  ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7:   required from 'class Eigen::Quaternion<double>'
  273 | class Quaternion : public QuaternionBase<Quaternion<_Scalar,_Options> >
      |       ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:102:3:   required from here
  102 |   {
      |   ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
   56 |                      >::type PacketReturnType;
      |                              ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/SparseCore:37,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Sparse:26,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/RcppEigenForward.h:29:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of 'class Eigen::SparseMatrixBase<Eigen::SparseMatrix<double, 0, int> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7:   required from 'class Eigen::SparseCompressedBase<Eigen::SparseMatrix<double, 0, int> >'
   36 | class SparseCompressedBase
      |       ^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:96:7:   required from 'class Eigen::SparseMatrix<double, 0, int>'
   96 | class SparseMatrix
      |       ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h:61:25:   required from here
   61 |   typedef Triplet<double> T;
      |                         ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
   47 |                      >::type PacketReturnType;
      |                              ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/RcppEigen.h:26:
D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Function.h: In constructor 'Rcpp::Function_Impl<StoragePolicy>::Function_Impl(const std::string&, const std::string&)':
D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Function.h:75:65: error: 'R_NamespaceRegistry' was not declared in this scope
   75 |             Shield<SEXP> env(R_getVarEx(Rf_install(ns.c_str()), R_NamespaceRegistry, FALSE, R_UnboundValue));
      |                                                                 ^~~~~~~~~~~~~~~~~~~
RModularityOptimizer.cpp: In function 'Rcpp::IntegerVector RunModularityClusteringCpp(Eigen::SparseMatrix<double, 0, int>, int, double, int, int, int, int, bool, std::string)':
RModularityOptimizer.cpp:163:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  163 |     else
      |     ^~~~
RModularityOptimizer.cpp:165:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
  165 |       Rprintf("Number of communities: %d\n", clustering->getNClusters());
      |       ^~~~~~~
make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: RModularityOptimizer.o] Error 1
make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpOCZmTq/R.INSTALLc7ac53c65cc0/Seurat/src'
ERROR: compilation failed for package 'Seurat'
* removing 'd:/Rcompile/CRANpkg/lib/4.6/Seurat'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/Seurat'