* installing *source* package ‘stochtree’ ...
** package ‘stochtree’ successfully unpacked and MD5 sums checked
** using staged installation
checking location of R... /Library/Frameworks/R.framework/Resources
checking whether OpenMP will work in a package... no
***********************************************************************************************
 OpenMP is unavailable on this macOS system. stochtree code will run single-threaded as a result.
 To use all CPU cores for training jobs, you should install OpenMP by running

     brew install libomp
***********************************************************************************************
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++17
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../src/include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DSTOCHTREE_R_BUILD -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/cpp11/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c forest.cpp -o forest.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../src/include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DSTOCHTREE_R_BUILD -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/cpp11/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c kernel.cpp -o kernel.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../src/include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DSTOCHTREE_R_BUILD -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/cpp11/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c R_data.cpp -o R_data.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../src/include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DSTOCHTREE_R_BUILD -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/cpp11/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c R_random_effects.cpp -o R_random_effects.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../src/include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DSTOCHTREE_R_BUILD -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/cpp11/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c sampler.cpp -o sampler.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../src/include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DSTOCHTREE_R_BUILD -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/cpp11/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c serialization.cpp -o serialization.o
In file included from sampler.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:12:
In file included from ../src/include/Eigen/Jacobi:29:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from serialization.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:12:
In file included from ../src/include/Eigen/Jacobi:29:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from sampler.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:43:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from serialization.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:43:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from sampler.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:15:
In file included from ../src/include/Eigen/Householder:27:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from serialization.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:15:
In file included from ../src/include/Eigen/Householder:27:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
In file included from forest.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:12:
In file included from     #pragma clang diagnostic pop
                             ^
../src/include/Eigen/Jacobi:29:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from R_random_effects.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:12:
In file included from ../src/include/Eigen/Jacobi:29:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from R_data.cpp:3:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:12:
In file included from ../src/include/Eigen/Jacobi:29:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from sampler.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from forest.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:43:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from serialization.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from R_data.cpp:3:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:43:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
In file included from R_random_effects.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from In file included from forest.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:15:
In file included from ../src/include/Eigen/Householder:27:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14../src/include/Eigen/Dense    #pragma clang diagnostic pop:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^

                             ^
:3:
In file included from ../src/include/Eigen/Cholesky:43:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from R_data.cpp:3:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:15:
In file included from ../src/include/Eigen/Householder:27:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from kernel.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:12:
In file included from ../src/include/Eigen/Jacobi:29:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from R_random_effects.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:15:
In file included from ../src/include/Eigen/Householder:27:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from forest.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from kernel.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:43:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from R_data.cpp:3:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from R_random_effects.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from kernel.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:15:
In file included from ../src/include/Eigen/Householder:27:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from kernel.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from sampler.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:5:
In file included from ../src/include/Eigen/SVD:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from serialization.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:5:
In file included from ../src/include/Eigen/SVD:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from forest.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:5:
In file included from ../src/include/Eigen/SVD:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from R_random_effects.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:5:
In file included from ../src/include/Eigen/SVD:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from R_data.cpp:3:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:5:
In file included from ../src/include/Eigen/SVD:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from kernel.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:5:
In file included from ../src/include/Eigen/SVD:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from sampler.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:6:
In file included from ../src/include/Eigen/Geometry:57:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from serialization.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:6:
In file included from ../src/include/Eigen/Geometry:57:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from forest.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:6:
In file included from ../src/include/Eigen/Geometry:57:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from R_random_effects.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:6:
In file included from ../src/include/Eigen/Geometry:57:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from sampler.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:7:
In file included from ../src/include/Eigen/Eigenvalues:58:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from kernel.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:6:
In file included from ../src/include/Eigen/Geometry:57:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from R_data.cpp:3:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:6:
In file included from ../src/include/Eigen/Geometry:57:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from serialization.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:7:
In file included from ../src/include/Eigen/Eigenvalues:58:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from forest.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:7:
In file included from ../src/include/Eigen/Eigenvalues:58:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from R_random_effects.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:7:
In file included from ../src/include/Eigen/Eigenvalues:58:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from kernel.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:7:
In file included from ../src/include/Eigen/Eigenvalues:58:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from R_data.cpp:3:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:7:
In file included from ../src/include/Eigen/Eigenvalues:58:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from kernel.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
../src/include/stochtree/data.h:39:7: warning: unused variable 'feature_counter' [-Wunused-variable]
  int feature_counter;
      ^
In file included from forest.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
../src/include/stochtree/data.h:39:7: warning: unused variable 'feature_counter' [-Wunused-variable]
  int feature_counter;
      ^
In file included from R_data.cpp:3:
In file included from ../src/include/stochtree/container.h:9:
../src/include/stochtree/data.h:39:7: warning: unused variable 'feature_counter' [-Wunused-variable]
  int feature_counter;
      ^
In file included from serialization.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
../src/include/stochtree/data.h:39:7: warning: unused variable 'feature_counter' [-Wunused-variable]
  int feature_counter;
      ^
In file included from sampler.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
../src/include/stochtree/data.h:39:7: warning: unused variable 'feature_counter' [-Wunused-variable]
  int feature_counter;
      ^
In file included from R_random_effects.cpp:2:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
../src/include/stochtree/data.h:39:7: warning: unused variable 'feature_counter' [-Wunused-variable]
  int feature_counter;
      ^
../src/include/stochtree/data.h:80:8: warning: unused variable 'column_matched' [-Wunused-variable]
  bool column_matched;
       ^
../src/include/stochtree/data.h:80:8: warning: unused variable 'column_matched' [-Wunused-variable]
  bool column_matched;
       ^
../src/include/stochtree/data.h:80:8: warning: unused variable 'column_matched' [-Wunused-variable]
  bool column_matched;
       ^
../src/include/stochtree/data.h:80:8: warning: unused variable 'column_matched' [-Wunused-variable]
  bool column_matched;
       ^
../src/include/stochtree/data.h:80:8: warning: unused variable 'column_matched' [-Wunused-variable]
  bool column_matched;
       ^
../src/include/stochtree/data.h:80:8: warning: unused variable 'column_matched' [-Wunused-variable]
  bool column_matched;
       ^
In file included from R_data.cpp:6:
In file included from ../src/include/stochtree/tree_sampler.h:10:
../src/include/stochtree/leaf_model.h:1169:8: warning: unused variable 'node_end_iter' [-Wunused-variable]
  auto node_end_iter = tracker.SortedNodeEndIterator(node_id, feature_num);
       ^
../src/include/stochtree/leaf_model.h:1176:15: warning: unused variable 'current_bin_size' [-Wunused-variable]
  data_size_t current_bin_size = cutpoint_grid_container.BinLength(cutpoint_num, feature_num);
              ^
In file included from R_data.cpp:6:
../src/include/stochtree/tree_sampler.h:79:15: warning: unused variable 'idx' [-Wunused-variable]
  data_size_t idx;
              ^
../src/include/stochtree/tree_sampler.h:122:15: warning: unused variable 'idx' [-Wunused-variable]
  data_size_t idx;
              ^
In file included from serialization.cpp:2:
In file included from ./stochtree_types.h:4:
../src/include/stochtree/leaf_model.h:1169:8: warning: unused variable 'node_end_iter' [-Wunused-variable]
  auto node_end_iter = tracker.SortedNodeEndIterator(node_id, feature_num);
       ^
../src/include/stochtree/leaf_model.h:1176:15: warning: unused variable 'current_bin_size' [-Wunused-variable]
  data_size_t current_bin_size = cutpoint_grid_container.BinLength(cutpoint_num, feature_num);
              ^
In file included from R_random_effects.cpp:2:
In file included from ./stochtree_types.h:4In file included from kernel.cpp:2:
In file included from ./stochtree_types.h:4:
../src/include/stochtree/leaf_model.h:1169:8: warning: unused variable 'node_end_iter' [-Wunused-variable]
  auto node_end_iter = tracker.SortedNodeEndIterator(node_id, feature_num);
       ^
../src/include/stochtree/leaf_model.h:1176:15: warning: unused variable 'current_bin_size' [-Wunused-variable]
:
../src/include/stochtree/leaf_model.h:1169:8  data_size_t current_bin_size = cutpoint_grid_container.BinLength(cutpoint_num, feature_num);
              ^
: warning: unused variable 'node_end_iter' [-Wunused-variable]
  auto node_end_iter = tracker.SortedNodeEndIterator(node_id, feature_num);
       ^
