* installing *source* package ‘causaloptim’ ... ** package ‘causaloptim’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘clang version 18.1.4’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/causaloptim/src' /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c CustomFormat.cpp -o CustomFormat.o /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Equation.cpp -o Equation.o Equation.cpp:161:21: warning: '&&' within '||' [-Wlogical-op-parentheses] 160 | else if (isdigit(*pChar) || | ~~ 161 | *pChar == '.' && | ~~~~~~~~~~~~~~^~ 162 | isdigit(pChar[1])) | ~~~~~~~~~~~~~~~~~ Equation.cpp:161:21: note: place parentheses around the '&&' expression to silence this warning 161 | *pChar == '.' && | ^ | ( 162 | isdigit(pChar[1])) | | ) Equation.cpp:194:21: warning: '&&' within '||' [-Wlogical-op-parentheses] 193 | if (isdigit(*pChar) || | ~~ 194 | *pChar == '.' && | ~~~~~~~~~~~~~~^~ 195 | isdigit(pChar[1])) | ~~~~~~~~~~~~~~~~~ Equation.cpp:194:21: note: place parentheses around the '&&' expression to silence this warning 194 | *pChar == '.' && | ^ | ( 195 | isdigit(pChar[1])) | | ) Equation.cpp:266:21: warning: '&&' within '||' [-Wlogical-op-parentheses] 265 | else if (*pChar == '=' || | ~~ 266 | *pChar == '<' && *(pChar+1) == '=' || | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ Equation.cpp:266:21: note: place parentheses around the '&&' expression to silence this warning 266 | *pChar == '<' && *(pChar+1) == '=' || | ^ | ( ) Equation.cpp:267:21: warning: '&&' within '||' [-Wlogical-op-parentheses] 266 | *pChar == '<' && *(pChar+1) == '=' || | ~~ 267 | *pChar == '>' && *(pChar+1) == '=') | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ Equation.cpp:267:21: note: place parentheses around the '&&' expression to silence this warning 267 | *pChar == '>' && *(pChar+1) == '=') | ^ | ( ) Equation.cpp:320:21: warning: '&&' within '||' [-Wlogical-op-parentheses] 319 | else if (*pChar == '=' || | ~~ 320 | *pChar == '<' && *(pChar+1) == '=' || | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ Equation.cpp:320:21: note: place parentheses around the '&&' expression to silence this warning 320 | *pChar == '<' && *(pChar+1) == '=' || | ^ | ( ) Equation.cpp:321:21: warning: '&&' within '||' [-Wlogical-op-parentheses] 320 | *pChar == '<' && *(pChar+1) == '=' || | ~~ 321 | *pChar == '>' && *(pChar+1) == '=') | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ Equation.cpp:321:21: note: place parentheses around the '&&' expression to silence this warning 321 | *pChar == '>' && *(pChar+1) == '=') | ^ | ( ) 6 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c EquationSet.cpp -o EquationSet.o /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c LinkedList.cpp -o LinkedList.o /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Optimization.cpp -o Optimization.o Optimization.cpp:919:8: warning: variable 'bResult' set but not used [-Wunused-but-set-variable] 919 | BOOL bResult; | ^ 1 warning generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c RcppExports.cpp -o RcppExports.o /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c SymConst.cpp -o SymConst.o SymConst.cpp:378:30: warning: '&&' within '||' [-Wlogical-op-parentheses] 378 | if (m_TermSign == TERM_PLUS && m_Use == SOL_GREATER || | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ~~ SymConst.cpp:378:30: note: place parentheses around the '&&' expression to silence this warning 378 | if (m_TermSign == TERM_PLUS && m_Use == SOL_GREATER || | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ SymConst.cpp:379:27: warning: '&&' within '||' [-Wlogical-op-parentheses] 378 | if (m_TermSign == TERM_PLUS && m_Use == SOL_GREATER || | ~~ 379 | m_TermSign == TERM_ZERO && m_Use == SOL_LESS || | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ SymConst.cpp:379:27: note: place parentheses around the '&&' expression to silence this warning 379 | m_TermSign == TERM_ZERO && m_Use == SOL_LESS || | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ SymConst.cpp:380:28: warning: '&&' within '||' [-Wlogical-op-parentheses] 379 | m_TermSign == TERM_ZERO && m_Use == SOL_LESS || | ~~ 380 | m_TermSign == TERM_MINUS && m_Use == SOL_LESS) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ SymConst.cpp:380:28: note: place parentheses around the '&&' expression to silence this warning 380 | m_TermSign == TERM_MINUS && m_Use == SOL_LESS) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ SymConst.cpp:389:30: warning: '&&' within '||' [-Wlogical-op-parentheses] 389 | if (m_TermSign == TERM_PLUS && m_Use == SOL_LESS || | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ~~ SymConst.cpp:389:30: note: place parentheses around the '&&' expression to silence this warning 389 | if (m_TermSign == TERM_PLUS && m_Use == SOL_LESS || | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ SymConst.cpp:390:27: warning: '&&' within '||' [-Wlogical-op-parentheses] 389 | if (m_TermSign == TERM_PLUS && m_Use == SOL_LESS || | ~~ 390 | m_TermSign == TERM_ZERO && m_Use == SOL_GREATER || | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ SymConst.cpp:390:27: note: place parentheses around the '&&' expression to silence this warning 390 | m_TermSign == TERM_ZERO && m_Use == SOL_GREATER || | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ SymConst.cpp:391:28: warning: '&&' within '||' [-Wlogical-op-parentheses] 390 | m_TermSign == TERM_ZERO && m_Use == SOL_GREATER || | ~~ 391 | m_TermSign == TERM_MINUS && m_Use == SOL_GREATER) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ SymConst.cpp:391:28: note: place parentheses around the '&&' expression to silence this warning 391 | m_TermSign == TERM_MINUS && m_Use == SOL_GREATER) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c SymbolSet.cpp -o SymbolSet.o /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Tableau.cpp -o Tableau.o Tableau.cpp:263:8: warning: variable 'bMinimize' set but not used [-Wunused-but-set-variable] 263 | char bMinimize; | ^ Tableau.cpp:274:8: warning: variable 'objGet' set but not used [-Wunused-but-set-variable] 274 | char* objGet; | ^ Tableau.cpp:505:2: warning: 'delete' applied to a pointer-to-array type 'Label_ *' (aka 'char (*)[15]') treated as 'delete[]' 505 | delete m_pVarLabels; | ^ ~~~~~~~~~~~~ | [] Tableau.cpp:506:2: warning: 'delete' applied to a pointer-to-array type 'Label_ *' (aka 'char (*)[15]') treated as 'delete[]' 506 | delete m_pParamNames; | ^ ~~~~~~~~~~~~~ | [] /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c coptim_module.cpp -o coptim_module.o 4 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang18/lib -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o causaloptim.so CustomFormat.o Equation.o EquationSet.o LinkedList.o Optimization.o RcppExports.o SymConst.o SymbolSet.o Tableau.o coptim_module.o make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/causaloptim/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/causaloptim/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/causaloptim/src' installing to /data/gannet/ripley/R/packages/tests-clang/causaloptim.Rcheck/00LOCK-causaloptim/00new/causaloptim/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** 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 (causaloptim)