* installing *source* package ‘glpsol’ ...
** this is package ‘glpsol’ version ‘0.1.0’
** package ‘glpsol’ successfully unpacked and MD5 sums checked
** using staged installation
glpsol: using GLPK_CFLAGS='' GLPK_LIBS='-lglpk -lgmp'
** libs
using C compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
using SDK: ‘MacOSX14.5.sdk’
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c init.c -o init.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c r_glpk.c -o r_glpk.o
clang -arch arm64 -I/opt/R/arm64/include -falign-functions=64 -Wall -g -O2 -o glpsol glpk/glpsol.c -L/opt/R/arm64/lib -lglpk -lgmp -lm
glpk/glpsol.c:489:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
488 | if (k == argc || argv[k][0] == '\0' ||
| ~~
489 | argv[k][0] == '-' && !isdigit((unsigned char)argv[k][1]))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glpk/glpsol.c:489:34: note: place parentheses around the '&&' expression to silence this warning
489 | argv[k][0] == '-' && !isdigit((unsigned char)argv[k][1]))
| ^
| ( )
glpk/glpsol.c:891:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
890 | if (k == argc || argv[k][0] == '\0' ||
| ~~
891 | argv[k][0] == '-' && !isdigit((unsigned char)argv[k][1]))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glpk/glpsol.c:891:34: note: place parentheses around the '&&' expression to silence this warning
891 | argv[k][0] == '-' && !isdigit((unsigned char)argv[k][1]))
| ^
| ( )
glpk/glpsol.c:1343:41: warning: '&&' within '||' [-Wlogical-op-parentheses]
1343 | { if (csa->solution == SOL_BASIC && !csa->smcp.presolve ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ~~
glpk/glpsol.c:1343:41: note: place parentheses around the '&&' expression to silence this warning
1343 | { if (csa->solution == SOL_BASIC && !csa->smcp.presolve ||
| ^
| ( )
glpk/glpsol.c:1345:43: warning: '&&' within '||' [-Wlogical-op-parentheses]
1344 | csa->solution == SOL_INTERIOR ||
| ~~
1345 | csa->solution == SOL_INTEGER && !csa->iocp.presolve)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
glpk/glpsol.c:1345:43: note: place parentheses around the '&&' expression to silence this warning
1345 | csa->solution == SOL_INTEGER && !csa->iocp.presolve)
| ^
| ( )
glpk/glpsol.c:1350:38: warning: '&&' within '||' [-Wlogical-op-parentheses]
1350 | if (csa->solution == SOL_BASIC && !csa->smcp.presolve ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ~~
glpk/glpsol.c:1350:38: note: place parentheses around the '&&' expression to silence this warning
1350 | if (csa->solution == SOL_BASIC && !csa->smcp.presolve ||
| ^
| ( )
glpk/glpsol.c:1351:40: warning: '&&' within '||' [-Wlogical-op-parentheses]
1350 | if (csa->solution == SOL_BASIC && !csa->smcp.presolve ||
| ~~
1351 | csa->solution == SOL_INTEGER && !csa->iocp.presolve)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
glpk/glpsol.c:1351:40: note: place parentheses around the '&&' expression to silence this warning
1351 | csa->solution == SOL_INTEGER && !csa->iocp.presolve)
| ^
| ( )
clang -arch arm64 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o glpsol.so init.o r_glpk.o -lglpk -lgmp -F/Library/Frameworks/R.framework/.. -framework R
6 warnings generated.
installing via 'install.libs.R' to /Volumes/Builds/packages/sonoma-arm64/results/4.6/glpsol.Rcheck/00LOCK-glpsol/00new/glpsol
** 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 (glpsol)