../src/include/stochtree/leaf_model.h:1176:15: warning: unused variable 'current_bin_size' [-Wunused-variable]
  data_size_t current_bin_size = cutpoint_grid_container.BinLength(cutpoint_num, feature_num);
              ^
In file included from sampler.cpp:2:
In file included from ./stochtree_types.h:4:
../src/include/stochtree/leaf_model.h:1169:8: warning: unused variable 'node_end_iter' [-Wunused-variable]
  auto node_end_iter = tracker.SortedNodeEndIterator(node_id, feature_num);
       ^
../src/include/stochtree/leaf_model.h:1176:15: warning: unused variable 'current_bin_size' [-Wunused-variable]
  data_size_t current_bin_size = cutpoint_grid_container.BinLength(cutpoint_num, feature_num);
              ^
In file included from forest.cpp:2:
In file included from ./stochtree_types.h:4:
../src/include/stochtree/leaf_model.h:1169:8: warning: unused variable 'node_end_iter' [-Wunused-variable]
  auto node_end_iter = tracker.SortedNodeEndIterator(node_id, feature_num);
       ^
../src/include/stochtree/leaf_model.h:1176:15: warning: unused variable 'current_bin_size' [-Wunused-variable]
  data_size_t current_bin_size = cutpoint_grid_container.BinLength(cutpoint_num, feature_num);
              ^
../src/include/stochtree/tree_sampler.h:537:23: warning: unused variable 'current_bin_begin' [-Wunused-variable]
          data_size_t current_bin_begin = cutpoint_grid_container.BinStartIndex(cutpoint_idx, j);
                      ^
../src/include/stochtree/tree_sampler.h:538:23: warning: unused variable 'current_bin_size' [-Wunused-variable]
          data_size_t current_bin_size = cutpoint_grid_container.BinLength(cutpoint_idx, j);
                      ^
../src/include/stochtree/tree_sampler.h:539:23: warning: unused variable 'next_bin_begin' [-Wunused-variable]
          data_size_t next_bin_begin = cutpoint_grid_container.BinStartIndex(cutpoint_idx + 1, j);
                      ^
../src/include/stochtree/tree_sampler.h:534:21: warning: unused variable 'feature_type' [-Wunused-variable]
        FeatureType feature_type = feature_types[j];
                    ^
../src/include/stochtree/tree_sampler.h:648:13: warning: unused variable 'num_categories' [-Wunused-variable]
        int num_categories;
            ^
../src/include/stochtree/tree_sampler.h:633:19: warning: unused variable 'node_n' [-Wunused-variable]
      data_size_t node_n = node_end - node_begin;
                  ^
../src/include/stochtree/tree_sampler.h:641:19: warning: unused variable 'right_n' [-Wunused-variable]
      data_size_t right_n = 0;
                  ^
../src/include/stochtree/tree_sampler.h:642:19: warning: unused variable 'sort_idx' [-Wunused-variable]
      data_size_t sort_idx;
                  ^
../src/include/stochtree/tree_sampler.h:643:14: warning: unused variable 'feature_value' [-Wunused-variable]
      double feature_value;
             ^
../src/include/stochtree/tree_sampler.h:644:12: warning: unused variable 'split_true' [-Wunused-variable]
      bool split_true;
           ^
../src/include/stochtree/tree_sampler.h:514:17: warning: unused variable 'num_cutpoints' [-Wunused-variable]
    data_size_t num_cutpoints = 0;
                ^
../src/include/stochtree/tree_sampler.h:787:7: warning: unused variable 'num_trees' [-Wunused-variable]
  int num_trees = forests.NumTrees();
      ^
../src/include/stochtree/tree_sampler.h:829:15: warning: unused variable 'n' [-Wunused-variable]
  data_size_t n = dataset.GetCovariates().rows();
              ^
../src/include/stochtree/tree_sampler.h:844:8: warning: variable 'accept' set but not used [-Wunused-but-set-variable]
  bool accept;
       ^
../src/include/stochtree/tree_sampler.h:947:7: warning: unused variable 'feature_split' [-Wunused-variable]
  int feature_split = tree->SplitIndex(leaf_parent_chosen);
      ^
../src/include/stochtree/tree_sampler.h:955:11: warning: unused variable 'left_n' [-Wunused-variable]
  int32_t left_n = std::get<2>(split_eval);
          ^
../src/include/stochtree/tree_sampler.h:956:11: warning: unused variable 'right_n' [-Wunused-variable]
  int32_t right_n = std::get<3>(split_eval);
          ^
../src/include/stochtree/tree_sampler.h:1000:8: warning: variable 'accept' set but not used [-Wunused-but-set-variable]
  bool accept;
       ^
../src/include/stochtree/tree_sampler.h:1050:8: warning: unused variable 'accept' [-Wunused-variable]
  bool accept;
       ^
../src/include/stochtree/tree_sampler.h:1096:7: warning: unused variable 'num_trees' [-Wunused-variable]
  int num_trees = forests.NumTrees();
      ^
R_data.cpp:9:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
In file included from kernel.cpp:2:
In file included from ./stochtree_types.h:8:
../src/include/stochtree/tree_sampler.h:79:15: warning: unused variable 'idx' [-Wunused-variable]
  data_size_t idx;
              ^
../src/include/stochtree/tree_sampler.h:122:15: warning: unused variable 'idx' [-Wunused-variable]
  data_size_t idx;
              ^
In file included from serialization.cpp:2:
In file included from ./stochtree_types.h:8:
../src/include/stochtree/tree_sampler.h:79:15: warning: unused variable 'idx' [-Wunused-variable]
  data_size_t idx;
              ^
In file included from sampler.cpp:2:
In file included from ./stochtree_types.h:8:
../src/include/stochtree/tree_sampler.h:79:15: warning: unused variable 'idx' [-Wunused-variable]
  data_size_t idx;
              ^
../src/include/stochtree/tree_sampler.h:122:15: warning: unused variable 'idx' [-Wunused-variable]
  data_size_t idx;
              ^
../src/include/stochtree/tree_sampler.h:122:15: warning: unused variable 'idx' [-Wunused-variable]
  data_size_t idx;
              ^
In file included from R_random_effects.cpp:2:
In file included from ./stochtree_types.h:8:
../src/include/stochtree/tree_sampler.h:79:15: warning: unused variable 'idx' [-Wunused-variable]
  data_size_t idx;
              ^
../src/include/stochtree/tree_sampler.h:122:15: warning: unused variable 'idx' [-Wunused-variable]
  data_size_t idx;
              ^
In file included from forest.cpp:2:
In file included from ./stochtree_types.h:8:
../src/include/stochtree/tree_sampler.h:79:15: warning: unused variable 'idx' [-Wunused-variable]
  data_size_t idx;
              ^
../src/include/stochtree/tree_sampler.h:122:15: warning: unused variable 'idx' [-Wunused-variable]
  data_size_t idx;
              ^
../src/include/stochtree/tree_sampler.h:537:23: warning: unused variable 'current_bin_begin' [-Wunused-variable]
          data_size_t current_bin_begin = cutpoint_grid_container.BinStartIndex(cutpoint_idx, j);
                      ^
../src/include/stochtree/tree_sampler.h:538:23: warning: unused variable 'current_bin_size' [-Wunused-variable]
          data_size_t current_bin_size = cutpoint_grid_container.BinLength(cutpoint_idx, j);
                      ^
../src/include/stochtree/tree_sampler.h:539:23: warning: unused variable 'next_bin_begin' [-Wunused-variable]
          data_size_t next_bin_begin = cutpoint_grid_container.BinStartIndex(cutpoint_idx + 1, j);
                      ^
../src/include/stochtree/tree_sampler.h:534:21: warning: unused variable 'feature_type' [-Wunused-variable]
        FeatureType feature_type = feature_types[j];
                    ^
../src/include/stochtree/tree_sampler.h:537:23: warning: unused variable 'current_bin_begin' [-Wunused-variable]
          data_size_t current_bin_begin = cutpoint_grid_container.BinStartIndex(cutpoint_idx, j);
                      ^
../src/include/stochtree/tree_sampler.h:538:23: warning: unused variable 'current_bin_size' [-Wunused-variable]
          data_size_t current_bin_size = cutpoint_grid_container.BinLength(cutpoint_idx, j);
                      ^
../src/include/stochtree/tree_sampler.h:539:23: warning: unused variable 'next_bin_begin' [-Wunused-variable]
          data_size_t next_bin_begin = cutpoint_grid_container.BinStartIndex(cutpoint_idx + 1, j);
                      ^
../src/include/stochtree/tree_sampler.h:534:21: warning: unused variable 'feature_type' [-Wunused-variable]
        FeatureType feature_type = feature_types[j];
                    ^
