* installing *source* package ‘glmmrOptim’ ...
** package ‘glmmrOptim’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using C++17
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include/ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rminqa/include' -I/opt/R/arm64/include     -fPIC  -falign-functions=64 -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
In file included from ./../inst/include/glmmrOptim.h:6:
In file included from ../inst/include/optim/optimclass.h:8:
In file included from ../inst/include/optim/optimderivatives.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/covariance.hpp:5:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/maths.h:5:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/algo.h:3:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/general.h:19:9: warning: 'EIGEN_DEFAULT_DENSE_INDEX_TYPE' macro redefined [-Wmacro-redefined]
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE int
        ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/Macros.h:33:9: note: previous definition is here
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE std::ptrdiff_t
        ^
In file included from RcppExports.cpp:4:
In file included from ./../inst/include/glmmrOptim.h:6:
In file included from ../inst/include/optim/optimclass.h:8:
In file included from ../inst/include/optim/optimderivatives.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/covariance.hpp:5:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/maths.h:5:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/algo.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/general.h:34:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/SparseChol.h:3:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable]
  int x ;
      ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:437:10: warning: unused variable 'val' [-Wunused-variable]
  double val;
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:648:7: warning: unused variable 'nz' [-Wunused-variable]
  int nz = Ap.back();
      ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:837:19: warning: unused variable 'ilast' [-Wunused-variable]
  int deg, inext, ilast;
                  ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:647:10: warning: unused variable 'mem' [-Wunused-variable]
  double mem = 0;
         ^
In file included from RcppExports.cpp:4:
In file included from ./../inst/include/glmmrOptim.h:6:
In file included from ../inst/include/optim/optimclass.h:8:
In file included from ../inst/include/optim/optimderivatives.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/covariance.hpp:5:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/maths.h:5:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/algo.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/general.h:34:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/SparseChol.h:4:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable]
  double val;
         ^
In file included from RcppExports.cpp:4:
In file included from ./../inst/include/glmmrOptim.h:6:
In file included from ../inst/include/optim/optimclass.h:8:
In file included from ../inst/include/optim/optimderivatives.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/covariance.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/formula.hpp:6:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/formulaparse.h:12:11: warning: unused variable 'a' [-Wunused-variable]
    float a = std::stod(s);
          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/formulaparse.h:223:19: warning: variable 'variable_in_data' set but not used [-Wunused-but-set-variable]
  bool add_check, variable_in_data;
                  ^
In file included from RcppExports.cpp:4:
In file included from ./../inst/include/glmmrOptim.h:6:
In file included from ../inst/include/optim/optimclass.h:8:
../inst/include/optim/optimderivatives.h:22:9: warning: unused variable 'curr_size' [-Wunused-variable]
    int curr_size = FirstOrderDerivatives.size();
        ^
10 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include/ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rminqa/include' -I/opt/R/arm64/include     -fPIC  -falign-functions=64 -Wall -g -O2  -c gd_search.cpp -o gd_search.o
In file included from gd_search.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/covariance.hpp:5:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/maths.h:5:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/algo.h:3:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/general.h:19:9: warning: 'EIGEN_DEFAULT_DENSE_INDEX_TYPE' macro redefined [-Wmacro-redefined]
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE int
        ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/Macros.h:33:9: note: previous definition is here
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE std::ptrdiff_t
        ^
In file included from gd_search.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/covariance.hpp:5:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/maths.h:5:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/algo.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/general.h:34:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/SparseChol.h:3:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable]
  int x ;
      ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:437:10: warning: unused variable 'val' [-Wunused-variable]
  double val;
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:647:10: warning: unused variable 'mem' [-Wunused-variable]
  double mem = 0;
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:837:19: warning: unused variable 'ilast' [-Wunused-variable]
  int deg, inext, ilast;
                  ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:648:7: warning: unused variable 'nz' [-Wunused-variable]
  int nz = Ap.back();
      ^
In file included from gd_search.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/covariance.hpp:5:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/maths.h:5:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/algo.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/general.h:34:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/SparseChol.h:4:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable]
  double val;
         ^
In file included from gd_search.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/covariance.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/formula.hpp:6:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/formulaparse.h:12:11: warning: unused variable 'a' [-Wunused-variable]
    float a = std::stod(s);
          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/formulaparse.h:223:19: warning: variable 'variable_in_data' set but not used [-Wunused-but-set-variable]
  bool add_check, variable_in_data;
                  ^
In file included from gd_search.cpp:3:
In file included from ../inst/include/glmmrOptim.h:6:
In file included from ../inst/include/optim/optimclass.h:8:
../inst/include/optim/optimderivatives.h:22:9: warning: unused variable 'curr_size' [-Wunused-variable]
    int curr_size = FirstOrderDerivatives.size();
        ^
gd_search.cpp:23:10: warning: variable 'a' set but not used [-Wunused-but-set-variable]
     int a, b; // needed for defines on machines without openmp
         ^
In file included from gd_search.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/covariance.hpp:5:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/maths.h:5:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/algo.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/glmmrBase/include/glmmr/general.h:10:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include/RcppEigen.h:26:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp.h:46:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Covariance' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Covariance>' requested here
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
12 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 glmmrOptim.so RcppExports.o gd_search.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: could not create compact unwind for ___emutls_get_address: registers 23 and 24 not saved contiguously in frame
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.3/glmmrOptim.Rcheck/00LOCK-glmmrOptim/00new/glmmrOptim/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 (glmmrOptim)