* installing *source* package ‘rgeos’ ... ** package ‘rgeos’ successfully unpacked and MD5 sums checked configure: rgeos: 0.2-10 configure: svn revision: Unversioned directory checking geos-config usability... yes configure: geos-config: geos-config configure: GEOS version: 3.3.7 checking geos version over 3.2.1... yes checking geos-config clibs... yes checking for gcc... clang -mtune=native checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang -mtune=native accepts -g... yes checking for clang -mtune=native option to accept ANSI C... none needed checking how to run the C preprocessor... clang -mtune=native -E checking for egrep... grep -E checking for ANSI C header files... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking geos_c.h usability... yes checking geos_c.h presence... yes checking for geos_c.h... yes checking for initGEOS_r in -lgeos_c... yes configure: PKG_CPPFLAGS: -I/usr/local/include configure: PKG_LIBS: -L/usr/local/lib -lgeos -L/usr/local/lib -lgeos_c configure: creating ./config.status config.status: creating src/Makevars ** libs clang++ -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -I/usr/local/include -I"/Users/ripley/R/test-3.0/sp/include" -fPIC -g -O2 -c dummy.cc -o dummy.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -I/usr/local/include -I"/Users/ripley/R/test-3.0/sp/include" -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c init.c -o init.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -I/usr/local/include -I"/Users/ripley/R/test-3.0/sp/include" -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c local_stubs.c -o local_stubs.o In file included from local_stubs.c:3: /Users/ripley/R/test-3.0/sp/include/sp_xports.c:16:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] if (abs(area) < DOUBLE_EPS) { ~~~ ^~~~ /Users/ripley/R/test-3.0/sp/include/sp_xports.c:553:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] nc = ceil(log10(nps)+1)+1; ~ ~~~~~~~~~~~~~~~~~~^~ 2 warnings generated. clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -I/usr/local/include -I"/Users/ripley/R/test-3.0/sp/include" -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c rgeos.c -o rgeos.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -I/usr/local/include -I"/Users/ripley/R/test-3.0/sp/include" -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c rgeos_R2geos.c -o rgeos_R2geos.o rgeos_R2geos.c:107:17: warning: variable 'GC' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] } else if ( n != 1 ) { ^~~~~~ rgeos_R2geos.c:185:12: note: uninitialized use occurs here return(GC); ^~ rgeos_R2geos.c:107:12: note: remove the 'if' if its condition is always true } else if ( n != 1 ) { ^~~~~~~~~~~~~~ rgeos_R2geos.c:104:16: note: initialize the variable 'GC' to silence this warning GEOSGeom GC; ^ = NULL 1 warning generated. clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -I/usr/local/include -I"/Users/ripley/R/test-3.0/sp/include" -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c rgeos_R2geosMP.c -o rgeos_R2geosMP.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -I/usr/local/include -I"/Users/ripley/R/test-3.0/sp/include" -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c rgeos_bbox.c -o rgeos_bbox.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -I/usr/local/include -I"/Users/ripley/R/test-3.0/sp/include" -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c rgeos_buffer.c -o rgeos_buffer.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -I/usr/local/include -I"/Users/ripley/R/test-3.0/sp/include" -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c rgeos_coord.c -o rgeos_coord.o rgeos_coord.c:116:9: warning: variable 'm' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] if (GEOSCoordSeq_getSize_r(GEOShandle, s, &n) == 0 || ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rgeos_coord.c:121:9: note: uninitialized use occurs here if (m == 3 && HasZ) ^ rgeos_coord.c:116:9: note: remove the '||' if its condition is always false if (GEOSCoordSeq_getSize_r(GEOShandle, s, &n) == 0 || ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rgeos_coord.c:115:22: note: initialize the variable 'm' to silence this warning unsigned int n, m; ^ = 0 rgeos_coord.c:133:13: warning: variable 'y' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] if (GEOSCoordSeq_getX_r(GEOShandle, s, (unsigned int) i, &x) == 0 || ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rgeos_coord.c:138:51: note: uninitialized use occurs here NUMERIC_POINTER(crd)[ii+n] = makePrecise(y, scale); ^ rgeos_coord.c:133:13: note: remove the '||' if its condition is always false if (GEOSCoordSeq_getX_r(GEOShandle, s, (unsigned int) i, &x) == 0 || ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rgeos_coord.c:132:19: note: initialize the variable 'y' to silence this warning double x,y; ^ = 0.0 2 warnings generated. clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -I/usr/local/include -I"/Users/ripley/R/test-3.0/sp/include" -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c rgeos_geos2R.c -o rgeos_geos2R.o rgeos_geos2R.c:22:14: warning: variable 'ans' is used uninitialized whenever switch case is taken [-Wsometimes-uninitialized] case -1: ^~ rgeos_geos2R.c:195:12: note: uninitialized use occurs here return(ans); ^~~ rgeos_geos2R.c:189:9: warning: variable 'ans' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] default: ^~~~~~~ rgeos_geos2R.c:195:12: note: uninitialized use occurs here return(ans); ^~~ rgeos_geos2R.c:20:13: note: initialize the variable 'ans' to silence this warning SEXP ans; ^ = NULL rgeos_geos2R.c:130:32: warning: variable 'cur_id' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] } else if (types[i]==GEOS_POLYGON || types[i]==GEOS_MULTIPOLYGON) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rgeos_geos2R.c:140:36: note: uninitialized use occurs here SET_STRING_ELT(cur_id, typei[j], STRING_ELT(id,typei[j])); ^~~~~~ rgeos_geos2R.c:130:28: note: remove the 'if' if its condition is always true } else if (types[i]==GEOS_POLYGON || types[i]==GEOS_MULTIPOLYGON) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rgeos_geos2R.c:119:32: note: initialize the variable 'cur_id' to silence this warning SEXP cur_id; ^ = NULL rgeos_geos2R.c:387:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] nc = ceil(log10(npoly)+1)+1; ~ ~~~~~~~~~~~~~~~~~~~~^~ 4 warnings generated. clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -I/usr/local/include -I"/Users/ripley/R/test-3.0/sp/include" -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c rgeos_misc.c -o rgeos_misc.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -I/usr/local/include -I"/Users/ripley/R/test-3.0/sp/include" -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c rgeos_poly2nb.c -o rgeos_poly2nb.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -I/usr/local/include -I"/Users/ripley/R/test-3.0/sp/include" -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c rgeos_predicate_binary.c -o rgeos_predicate_binary.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -I/usr/local/include -I"/Users/ripley/R/test-3.0/sp/include" -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c rgeos_predicate_unary.c -o rgeos_predicate_unary.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -I/usr/local/include -I"/Users/ripley/R/test-3.0/sp/include" -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c rgeos_topology.c -o rgeos_topology.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -I/usr/local/include -I"/Users/ripley/R/test-3.0/sp/include" -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c rgeos_topology_binary.c -o rgeos_topology_binary.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -I/usr/local/include -I"/Users/ripley/R/test-3.0/sp/include" -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c rgeos_validate.c -o rgeos_validate.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -I/usr/local/include -I"/Users/ripley/R/test-3.0/sp/include" -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c rgeos_wkt.c -o rgeos_wkt.o clang++ -mtune=native -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o rgeos.so dummy.o init.o local_stubs.o rgeos.o rgeos_R2geos.o rgeos_R2geosMP.o rgeos_bbox.o rgeos_buffer.o rgeos_coord.o rgeos_geos2R.o rgeos_misc.o rgeos_poly2nb.o rgeos_predicate_binary.o rgeos_predicate_unary.o rgeos_topology.o rgeos_topology_binary.o rgeos_validate.o rgeos_wkt.o -L/usr/local/lib -lgeos -L/usr/local/lib -lgeos_c -L/Users/ripley/R/R-clang/lib -lR -dylib_file libRblas.dylib:/Users/ripley/R/R-clang/lib/libRblas.dylib -Wl,-framework -Wl,CoreFoundation /usr/bin/nm: no name list installing to /Users/ripley/R/packages/tests-clang/rgeos.Rcheck/rgeos/libs ** R ** inst ** preparing package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded * DONE (rgeos)