../src/include/stochtree/tree_sampler.h:537:23: warning: unused variable 'current_bin_begin' [-Wunused-variable]
          data_size_t current_bin_begin = cutpoint_grid_container.BinStartIndex(cutpoint_idx, j);
                      ^
../src/include/stochtree/tree_sampler.h:538:23: warning: unused variable 'current_bin_size' [-Wunused-variable]
          data_size_t current_bin_size = cutpoint_grid_container.BinLength(cutpoint_idx, j);
                      ^
../src/include/stochtree/tree_sampler.h:539:23: warning: unused variable 'next_bin_begin' [-Wunused-variable]
          data_size_t next_bin_begin = cutpoint_grid_container.BinStartIndex(cutpoint_idx + 1, j);
                      ^
../src/include/stochtree/tree_sampler.h:534:21: warning: unused variable 'feature_type' [-Wunused-variable]
        FeatureType feature_type = feature_types[j];
                    ^
../src/include/stochtree/tree_sampler.h:648:13: warning: unused variable 'num_categories' [-Wunused-variable]
        int num_categories;
            ^
../src/include/stochtree/tree_sampler.h:648:13: warning: unused variable 'num_categories' [-Wunused-variable]
        int num_categories;
            ^
../src/include/stochtree/tree_sampler.h:../src/include/stochtree/tree_sampler.h:537:23: warning: unused variable 'current_bin_begin' [-Wunused-variable]
648:13:          data_size_t current_bin_begin = cutpoint_grid_container.BinStartIndex(cutpoint_idx, j);
                      ^
../src/include/stochtree/tree_sampler.h:538:23: warning: unused variable 'current_bin_size' [-Wunused-variable] warning: unused variable 'num_categories' [-Wunused-variable]

          data_size_t current_bin_size = cutpoint_grid_container.BinLength(cutpoint_idx, j);
                      ^
        int num_categories;
../src/include/stochtree/tree_sampler.h:539:23: warning: unused variable 'next_bin_begin' [-Wunused-variable]
            ^
          data_size_t next_bin_begin = cutpoint_grid_container.BinStartIndex(cutpoint_idx + 1, j);
                      ^
../src/include/stochtree/tree_sampler.h:534:21: warning: unused variable 'feature_type' [-Wunused-variable]
        FeatureType feature_type = feature_types[j];
                    ^
R_data.cpp:18:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:23:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:28:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:33:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:38:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:43:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
../src/include/stochtree/tree_sampler.h:537:23: warning: unused variable 'current_bin_begin' [-Wunused-variable]
          data_size_t current_bin_begin = cutpoint_grid_container.BinStartIndex(cutpoint_idx, j);
                      ^
../src/include/stochtree/tree_sampler.h:538:23: warning: unused variable 'current_bin_size' [-Wunused-variable]
          data_size_t current_bin_size = cutpoint_grid_container.BinLength(cutpoint_idx, j);
                      ^
../src/include/stochtree/tree_sampler.h:539:23: warning: unused variable 'next_bin_begin' [-Wunused-variable]
          data_size_t next_bin_begin = cutpoint_grid_container.BinStartIndex(cutpoint_idx + 1, j);
                      ^
../src/include/stochtree/tree_sampler.h:534:21: warning: unused variable 'feature_type' [-Wunused-variable]
        FeatureType feature_type = feature_types[j];
                    ^
../src/include/stochtree/tree_sampler.h:648:13: warning: unused variable 'num_categories' [-Wunused-variable]
        int num_categories;
            ^
R_data.cpp:58:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:73:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:88:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:99:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:110:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:126:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:140:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
../src/include/stochtree/tree_sampler.h:648:13: warning: unused variable 'num_categories' [-Wunused-variable]
        int num_categories;
            ^
R_data.cpp:151:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:167:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:180:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:193:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:206:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
../src/include/stochtree/tree_sampler.h:633:19: warning: unused variable 'node_n' [-Wunused-variable]
      data_size_t node_n = node_end - node_begin;
                  ^
../src/include/stochtree/tree_sampler.h:641:19: warning: unused variable 'right_n' [-Wunused-variable]
      data_size_t right_n = 0;
                  ^
../src/include/stochtree/tree_sampler.h:642:19: warning: unused variable 'sort_idx' [-Wunused-variable]
      data_size_t sort_idx;
                  ^
../src/include/stochtree/tree_sampler.h:643:14: warning: unused variable 'feature_value' [-Wunused-variable]
      double feature_value;
             ^
../src/include/stochtree/tree_sampler.h:644:12: warning: unused variable 'split_true' [-Wunused-variable]
      bool split_true;
           ^
../src/include/stochtree/tree_sampler.h:514:17: warning: unused variable 'num_cutpoints' [-Wunused-variable]
    data_size_t num_cutpoints = 0;
                ^
../src/include/stochtree/tree_sampler.h:633:19: warning: unused variable 'node_n' [-Wunused-variable]
      data_size_t node_n = node_end - node_begin;
                  ^
../src/include/stochtree/tree_sampler.h:641:19: warning: unused variable 'right_n' [-Wunused-variable]
      data_size_t right_n = 0;
                  ^
../src/include/stochtree/tree_sampler.h:642:19: warning: unused variable 'sort_idx' [-Wunused-variable]
      data_size_t sort_idx;
                  ^
../src/include/stochtree/tree_sampler.h:643:14: warning: unused variable 'feature_value' [-Wunused-variable]
      double feature_value;
             ^
../src/include/stochtree/tree_sampler.h:644:12: warning: unused variable 'split_true' [-Wunused-variable]
      bool split_true;
           ^
../src/include/stochtree/tree_sampler.h:514:17: warning: unused variable 'num_cutpoints' [-Wunused-variable]
    data_size_t num_cutpoints = 0;
                ^
../src/include/stochtree/tree_sampler.h:633:19: warning: unused variable 'node_n' [-Wunused-variable]
      data_size_t node_n = node_end - node_begin;
                  ^
../src/include/stochtree/tree_sampler.h:641:19: warning: unused variable 'right_n' [-Wunused-variable]
      data_size_t right_n = 0;
                  ^
../src/include/stochtree/tree_sampler.h:642:19: warning: unused variable 'sort_idx' [-Wunused-variable]
      data_size_t sort_idx;
                  ^
../src/include/stochtree/tree_sampler.h:643:14: warning: unused variable 'feature_value' [-Wunused-variable]
      double feature_value;
             ^
../src/include/stochtree/tree_sampler.h:644:12: warning: unused variable 'split_true' [-Wunused-variable]
      bool split_true;
           ^
../src/include/stochtree/tree_sampler.h:514:17: warning: unused variable 'num_cutpoints' [-Wunused-variable]
    data_size_t num_cutpoints = 0;
                ^
../src/include/stochtree/tree_sampler.h:787:7: warning: unused variable 'num_trees' [-Wunused-variable]
  int num_trees = forests.NumTrees();
      ^
../src/include/stochtree/tree_sampler.h:787:7: warning: unused variable 'num_trees' [-Wunused-variable]
  int num_trees = forests.NumTrees();
      ^
../src/include/stochtree/tree_sampler.h:787:7: warning: unused variable 'num_trees' [-Wunused-variable]
  int num_trees = forests.NumTrees();
      ^
../src/include/stochtree/tree_sampler.h:829:15: warning: unused variable 'n' [-Wunused-variable]
  data_size_t n = dataset.GetCovariates().rows();
              ^
../src/include/stochtree/tree_sampler.h:844:8: warning: variable 'accept' set but not used [-Wunused-but-set-variable]
  bool accept;
       ^
../src/include/stochtree/tree_sampler.h:633:19: warning: unused variable 'node_n' [-Wunused-variable]
      data_size_t node_n = node_end - node_begin;
                  ^
../src/include/stochtree/tree_sampler.h:641:19: warning: unused variable 'right_n' [-Wunused-variable]
      data_size_t right_n = 0;
                  ^
../src/include/stochtree/tree_sampler.h:642:19: warning: unused variable 'sort_idx' [-Wunused-variable]
      data_size_t sort_idx;
                  ^
../src/include/stochtree/tree_sampler.h:643:14: warning: unused variable 'feature_value' [-Wunused-variable]
      double feature_value;
             ^
../src/include/stochtree/tree_sampler.h:644:12: warning: unused variable 'split_true' [-Wunused-variable]
      bool split_true;
           ^
../src/include/stochtree/tree_sampler.h:514:17: warning: unused variable 'num_cutpoints' [-Wunused-variable]
    data_size_t num_cutpoints = 0;
                ^
