Found the following significant warnings:
  /home/hornik/tmp/scratch/RtmpzGOqam/R.INSTALL12f12a23a455de/riot/src/vtk-src/Common/DataModel/vtkCellTreeLocator.cxx:312:7: warning: ‘detail::CellTreeBuilder<long long int>::Bucket::Cnt’ will be initialized after [-Wreorder]
  /home/hornik/tmp/scratch/RtmpzGOqam/R.INSTALL12f12a23a455de/riot/src/vtk-src/Common/DataModel/vtkCellTreeLocator.cxx:310:12: warning:   ‘double detail::CellTreeBuilder<long long int>::Bucket::Min’ [-Wreorder]
  /home/hornik/tmp/scratch/RtmpzGOqam/R.INSTALL12f12a23a455de/riot/src/vtk-src/Common/DataModel/vtkCellTreeLocator.cxx:314:5: warning:   when initialized here [-Wreorder]
  /home/hornik/tmp/scratch/RtmpzGOqam/R.INSTALL12f12a23a455de/riot/src/vtk-src/Common/DataModel/vtkCellTreeLocator.cxx:312:7: warning: ‘detail::CellTreeBuilder<int>::Bucket::Cnt’ will be initialized after [-Wreorder]
  /home/hornik/tmp/scratch/RtmpzGOqam/R.INSTALL12f12a23a455de/riot/src/vtk-src/Common/DataModel/vtkCellTreeLocator.cxx:310:12: warning:   ‘double detail::CellTreeBuilder<int>::Bucket::Min’ [-Wreorder]
  /home/hornik/tmp/scratch/RtmpzGOqam/R.INSTALL12f12a23a455de/riot/src/vtk-src/Common/DataModel/vtkPolyhedron.cxx:1501:23: warning: array subscript 2 is outside array bounds of ‘long long int [2]’ [-Warray-bounds]
  /home/hornik/tmp/scratch/RtmpzGOqam/R.INSTALL12f12a23a455de/riot/src/vtk-src/Common/DataModel/vtkPolyhedron.cxx:1491:23: warning: array subscript 2 is outside array bounds of ‘long long int [2]’ [-Warray-bounds]
  /home/hornik/tmp/scratch/RtmpzGOqam/R.INSTALL12f12a23a455de/riot/src/vtk-src/ThirdParty/zlib/vtkzlib/crc32.c:117:16: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  /home/hornik/tmp/scratch/RtmpzGOqam/R.INSTALL12f12a23a455de/riot/src/vtk-src/ThirdParty/zlib/vtkzlib/crc32.c:717:15: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  /home/hornik/tmp/scratch/RtmpzGOqam/R.INSTALL12f12a23a455de/riot/src/vtk-src/ThirdParty/zlib/vtkzlib/crc32.c:726:16: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
See ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/riot.Rcheck/00install.out’ for details.
* used C++ compiler: ‘g++-12 (Debian 12.2.0-14) 12.2.0’