* installing *source* package ‘spNetwork’ ...
** package ‘spNetwork’ successfully unpacked and MD5 sums checked
** using staged installation
** 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 x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c base_kernel_funtions.cpp -o base_kernel_funtions.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c border_correction.cpp -o border_correction.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c bw_selection_nkde.cpp -o bw_selection_nkde.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c bw_selection_tnkde.cpp -o bw_selection_tnkde.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c geometrical_functions.cpp -o geometrical_functions.o
bw_selection_tnkde.cpp:41:7: warning: unused variable 'depth' [-Wunused-variable]
  int depth = 0;
      ^
bw_selection_tnkde.cpp:172:8: warning: unused variable 'depth' [-Wunused-variable]
   int depth = 0;
       ^
bw_selection_tnkde.cpp:188:11: warning: unused variable 'bw_net' [-Wunused-variable]
   double bw_net, bw_time;
          ^
bw_selection_tnkde.cpp:188:19: warning: unused variable 'bw_time' [-Wunused-variable]
   double bw_net, bw_time;
                  ^
bw_selection_tnkde.cpp:325:7: warning: unused variable 'depth' [-Wunused-variable]
  int depth = 0;
      ^
bw_selection_tnkde.cpp:475:8: warning: unused variable 'depth' [-Wunused-variable]
   int depth = 0;
       ^
bw_selection_tnkde.cpp:489:11: warning: unused variable 'bw_net' [-Wunused-variable]
   double bw_net, bw_time;
          ^
bw_selection_tnkde.cpp:489:19: warning: unused variable 'bw_time' [-Wunused-variable]
   double bw_net, bw_time;
                  ^
bw_selection_tnkde.cpp:643:7: warning: unused variable 'depth' [-Wunused-variable]
  int depth = 0;
      ^
bw_selection_tnkde.cpp:846:8: warning: unused variable 'depth' [-Wunused-variable]
   int depth = 0;
       ^
bw_selection_tnkde.cpp:856:8: warning: unused variable 'n_bw_net' [-Wunused-variable]
   int n_bw_net = bws_net.n_rows;
       ^
bw_selection_tnkde.cpp:857:8: warning: unused variable 'n_bw_time' [-Wunused-variable]
   int n_bw_time = bws_time.n_cols;
       ^
bw_selection_tnkde.cpp:866:19: warning: unused variable 'bw_time' [-Wunused-variable]
   double bw_net, bw_time;
                  ^
bw_selection_tnkde.cpp:997:8: warning: unused variable 'n_net' [-Wunused-variable]
   int n_net = bws_net.n_rows;
       ^
bw_selection_nkde.cpp:37:7: warning: unused variable 'depth' [-Wunused-variable]
  int depth = 0;
      ^
bw_selection_nkde.cpp:145:7: warning: unused variable 'depth' [-Wunused-variable]
  int depth = 0;
      ^
bw_selection_nkde.cpp:267:7: warning: unused variable 'depth' [-Wunused-variable]
  int depth = 0;
      ^
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c k_and_g_func.cpp -o k_and_g_func.o
3 warnings generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c matrices_functions.cpp -o matrices_functions.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c nkde_continuous.cpp -o nkde_continuous.o
geometrical_functions.cpp:260:22: warning: unused variable 'x3' [-Wunused-variable]
  double x2,y2,x1,y1,x3,y3,dd;
                     ^
geometrical_functions.cpp:260:25: warning: unused variable 'y3' [-Wunused-variable]
  double x2,y2,x1,y1,x3,y3,dd;
                        ^
geometrical_functions.cpp:324:13: warning: unused variable 'dd' [-Wunused-variable]
  double d, dd, totald, dt, t;
            ^
geometrical_functions.cpp:324:17: warning: unused variable 'totald' [-Wunused-variable]
  double d, dd, totald, dt, t;
                ^
geometrical_functions.cpp:324:25: warning: unused variable 'dt' [-Wunused-variable]
  double d, dd, totald, dt, t;
                        ^
geometrical_functions.cpp:324:29: warning: unused variable 't' [-Wunused-variable]
  double d, dd, totald, dt, t;
                            ^
geometrical_functions.cpp:326:7: warning: unused variable 'j' [-Wunused-variable]
  int j;
      ^
geometrical_functions.cpp:327:10: warning: unused variable 'x2' [-Wunused-variable]
  double x2,y2,x1,y1,x3,y3;
         ^
geometrical_functions.cpp:327:13: warning: unused variable 'y2' [-Wunused-variable]
  double x2,y2,x1,y1,x3,y3;
            ^
geometrical_functions.cpp:327:16: warning: unused variable 'x1' [-Wunused-variable]
  double x2,y2,x1,y1,x3,y3;
               ^
geometrical_functions.cpp:327:19: warning: unused variable 'y1' [-Wunused-variable]
  double x2,y2,x1,y1,x3,y3;
                  ^
geometrical_functions.cpp:327:22: warning: unused variable 'x3' [-Wunused-variable]
  double x2,y2,x1,y1,x3,y3;
                     ^
geometrical_functions.cpp:327:25: warning: unused variable 'y3' [-Wunused-variable]
  double x2,y2,x1,y1,x3,y3;
                        ^
geometrical_functions.cpp:440:31: warning: unused variable 'diff' [-Wunused-variable]
  float start_dist, end_dist, diff, line_length;
                              ^
geometrical_functions.cpp:440:37: warning: unused variable 'line_length' [-Wunused-variable]
  float start_dist, end_dist, diff, line_length;
                                    ^
geometrical_functions.cpp:973:9: warning: unused variable 'j' [-Wunused-variable]
  int i,j;
        ^
geometrical_functions.cpp:1040:9: warning: unused variable 'j' [-Wunused-variable]
  int i,j;
        ^
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c nkde_discontinuous.cpp -o nkde_discontinuous.o
14 warnings generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c spatial_indexing.cpp -o spatial_indexing.o
k_and_g_func.cpp:295:13: warning: unused variable 'dtime' [-Wunused-variable]
      float dtime = breaks_time[j];
            ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c spatial_indexing_export.cpp -o spatial_indexing_export.o
17 warnings generated.
clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o spNetwork.so RcppExports.o base_kernel_funtions.o border_correction.o bw_selection_nkde.o bw_selection_tnkde.o geometrical_functions.o k_and_g_func.o matrices_functions.o nkde_continuous.o nkde_discontinuous.o spatial_indexing.o spatial_indexing_export.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.4/spNetwork.Rcheck/00LOCK-spNetwork/00new/spNetwork/libs
** generating debug symbols (dSYM)
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** 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 (spNetwork)