../src/include/stochtree/tree_sampler.h:829:15: warning: unused variable 'n' [-Wunused-variable]
  data_size_t n = dataset.GetCovariates().rows();
              ^
../src/include/stochtree/tree_sampler.h:844:8: warning: variable 'accept' set but not used [-Wunused-but-set-variable]
  bool accept;
       ^
../src/include/stochtree/tree_sampler.h:947:7: warning: unused variable 'feature_split' [-Wunused-variable]
  int feature_split = tree->SplitIndex(leaf_parent_chosen);
      ^
../src/include/stochtree/tree_sampler.h:955:11: warning: unused variable 'left_n' [-Wunused-variable]
  int32_t left_n = std::get<2>(split_eval);
          ^
../src/include/stochtree/tree_sampler.h:956:11: warning: unused variable 'right_n' [-Wunused-variable]
  int32_t right_n = std::get<3>(split_eval);
          ^
../src/include/stochtree/tree_sampler.h:1000:8: warning: variable 'accept' set but not used [-Wunused-but-set-variable]
  bool accept;
       ^
../src/include/stochtree/tree_sampler.h:829:15: warning: unused variable 'n' [-Wunused-variable]
  data_size_t n = dataset.GetCovariates().rows();
              ^
../src/include/stochtree/tree_sampler.h:844:8: warning: variable 'accept' set but not used [-Wunused-but-set-variable]
  bool accept;
       ^
../src/include/stochtree/tree_sampler.h:1050:8: warning: unused variable 'accept' [-Wunused-variable]
  bool accept;
       ^
../src/include/stochtree/tree_sampler.h:1096:7: warning: unused variable 'num_trees' [-Wunused-variable]
  int num_trees = forests.NumTrees();
      ^
../src/include/stochtree/tree_sampler.h:947:7: warning: unused variable 'feature_split' [-Wunused-variable]
  int feature_split = tree->SplitIndex(leaf_parent_chosen);
      ^
../src/include/stochtree/tree_sampler.h:955:11: warning: unused variable 'left_n' [-Wunused-variable]
  int32_t left_n = std::get<2>(split_eval);
          ^
../src/include/stochtree/tree_sampler.h:956:11: warning: unused variable 'right_n' [-Wunused-variable]
  int32_t right_n = std::get<3>(split_eval);
kernel.cpp:10:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
          ^
../src/include/stochtree/tree_sampler.h:1000:8: warning: variable 'accept' set but not used [-Wunused-but-set-variable]
  bool accept;
       ^
../src/include/stochtree/tree_sampler.h:947:7: warning: unused variable 'feature_split' [-Wunused-variable]
  int feature_split = tree->SplitIndex(leaf_parent_chosen);
      ^
../src/include/stochtree/tree_sampler.h:955:11: warning: unused variable 'left_n' [-Wunused-variable]
  int32_t left_n = std::get<2>(split_eval);
          ^
../src/include/stochtree/tree_sampler.h:956:11: warning: unused variable 'right_n' [-Wunused-variable]
  int32_t right_n = std::get<3>(split_eval);
          ^
../src/include/stochtree/tree_sampler.h:1000:8: warning: variable 'accept' set but not used [-Wunused-but-set-variable]
  bool accept;
       ^
../src/include/stochtree/tree_sampler.h:787:7: warning: unused variable 'num_trees' [-Wunused-variable]
  int num_trees = forests.NumTrees();
      ^
../src/include/stochtree/tree_sampler.h:1050:8: warning: unused variable 'accept' [-Wunused-variable]
  bool accept;
       ^
../src/include/stochtree/tree_sampler.h:1050:8: warning: unused variable 'accept' [-Wunused-variable]
  bool accept;
../src/include/stochtree/tree_sampler.h:633:19: warning: unused variable 'node_n' [-Wunused-variable]
       ^
      data_size_t node_n = node_end - node_begin;
                  ^
../src/include/stochtree/tree_sampler.h:641:19: warning: unused variable 'right_n' [-Wunused-variable]
      data_size_t right_n = 0;
../src/include/stochtree/tree_sampler.h:1096:7: warning: unused variable 'num_trees' [-Wunused-variable]
                  ^
../src/include/stochtree/tree_sampler.h:642:19: warning: unused variable 'sort_idx' [-Wunused-variable]
  int num_trees = forests.NumTrees();
      ^
../src/include/stochtree/tree_sampler.h:1096:7: warning:       data_size_t sort_idx;
                  ^
../src/include/stochtree/tree_sampler.h:643:14: warning: unused variable 'feature_value' [-Wunused-variable]
      double feature_value;
             ^
../src/include/stochtree/tree_sampler.h:644:12unused variable 'num_trees' [-Wunused-variable]
  int num_trees = forests.NumTrees();
      ^
: warning: unused variable 'split_true' [-Wunused-variable]
      bool split_true;
           ^
../src/include/stochtree/tree_sampler.h:514:17: warning: unused variable 'num_cutpoints' [-Wunused-variable]
    data_size_t num_cutpoints = 0;
                ^
../src/include/stochtree/tree_sampler.h:829:15: warning: unused variable 'n' [-Wunused-variable]
  data_size_t n = dataset.GetCovariates().rows();
              ^
../src/include/stochtree/tree_sampler.h:844:8: warning: variable 'accept' set but not used [-Wunused-but-set-variable]
  bool accept;
       ^
../src/include/stochtree/tree_sampler.h:947:7: warning: unused variable 'feature_split' [-Wunused-variable]
  int feature_split = tree->SplitIndex(leaf_parent_chosen);
      ^
../src/include/stochtree/tree_sampler.h:955:11: warning: unused variable 'left_n' [-Wunused-variable]sampler.cpp:12:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
  int32_t left_n = std::get<2>(split_eval);
          ^
../src/include/stochtree/tree_sampler.h:956:
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
11: warning: unused variable 'right_n' [-Wunused-variable]
  int32_t right_n = std::get<3>(split_eval);
          ^
../src/include/stochtree/tree_sampler.h:1000:8: warning: variable 'accept' set but not used [-Wunused-but-set-variable]
  bool accept;
       ^
serialization.cpp:12:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
../src/include/stochtree/tree_sampler.h:787:7: warning: unused variable 'num_trees' [-Wunused-variable]
  int num_trees = forests.NumTrees();
      ^
../src/include/stochtree/tree_sampler.h:1050:8: warning: unused variable 'accept' [-Wunused-variable]
  bool accept;
       ^
../src/include/stochtree/tree_sampler.h:1096:7: warning: unused variable 'num_trees' [-Wunused-variable]
  int num_trees = forests.NumTrees();
      ^
../src/include/stochtree/tree_sampler.h:829:15: warning: unused variable 'n' [-Wunused-variable]
  data_size_t n = dataset.GetCovariates().rows();
              ^
../src/include/stochtree/tree_sampler.h:844:8: warning: variable 'accept' set but not used [-Wunused-but-set-variable]
  bool accept;
       ^
R_random_effects.cpp:12:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
../src/include/stochtree/tree_sampler.h:947:7: warning: unused variable 'feature_split' [-Wunused-variable]
  int feature_split = tree->SplitIndex(leaf_parent_chosen);
      ^
../src/include/stochtree/tree_sampler.h:955:11: warning: unused variable 'left_n' [-Wunused-variable]
  int32_t left_n = std::get<2>(split_eval);
          ^
../src/include/stochtree/tree_sampler.h:956:11: warning: unused variable 'right_n' [-Wunused-variable]
  int32_t right_n = std::get<3>(split_eval);
          ^
../src/include/stochtree/tree_sampler.h:1000:8: warning: variable 'accept' set but not used [-Wunused-but-set-variable]
  bool accept;
       ^
serialization.cpp:25:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
../src/include/stochtree/tree_sampler.h:1050:8: warning: unused variable 'accept' [-Wunused-variable]
  bool accept;
       ^
../src/include/stochtree/tree_sampler.h:1096:7: warning: unused variable 'num_trees' [-Wunused-variable]
  int num_trees = forests.NumTrees();
      ^
R_data.cpp:212:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
sampler.cpp:53:14: warning: variable 'model_type' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
    else if (leaf_model_int == 3) model_type = StochTree::ModelType::kLogLinearVariance;
             ^~~~~~~~~~~~~~~~~~~
