* installing *source* package ‘spOccupancy’ ...
** this is package ‘spOccupancy’ version ‘0.8.0’
** package ‘spOccupancy’ 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 SDK: ‘MacOSX11.3.sdk’
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c PGOcc.cpp -o PGOcc.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c idist.cpp -o idist.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c init.cpp -o init.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c intMsPGOcc.cpp -o intMsPGOcc.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c intPGOcc.cpp -o intPGOcc.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c lfJSDM.cpp -o lfJSDM.o
idist.cpp:1:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
init.cpp:2:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c lfMsPGOcc.cpp -o lfMsPGOcc.o
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c mkSpCov.cpp -o mkSpCov.o
mkSpCov.cpp:2:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
lfJSDM.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
intMsPGOcc.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
intPGOcc.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
PGOcc.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
lfMsPGOcc.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c msPGOcc.cpp -o msPGOcc.o
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c nn.cpp -o nn.o
msPGOcc.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c postHocLM.cpp -o postHocLM.o
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c rpg.cpp -o rpg.o
rpg.cpp:1:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
1 warning generated.
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c sfJSDMNNGP.cpp -o sfJSDMNNGP.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c sfMsPGOccNNGP.cpp -o sfMsPGOccNNGP.o
postHocLM.cpp:5:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
nn.cpp:13:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
sfMsPGOccNNGP.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
sfJSDMNNGP.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c sfMsPGOccNNGPPredict.cpp -o sfMsPGOccNNGPPredict.o
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c spIntPGOcc.cpp -o spIntPGOcc.o
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c spIntPGOccNNGP.cpp -o spIntPGOccNNGP.o
sfMsPGOccNNGPPredict.cpp:9:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c spMsPGOcc.cpp -o spMsPGOcc.o
spIntPGOcc.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
spIntPGOccNNGP.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c spMsPGOccNNGP.cpp -o spMsPGOccNNGP.o
spMsPGOcc.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
spMsPGOccNNGP.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c spMsPGOccNNGPPredict.cpp -o spMsPGOccNNGPPredict.o
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c spMsPGOccPredict.cpp -o spMsPGOccPredict.o
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c spPGOcc.cpp -o spPGOcc.o
spMsPGOccNNGPPredict.cpp:9:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
spMsPGOccPredict.cpp:9:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c spPGOccNNGP.cpp -o spPGOccNNGP.o
spPGOcc.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c spPGOccNNGPPredict.cpp -o spPGOccNNGPPredict.o
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c spPGOccPredict.cpp -o spPGOccPredict.o
spPGOccNNGP.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c stIntPGOccNNGP.cpp -o stIntPGOccNNGP.o
spPGOccNNGPPredict.cpp:9:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
spPGOccPredict.cpp:9:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
stIntPGOccNNGP.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c stMsPGOccNNGP.cpp -o stMsPGOccNNGP.o
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c stPGOccNNGP.cpp -o stPGOccNNGP.o
stIntPGOccNNGP.cpp:162:9: warning: variable 'JSum' set but not used [-Wunused-but-set-variable]
    int JSum = 0; 
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c stPGOccNNGPPredict.cpp -o stPGOccNNGPPredict.o
stMsPGOccNNGP.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
stPGOccNNGP.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
stPGOccNNGPPredict.cpp:9:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c svcMsPGOccNNGP.cpp -o svcMsPGOccNNGP.o
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c svcMsPGOccNNGPPredict.cpp -o svcMsPGOccNNGPPredict.o
svcMsPGOccNNGP.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c svcPGBinomNNGP.cpp -o svcPGBinomNNGP.o
svcMsPGOccNNGPPredict.cpp:9:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
svcPGBinomNNGP.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c svcPGOccNNGP.cpp -o svcPGOccNNGP.o
svcPGOccNNGP.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
2 warnings generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c svcPGOccNNGPPredict.cpp -o svcPGOccNNGPPredict.o
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c svcTIntPGOccNNGP.cpp -o svcTIntPGOccNNGP.o
svcPGOccNNGPPredict.cpp:9:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c svcTMsPGOccNNGP.cpp -o svcTMsPGOccNNGP.o
svcTIntPGOccNNGP.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
svcTIntPGOccNNGP.cpp:166:9: warning: variable 'JSum' set but not used [-Wunused-but-set-variable]
    int JSum = 0; 
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c svcTMsPGOccNNGPPredict.cpp -o svcTMsPGOccNNGPPredict.o
svcTMsPGOccNNGP.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
svcTMsPGOccNNGPPredict.cpp:9:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c svcTPGBinomNNGP.cpp -o svcTPGBinomNNGP.o
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c svcTPGOccNNGP.cpp -o svcTPGOccNNGP.o
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c svcTPGOccNNGPPredict.cpp -o svcTPGOccNNGPPredict.o
svcTPGBinomNNGP.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c tIntPGOcc.cpp -o tIntPGOcc.o
svcTPGOccNNGP.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
svcTPGOccNNGPPredict.cpp:9:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
tIntPGOcc.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
tIntPGOcc.cpp:96:9: warning: variable 'JSum' set but not used [-Wunused-but-set-variable]
    int JSum = 0; 
        ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c tMsPGOcc.cpp -o tMsPGOcc.o
tMsPGOcc.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
2 warnings generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c tPGOcc.cpp -o tPGOcc.o
2 warnings generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c util.cpp -o util.o
1 warning generated.
tPGOcc.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
util.cpp:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
#define R_NO_REMAP
        ^
<command line>:2:9: note: previous definition is here
#define R_NO_REMAP 1
        ^
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
1 warning 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 spOccupancy.so PGOcc.o idist.o init.o intMsPGOcc.o intPGOcc.o lfJSDM.o lfMsPGOcc.o mkSpCov.o msPGOcc.o nn.o postHocLM.o rpg.o sfJSDMNNGP.o sfMsPGOccNNGP.o sfMsPGOccNNGPPredict.o spIntPGOcc.o spIntPGOccNNGP.o spMsPGOcc.o spMsPGOccNNGP.o spMsPGOccNNGPPredict.o spMsPGOccPredict.o spPGOcc.o spPGOccNNGP.o spPGOccNNGPPredict.o spPGOccPredict.o stIntPGOccNNGP.o stMsPGOccNNGP.o stPGOccNNGP.o stPGOccNNGPPredict.o svcMsPGOccNNGP.o svcMsPGOccNNGPPredict.o svcPGBinomNNGP.o svcPGOccNNGP.o svcPGOccNNGPPredict.o svcTIntPGOccNNGP.o svcTMsPGOccNNGP.o svcTMsPGOccNNGPPredict.o svcTPGBinomNNGP.o svcTPGOccNNGP.o svcTPGOccNNGPPredict.o tIntPGOcc.o tMsPGOcc.o tPGOcc.o util.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/x86_64-apple-darwin20.0/14.2.0 -L/opt/gfortran/lib -lemutls_w -lheapt_w -lgfortran -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.5/spOccupancy.Rcheck/00LOCK-spOccupancy/00new/spOccupancy/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
** 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 (spOccupancy)