R_data.cpp:227:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
sampler.cpp:59:10:[[cpp11::register]]
  ^~~~~~~~~~~~~~~
 note: uninitialized use occurs here
    if ((model_type == StochTree::ModelType::kConstantLeafGaussian) || 
         ^~~~~~~~~~
sampler.cpp:53:10: note: remove the 'if' if its condition is always true
    else if (leaf_model_int == 3) model_type = StochTree::ModelType::kLogLinearVariance;
         ^~~~~~~~~~~~~~~~~~~~~~~~~                                                     ~
sampler.cpp:49:5: note: variable 'model_type' is declared here
    StochTree::ModelType model_type;
    ^
forest.cpp:12:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:236:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:251:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:262:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:270:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:275:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:280:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:285:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:290:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:295:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:302:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:317:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:328:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:338:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_data.cpp:351:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:39:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:48:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:62:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:71:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:85:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:94:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:118:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:134:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:158:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:174:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
kernel.cpp:15:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:21:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:198:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:214:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:37:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:228:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:237:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:250:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:259:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:53:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:264:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:269:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:274:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:forest.cpp:21:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
279:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:284:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:289:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:30:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:46:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:70:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:55:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:294:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:74:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:79:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:79:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:299:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:84:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:89:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:101:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:98:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:117:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:111:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:116:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:121:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:126:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:131:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:136:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:141:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:147:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:153:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:forest.cpp:158:137:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:163:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:168:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:173:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:178:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:183:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:188:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:193:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:149:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
forest.cpp:198:3: [[cpp11::register]]
  ^~~~~~~~~~~~~~~
warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:213:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:229:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:242:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:260:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:269:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
sampler.cpp:95:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:284:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:302:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:158:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:323:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:344:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
sampler.cpp:135:14: warning: variable 'model_type' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
    else if (leaf_model_int == 3) model_type = StochTree::ModelType::kLogLinearVariance;
             ^~~~~~~~~~~~~~~~~~~
sampler.cpp:141:10: note: uninitialized use occurs here
    if ((model_type == StochTree::ModelType::kConstantLeafGaussian) || 
         ^~~~~~~~~~
sampler.cpp:135:10: note: remove the 'if' if its condition is always true
forest.cpp:    else if (leaf_model_int == 3) model_type = StochTree::ModelType::kLogLinearVariance;
         ^~~~~~~~~~~~~~~~~~~~~~~~~                                                     ~
sampler.cpp:131:353:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
5: note: variable 'model_type' is declared here
    StochTree::ModelType model_type;
    ^
forest.cpp:360:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:367:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:374:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:307:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:381:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:388:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:395:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:402:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
sampler.cpp:177:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:409:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:416:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
sampler.cpp:192:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:315:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
sampler.cpp:202:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:425:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:170:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:179:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:437:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:444:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:451:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:323:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
forest.cpp:458:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:465:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:187:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:474:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:483:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:331:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
sampler.cpp:216:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:195:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:206:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:211:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:216:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:221:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:226:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:235:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:494:14: warning: variable 'model_type' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
    else if (leaf_model_int == 3) model_type = StochTree::ModelType::kLogLinearVariance;
             ^~~~~~~~~~~~~~~~~~~
forest.cpp:501:10: note: uninitialized use occurs here
    if ((model_type == StochTree::ModelType::kConstantLeafGaussian) || 
         ^~~~~~~~~~
forest.cpp:494:10: note: remove the 'if' if its condition is always true
    else if (leaf_model_int == 3) model_type = StochTree::ModelType::kLogLinearVariance;
         ^~~~~~~~~~~~~~~~~~~~~~~~~                                                     ~
forest.cpp:490:5: note: variable 'model_type' is declared here
    StochTree::ModelType model_type;
    ^
sampler.cpp:225:3: warning: R_random_effects.cppserialization.cpp:339unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
:246:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
sampler.cpp[[cpp11::register]]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
  ^~~~~~~~~~~~~~~
:231:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
sampler.cpp:237:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
sampler.cpp:243:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
sampler.cpp:249:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:257:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
sampler.cpp:254:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
sampler.cpp:260:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
sampler.cpp:265:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
sampler.cppR_random_effects.cpp:268:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
:270:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:273:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:278:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:284:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:347:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
R_random_effects.cpp:289:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes][[cpp11::register]]
  ^~~~~~~~~~~~~~~

[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:294:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:299:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:304:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
sampler.cpp:285:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:320:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
sampler.cpp:295:3: warning: R_random_effects.cpp:328:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
R_random_effects.cpp:337:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:535:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:550:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:560:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:566:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:584:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:606:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:624:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:641:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:649:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:667:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:672:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:677:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:682:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:687:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:692:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:697:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:702:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:707:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:713:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:725:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:742:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:750:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:764:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:781:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:798:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:809:14: warning: variable 'model_type' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
    else if (leaf_model_int == 3) model_type = StochTree::ModelType::kLogLinearVariance;
             ^~~~~~~~~~~~~~~~~~~
forest.cpp:816:10: note: uninitialized use occurs here
    if ((model_type == StochTree::ModelType::kConstantLeafGaussian) || 
         ^~~~~~~~~~
forest.cpp:809:10: note: remove the 'if' if its condition is always true
    else if (leaf_model_int == 3) model_type = StochTree::ModelType::kLogLinearVariance;
         ^~~~~~~~~~~~~~~~~~~~~~~~~                                                     ~
forest.cpp:805:5: note: variable 'model_type' is declared here
    StochTree::ModelType model_type;
    ^
forest.cpp:854:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:869:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:878:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:889:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
forest.cpp:899:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:357:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:363:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:372:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:381:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:393:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:398:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:404:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
serialization.cpp:412:3: warning: unknown attribute 'register' ignored [-Wunknown-attributes]
[[cpp11::register]]
  ^~~~~~~~~~~~~~~
In file included from R_data.cpp:5:
In file included from ../src/include/stochtree/partition_tracker.h:31:
../src/include/stochtree/openmp_utils.h:63:12: warning: unused function 'GetCurrentThreadNum' [-Wunused-function]
static int GetCurrentThreadNum() {
           ^
../src/include/stochtree/openmp_utils.h:67:12: warning: unused function 'GetNumThreads' [-Wunused-function]
static int GetNumThreads() {
           ^
../src/include/stochtree/openmp_utils.h:71:13: warning: unused function 'SetNumThreads' [-Wunused-function]
static void SetNumThreads(int num_threads) {
            ^
In file included from kernel.cpp:2:
In file included from ./stochtree_types.h:4:
In file included from ../src/include/stochtree/leaf_model.h:9:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:31:
../src/include/stochtree/openmp_utils.h:63:12: warning: unused function 'GetCurrentThreadNum' [-Wunused-function]
static int GetCurrentThreadNum() {
           ^
../src/include/stochtree/openmp_utils.h:67:12: warning: unused function 'GetNumThreads' [-Wunused-function]
static int GetNumThreads() {
           ^
../src/include/stochtree/openmp_utils.h:71:13: warning: unused function 'SetNumThreads' [-Wunused-function]
static void SetNumThreads(int num_threads) {
            ^
In file included from R_random_effects.cpp:2:
In file included from ./stochtree_types.h:4:
In file included from ../src/include/stochtree/leaf_model.h:9:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:31:
../src/include/stochtree/openmp_utils.h:63:12: warning: unused function 'GetCurrentThreadNum' [-Wunused-function]
static int GetCurrentThreadNum() {
           ^
../src/include/stochtree/openmp_utils.h:67:12: warning: unused function 'GetNumThreads' [-Wunused-function]
static int GetNumThreads() {
           ^
../src/include/stochtree/openmp_utils.h:71:13: warning: unused function 'SetNumThreads' [-Wunused-function]
static void SetNumThreads(int num_threads) {
            ^
38 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../src/include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DSTOCHTREE_R_BUILD -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/cpp11/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c cpp11.cpp -o cpp11.o
In file included from sampler.cpp:2:
In file included from ./stochtree_types.h:4:
In file included from ../src/include/stochtree/leaf_model.h:9:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:31:
../src/include/stochtree/openmp_utils.h:63:12: warning: unused function 'GetCurrentThreadNum' [-Wunused-function]
static int GetCurrentThreadNum() {
           ^
../src/include/stochtree/openmp_utils.h:67:12: warning: unused function 'GetNumThreads' [-Wunused-function]
static int GetNumThreads() {
           ^
../src/include/stochtree/openmp_utils.h:71:13: warning: unused function 'SetNumThreads' [-Wunused-function]
static void SetNumThreads(int num_threads) {
            ^
In file included from serialization.cpp:2:
In file included from ./stochtree_types.h:4:
In file included from ../src/include/stochtree/leaf_model.h:9:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:31:
../src/include/stochtree/openmp_utils.h:63:12: warning: unused function 'GetCurrentThreadNum' [-Wunused-function]
static int GetCurrentThreadNum() {
           ^
../src/include/stochtree/openmp_utils.h:67:12: warning: unused function 'GetNumThreads' [-Wunused-function]
static int GetNumThreads() {
           ^
../src/include/stochtree/openmp_utils.h:71:13: warning: unused function 'SetNumThreads' [-Wunused-function]
static void SetNumThreads(int num_threads) {
            ^
71 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../src/include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DSTOCHTREE_R_BUILD -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/cpp11/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c container.cpp -o container.o
In file included from forest.cpp:2:
In file included from ./stochtree_types.h:4:
In file included from ../src/include/stochtree/leaf_model.h:9:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:31:
../src/include/stochtree/openmp_utils.h:63:12: warning: unused function 'GetCurrentThreadNum' [-Wunused-function]
static int GetCurrentThreadNum() {
           ^
../src/include/stochtree/openmp_utils.h:67:12: warning: unused function 'GetNumThreads' [-Wunused-function]
static int GetNumThreads() {
           ^
../src/include/stochtree/openmp_utils.h:71:13: warning: unused function 'SetNumThreads' [-Wunused-function]
static void SetNumThreads(int num_threads) {
            ^
In file included from cpp11.cpp:4:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:1:
In file included from ../src/include/Eigen/Core:383:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from cpp11.cpp:4:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:2:
In file included from ../src/include/Eigen/LU:45:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from cpp11.cpp:4:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:12:
In file included from ../src/include/Eigen/Jacobi:29:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from cpp11.cpp:4:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:43:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from cpp11.cpp:4:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:15:
In file included from ../src/include/Eigen/Householder:27:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from cpp11.cpp:4:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from cpp11.cpp:4:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:5:
In file included from ../src/include/Eigen/SVD:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from container.cpp:2:
In file included from ../src/include/Eigen/Dense:1:
In file included from ../src/include/Eigen/Core:383:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from cpp11.cpp:4:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:6:
In file included from ../src/include/Eigen/Geometry:57:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from container.cpp:2:
In file included from ../src/include/Eigen/Dense:2:
In file included from ../src/include/Eigen/LU:45:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from container.cpp:2:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:12:
In file included from ../src/include/Eigen/Jacobi:29:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from container.cpp:2:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:43:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from container.cpp:2:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:15:
In file included from ../src/include/Eigen/Householder:27:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from cpp11.cpp:4:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:7:
In file included from ../src/include/Eigen/Eigenvalues:58:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from container.cpp:2:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from container.cpp:2:
In file included from ../src/include/Eigen/Dense:5:
In file included from ../src/include/Eigen/SVD:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from container.cpp:2:
In file included from ../src/include/Eigen/Dense:6:
In file included from ../src/include/Eigen/Geometry:57:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from container.cpp:2:
In file included from ../src/include/Eigen/Dense:7:
In file included from ../src/include/Eigen/Eigenvalues:58:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from cpp11.cpp:4:
In file included from ./stochtree_types.h:1:
In file included from ../src/include/stochtree/container.h:9:
../src/include/stochtree/data.h:39:7: warning: unused variable 'feature_counter' [-Wunused-variable]
  int feature_counter;
      ^
../src/include/stochtree/data.h:80:8: warning: unused variable 'column_matched' [-Wunused-variable]
  bool column_matched;
       ^
In file included from container.cpp:3:
In file included from ../src/include/stochtree/container.h:9:
../src/include/stochtree/data.h:39:7: warning: unused variable 'feature_counter' [-Wunused-variable]
  int feature_counter;
      ^
../src/include/stochtree/data.h:80:8: warning: unused variable 'column_matched' [-Wunused-variable]
  bool column_matched;
       ^
In file included from cpp11.cpp:4:
In file included from ./stochtree_types.h:4:
../src/include/stochtree/leaf_model.h:1169:8: warning: unused variable 'node_end_iter' [-Wunused-variable]
  auto node_end_iter = tracker.SortedNodeEndIterator(node_id, feature_num);
       ^
../src/include/stochtree/leaf_model.h:1176:15: warning: unused variable 'current_bin_size' [-Wunused-variable]
  data_size_t current_bin_size = cutpoint_grid_container.BinLength(cutpoint_num, feature_num);
              ^
In file included from cpp11.cpp:4:
In file included from ./stochtree_types.h:8:
../src/include/stochtree/tree_sampler.h:79:15: warning: unused variable 'idx' [-Wunused-variable]
  data_size_t idx;
              ^
../src/include/stochtree/tree_sampler.h:122:15: warning: unused variable 'idx' [-Wunused-variable]
  data_size_t idx;
              ^
../src/include/stochtree/tree_sampler.h:537:23: warning: unused variable 'current_bin_begin' [-Wunused-variable]
          data_size_t current_bin_begin = cutpoint_grid_container.BinStartIndex(cutpoint_idx, j);
                      ^
../src/include/stochtree/tree_sampler.h:538:23: warning: unused variable 'current_bin_size' [-Wunused-variable]
          data_size_t current_bin_size = cutpoint_grid_container.BinLength(cutpoint_idx, j);
                      ^
../src/include/stochtree/tree_sampler.h:539:23: warning: unused variable 'next_bin_begin' [-Wunused-variable]
          data_size_t next_bin_begin = cutpoint_grid_container.BinStartIndex(cutpoint_idx + 1, j);
                      ^
../src/include/stochtree/tree_sampler.h:534:21: warning: unused variable 'feature_type' [-Wunused-variable]
        FeatureType feature_type = feature_types[j];
                    ^
../src/include/stochtree/tree_sampler.h:648:13: warning: unused variable 'num_categories' [-Wunused-variable]
        int num_categories;
            ^
../src/include/stochtree/tree_sampler.h:633:19: warning: unused variable 'node_n' [-Wunused-variable]
      data_size_t node_n = node_end - node_begin;
                  ^
../src/include/stochtree/tree_sampler.h:641:19: warning: unused variable 'right_n' [-Wunused-variable]
      data_size_t right_n = 0;
                  ^
../src/include/stochtree/tree_sampler.h:642:19: warning: unused variable 'sort_idx' [-Wunused-variable]
      data_size_t sort_idx;
                  ^
../src/include/stochtree/tree_sampler.h:643:14: warning: unused variable 'feature_value' [-Wunused-variable]
      double feature_value;
             ^
../src/include/stochtree/tree_sampler.h:644:12: warning: unused variable 'split_true' [-Wunused-variable]
      bool split_true;
           ^
../src/include/stochtree/tree_sampler.h:514:17: warning: unused variable 'num_cutpoints' [-Wunused-variable]
    data_size_t num_cutpoints = 0;
                ^
../src/include/stochtree/tree_sampler.h:787:7: warning: unused variable 'num_trees' [-Wunused-variable]
  int num_trees = forests.NumTrees();
      ^
../src/include/stochtree/tree_sampler.h:829:15: warning: unused variable 'n' [-Wunused-variable]
  data_size_t n = dataset.GetCovariates().rows();
              ^
../src/include/stochtree/tree_sampler.h:844:8: warning: variable 'accept' set but not used [-Wunused-but-set-variable]
  bool accept;
       ^
../src/include/stochtree/tree_sampler.h:947:7: warning: unused variable 'feature_split' [-Wunused-variable]
  int feature_split = tree->SplitIndex(leaf_parent_chosen);
      ^
../src/include/stochtree/tree_sampler.h:955:11: warning: unused variable 'left_n' [-Wunused-variable]
  int32_t left_n = std::get<2>(split_eval);
          ^
../src/include/stochtree/tree_sampler.h:956:11: warning: unused variable 'right_n' [-Wunused-variable]
  int32_t right_n = std::get<3>(split_eval);
          ^
../src/include/stochtree/tree_sampler.h:1000:8: warning: variable 'accept' set but not used [-Wunused-but-set-variable]
  bool accept;
       ^
../src/include/stochtree/tree_sampler.h:1050:8: warning: unused variable 'accept' [-Wunused-variable]
  bool accept;
       ^
../src/include/stochtree/tree_sampler.h:1096:7: warning: unused variable 'num_trees' [-Wunused-variable]
  int num_trees = forests.NumTrees();
      ^
70 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../src/include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DSTOCHTREE_R_BUILD -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/cpp11/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c cutpoint_candidates.cpp -o cutpoint_candidates.o
76 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../src/include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DSTOCHTREE_R_BUILD -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/cpp11/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c data.cpp -o data.o
In file included from cutpoint_candidates.cpp:1:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:28:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:1:
In file included from ../src/include/Eigen/Core:383:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from cutpoint_candidates.cpp:1:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:28:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:2:
In file included from ../src/include/Eigen/LU:45:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from cutpoint_candidates.cpp:1:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:28:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:12:
In file included from ../src/include/Eigen/Jacobi:29:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from cutpoint_candidates.cpp:1:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:28:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:43:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from cutpoint_candidates.cpp:1:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:28:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:15:
In file included from ../src/include/Eigen/Householder:27:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from cutpoint_candidates.cpp:1:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:28:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from cutpoint_candidates.cpp:1:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:28:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:5:
In file included from ../src/include/Eigen/SVD:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from cutpoint_candidates.cpp:1:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:28:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:6:
In file included from ../src/include/Eigen/Geometry:57:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from cutpoint_candidates.cpp:1:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:28:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:7:
In file included from ../src/include/Eigen/Eigenvalues:58:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
11 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../src/include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DSTOCHTREE_R_BUILD -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/cpp11/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c io.cpp -o io.o
In file included from cutpoint_candidates.cpp:1:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:28:
../src/include/stochtree/data.h:39:7: warning: unused variable 'feature_counter' [-Wunused-variable]
  int feature_counter;
      ^
../src/include/stochtree/data.h:80:8: warning: unused variable 'column_matched' [-Wunused-variable]
  bool column_matched;
       ^
In file included from cpp11.cpp:4:
In file included from ./stochtree_types.h:4:
In file included from ../src/include/stochtree/leaf_model.h:9:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:31:
../src/include/stochtree/openmp_utils.h:63:12: warning: unused function 'GetCurrentThreadNum' [-Wunused-function]
static int GetCurrentThreadNum() {
           ^
../src/include/stochtree/openmp_utils.h:67:12: warning: unused function 'GetNumThreads' [-Wunused-function]
static int GetNumThreads() {
           ^
../src/include/stochtree/openmp_utils.h:71:13: warning: unused function 'SetNumThreads' [-Wunused-function]
static void SetNumThreads(int num_threads) {
            ^
In file included from data.cpp:2:
In file included from ../src/include/Eigen/Dense:1:
In file included from ../src/include/Eigen/Core:383:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
cutpoint_candidates.cpp:138:10: warning: unused variable 'current_outcome' [-Wunused-variable]
  double current_outcome, next_outcome;
         ^
cutpoint_candidates.cpp:138:27: warning: unused variable 'next_outcome' [-Wunused-variable]
  double current_outcome, next_outcome;
                          ^
123 warnings generated.
In file included from data.cpp:2:
In file included from ../src/include/Eigen/Dense:2:
In file included from ../src/include/Eigen/LU:45:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from data.cpp:2:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:12:
In file included from ../src/include/Eigen/Jacobi:29:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from data.cpp:2:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:43:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from data.cpp:2:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:15:
In file included from ../src/include/Eigen/Householder:27:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../src/include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DSTOCHTREE_R_BUILD -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/cpp11/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c leaf_model.cpp -o leaf_model.o
In file included from data.cpp:2:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from data.cpp:2:
In file included from ../src/include/Eigen/Dense:5:
In file included from ../src/include/Eigen/SVD:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from data.cpp:2:
In file included from ../src/include/Eigen/Dense:6:
In file included from ../src/include/Eigen/Geometry:57:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from data.cpp:2:
In file included from ../src/include/Eigen/Dense:7:
In file included from ../src/include/Eigen/Eigenvalues:58:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from data.cpp:3:
../src/include/stochtree/data.h:39:7: warning: unused variable 'feature_counter' [-Wunused-variable]
  int feature_counter;
      ^
../src/include/stochtree/data.h:80:8: warning: unused variable 'column_matched' [-Wunused-variable]
  bool column_matched;
       ^
In file included from leaf_model.cpp:1:
In file included from ../src/include/stochtree/leaf_model.h:8:
In file included from ../src/include/Eigen/Dense:1:
In file included from ../src/include/Eigen/Core:383:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from leaf_model.cpp:1:
In file included from ../src/include/stochtree/leaf_model.h:8:
In file included from ../src/include/Eigen/Dense:2:
In file included from ../src/include/Eigen/LU:45:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from leaf_model.cpp:1:
In file included from ../src/include/stochtree/leaf_model.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:12:
In file included from ../src/include/Eigen/Jacobi:29:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from leaf_model.cpp:1:
In file included from ../src/include/stochtree/leaf_model.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:43:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from leaf_model.cpp:1:
In file included from ../src/include/stochtree/leaf_model.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:15:
In file included from ../src/include/Eigen/Householder:27:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from leaf_model.cpp:1:
In file included from ../src/include/stochtree/leaf_model.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from leaf_model.cpp:1:
In file included from ../src/include/stochtree/leaf_model.h:8:
In file included from ../src/include/Eigen/Dense:5:
In file included from ../src/include/Eigen/SVD:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from leaf_model.cpp:1:
In file included from ../src/include/stochtree/leaf_model.h:8:
In file included from ../src/include/Eigen/Dense:6:
In file included from ../src/include/Eigen/Geometry:57:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from leaf_model.cpp:1:
In file included from ../src/include/stochtree/leaf_model.h:8:
In file included from ../src/include/Eigen/Dense:7:
In file included from ../src/include/Eigen/Eigenvalues:58:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from cutpoint_candidates.cpp:1:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:31:
../src/include/stochtree/openmp_utils.h:63:12: warning: unused function 'GetCurrentThreadNum' [-Wunused-function]
static int GetCurrentThreadNum() {
           ^
../src/include/stochtree/openmp_utils.h:67:12: warning: unused function 'GetNumThreads' [-Wunused-function]
static int GetNumThreads() {
           ^
../src/include/stochtree/openmp_utils.h:71:13: warning: unused function 'SetNumThreads' [-Wunused-function]
static void SetNumThreads(int num_threads) {
            ^
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../src/include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DSTOCHTREE_R_BUILD -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/cpp11/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c partition_tracker.cpp -o partition_tracker.o
In file included from leaf_model.cpp:1:
In file included from ../src/include/stochtree/leaf_model.h:9:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:28:
../src/include/stochtree/data.h:39:7: warning: unused variable 'feature_counter' [-Wunused-variable]
  int feature_counter;
      ^
../src/include/stochtree/data.h:80:8: warning: unused variable 'column_matched' [-Wunused-variable]
  bool column_matched;
       ^
16 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../src/include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DSTOCHTREE_R_BUILD -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/cpp11/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c random_effects.cpp -o random_effects.o
In file included from leaf_model.cpp:1:
../src/include/stochtree/leaf_model.h:1169:8: warning: unused variable 'node_end_iter' [-Wunused-variable]
  auto node_end_iter = tracker.SortedNodeEndIterator(node_id, feature_num);
       ^
../src/include/stochtree/leaf_model.h:1176:15: warning: unused variable 'current_bin_size' [-Wunused-variable]
  data_size_t current_bin_size = cutpoint_grid_container.BinLength(cutpoint_num, feature_num);
              ^
11 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../src/include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DSTOCHTREE_R_BUILD -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/cpp11/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c tree.cpp -o tree.o
38 warnings generated.
In file included from partition_tracker.cpp:7:
In file included from ../src/include/stochtree/partition_tracker.h:28:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:1:
In file included from ../src/include/Eigen/Core:383:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from partition_tracker.cpp:7:
In file included from ../src/include/stochtree/partition_tracker.h:28:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:2:
In file included from ../src/include/Eigen/LU:45:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from partition_tracker.cpp:7:
In file included from ../src/include/stochtree/partition_tracker.h:28:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:12:
In file included from ../src/include/Eigen/Jacobi:29:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from partition_tracker.cpp:7:
In file included from ../src/include/stochtree/partition_tracker.h:28:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:43:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from partition_tracker.cpp:7:
In file included from ../src/include/stochtree/partition_tracker.h:28:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:15:
In file included from ../src/include/Eigen/Householder:27:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from partition_tracker.cpp:7:
In file included from ../src/include/stochtree/partition_tracker.h:28:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from partition_tracker.cpp:7:
In file included from ../src/include/stochtree/partition_tracker.h:28:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:5:
In file included from ../src/include/Eigen/SVD:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from partition_tracker.cpp:7:
In file included from ../src/include/stochtree/partition_tracker.h:28:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:6:
In file included from ../src/include/Eigen/Geometry:57:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from partition_tracker.cpp:7:
In file included from ../src/include/stochtree/partition_tracker.h:28:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:7:
In file included from ../src/include/Eigen/Eigenvalues:58:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
leaf_model.cpp:195:7: warning: unused variable 'num_basis' [-Wunused-variable]
  int num_basis = dataset.GetBasis().cols();
      ^
In file included from partition_tracker.cpp:7:
In file included from ../src/include/stochtree/partition_tracker.h:28:
../src/include/stochtree/data.h:39:7: warning: unused variable 'feature_counter' [-Wunused-variable]
  int feature_counter;
      ^
../src/include/stochtree/data.h:80:8: warning: unused variable 'column_matched' [-Wunused-variable]
  bool column_matched;
       ^
In file included from random_effects.cpp:2:
In file included from ../src/include/stochtree/random_effects.h:8:
In file included from ../src/include/stochtree/category_tracker.h:28:
In file included from ../src/include/Eigen/Dense:1:
In file included from ../src/include/Eigen/Core:383:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from random_effects.cpp:2:
In file included from ../src/include/stochtree/random_effects.h:8:
In file included from ../src/include/stochtree/category_tracker.h:28:
In file included from ../src/include/Eigen/Dense:2:
In file included from ../src/include/Eigen/LU:45:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from random_effects.cpp:2:
In file included from ../src/include/stochtree/random_effects.h:8:
In file included from ../src/include/stochtree/category_tracker.h:28:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:12:
In file included from ../src/include/Eigen/Jacobi:29:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from random_effects.cpp:2:
In file included from ../src/include/stochtree/random_effects.h:8:
In file included from ../src/include/stochtree/category_tracker.h:28:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:43:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from random_effects.cpp:2:
In file included from ../src/include/stochtree/random_effects.h:8:
In file included from ../src/include/stochtree/category_tracker.h:28:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:15:
In file included from ../src/include/Eigen/Householder:27:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from random_effects.cpp:2:
In file included from ../src/include/stochtree/random_effects.h:8:
In file included from ../src/include/stochtree/category_tracker.h:28:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from random_effects.cpp:2:
In file included from ../src/include/stochtree/random_effects.h:8:
In file included from ../src/include/stochtree/category_tracker.h:28:
In file included from ../src/include/Eigen/Dense:5:
In file included from ../src/include/Eigen/SVD:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from random_effects.cpp:2:
In file included from ../src/include/stochtree/random_effects.h:8:
In file included from ../src/include/stochtree/category_tracker.h:28:
In file included from ../src/include/Eigen/Dense:6:
In file included from ../src/include/Eigen/Geometry:57:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from random_effects.cpp:2:
In file included from ../src/include/stochtree/random_effects.h:8:
In file included from ../src/include/stochtree/category_tracker.h:28:
In file included from ../src/include/Eigen/Dense:7:
In file included from ../src/include/Eigen/Eigenvalues:58:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
partition_tracker.cpp:680:15: warning: unused variable 'node_size' [-Wunused-variable]
  data_size_t node_size = NodeSize(node_id);
              ^
In file included from random_effects.cpp:2:
In file included from ../src/include/stochtree/random_effects.h:9:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:28:
../src/include/stochtree/data.h:39:7: warning: unused variable 'feature_counter' [-Wunused-variable]
  int feature_counter;
      ^
../src/include/stochtree/data.h:80:8: warning: unused variable 'column_matched' [-Wunused-variable]
  bool column_matched;
       ^
In file included from tree.cpp:8:
In file included from ../src/include/stochtree/tree.h:10:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:1:
In file included from ../src/include/Eigen/Core:383:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from tree.cpp:8:
In file included from ../src/include/stochtree/tree.h:10:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:2:
In file included from ../src/include/Eigen/LU:45:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from tree.cpp:8:
In file included from ../src/include/stochtree/tree.h:10:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:12:
In file included from ../src/include/Eigen/Jacobi:29:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from tree.cpp:8:
In file included from ../src/include/stochtree/tree.h:10:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:3:
In file included from ../src/include/Eigen/Cholesky:43:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from tree.cpp:8:
In file included from ../src/include/stochtree/tree.h:10:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:15:
In file included from ../src/include/Eigen/Householder:27:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from tree.cpp:8:
In file included from ../src/include/stochtree/tree.h:10:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:4:
In file included from ../src/include/Eigen/QR:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from tree.cpp:8:
In file included from ../src/include/stochtree/tree.h:10:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:5:
In file included from ../src/include/Eigen/SVD:48:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
55 warnings generated.
In file included from tree.cpp:8:
In file included from ../src/include/stochtree/tree.h:10:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:6:
In file included from ../src/include/Eigen/Geometry:57:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from tree.cpp:8:
In file included from ../src/include/stochtree/tree.h:10:
In file included from ../src/include/stochtree/data.h:8:
In file included from ../src/include/Eigen/Dense:7:
In file included from ../src/include/Eigen/Eigenvalues:58:
../src/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from tree.cpp:8:
In file included from ../src/include/stochtree/tree.h:10:
../src/include/stochtree/data.h:39:7: warning: unused variable 'feature_counter' [-Wunused-variable]
  int feature_counter;
      ^
../src/include/stochtree/data.h:80:8: warning: unused variable 'column_matched' [-Wunused-variable]
  bool column_matched;
       ^
tree.cpp:430:20: warning: unused variable 'remapped_node' [-Wunused-variable]
  int32_t node_id, remapped_node;
                   ^
tree.cpp:444:20: warning: unused variable 'remapped_node' [-Wunused-variable]
  int32_t node_id, remapped_node;
                   ^
tree.cpp:460:20: warning: unused variable 'remapped_node' [-Wunused-variable]
  int32_t node_id, remapped_node;
                   ^
random_effects.cpp:135:10: warning: unused variable 'output' [-Wunused-variable]
  double output;
         ^
random_effects.cpp:191:11: warning: unused variable 'num_groups' [-Wunused-variable]
  int32_t num_groups = num_groups_;
          ^
random_effects.cpp:206:11: warning: unused variable 'num_components' [-Wunused-variable]
  int32_t num_components = num_components_;
          ^
random_effects.cpp:207:11: warning: unused variable 'num_groups' [-Wunused-variable]
  int32_t num_groups = num_groups_;
          ^
In file included from partition_tracker.cpp:7:
In file included from ../src/include/stochtree/partition_tracker.h:31:
../src/include/stochtree/openmp_utils.h:63:12: warning: unused function 'GetCurrentThreadNum' [-Wunused-function]
static int GetCurrentThreadNum() {
           ^
../src/include/stochtree/openmp_utils.h:67:12: warning: unused function 'GetNumThreads' [-Wunused-function]
static int GetNumThreads() {
           ^
../src/include/stochtree/openmp_utils.h:71:13: warning: unused function 'SetNumThreads' [-Wunused-function]
static void SetNumThreads(int num_threads) {
            ^
In file included from leaf_model.cpp:1:
In file included from ../src/include/stochtree/leaf_model.h:9:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:31:
../src/include/stochtree/openmp_utils.h:63:12: warning: unused function 'GetCurrentThreadNum' [-Wunused-function]
static int GetCurrentThreadNum() {
           ^
../src/include/stochtree/openmp_utils.h:67:12: warning: unused function 'GetNumThreads' [-Wunused-function]
static int GetNumThreads() {
           ^
../src/include/stochtree/openmp_utils.h:71:13: warning: unused function 'SetNumThreads' [-Wunused-function]
static void SetNumThreads(int num_threads) {
            ^
15 warnings generated.
In file included from random_effects.cpp:2:
In file included from ../src/include/stochtree/random_effects.h:9:
In file included from ../src/include/stochtree/cutpoint_candidates.h:43:
In file included from ../src/include/stochtree/partition_tracker.h:31:
../src/include/stochtree/openmp_utils.h:63:12: warning: unused function 'GetCurrentThreadNum' [-Wunused-function]
static int GetCurrentThreadNum() {
           ^
../src/include/stochtree/openmp_utils.h:67:12: warning: unused function 'GetNumThreads' [-Wunused-function]
static int GetNumThreads() {
           ^
../src/include/stochtree/openmp_utils.h:71:13: warning: unused function 'SetNumThreads' [-Wunused-function]
static void SetNumThreads(int num_threads) {
            ^
14 warnings generated.
17 warnings generated.
18 warnings generated.
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o stochtree.so forest.o kernel.o R_data.o R_random_effects.o sampler.o serialization.o cpp11.o container.o cutpoint_candidates.o data.o io.o leaf_model.o partition_tracker.o random_effects.o tree.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/stochtree.Rcheck/00LOCK-stochtree/00new/stochtree/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (stochtree)