Hi Stephen, Thanks very much for getting back to me. My problem is described below. Any help would be greatly appreciated. Thanks, James
Hi, Sorry for bothering you because I know that your time is voluntary, but I would really appreciate some help. I work in a hospital in part of Ireland’s national health service, a service which was struck by a massive cyber attack a couple of years ago. Since then their security has been very tight, and I can’t access the internet through my R or R Studio. To install packages I need to download the files through a browser (Chrome by default) and install them from the files, which is very tedious when you consider the amount of dependencies, but I’m happy to do it. This was working fine until yesterday when I had error messages trying to install some packages. See enclosed “S2” for example. It looks like it is trying to download a file as part of the installation, but of course can’t. If you could help with this I would be very grateful. Other examples are jqr, protolite, curl. I came across a different error message when trying to install openssl, although the issue may be the same. For this package it says Warning in file(name, "wb") : cannot open file 'openssl/tests/keys/message.rsa.crypt': Permission denied Error in file(name, "wb") : cannot open the connection I have tried going into the archive of these packages and installing older versions, but no luck with those either. I hope you can help. Best wishes, James From: stephen sefick <ssef...@gmail.com> Sent: Tuesday 20 February 2024 19:43 To: James Powell <james.pow...@hse.ie> Cc: r-help@r-project.org Subject: Re: [R] Network issue CAUTION: This email originated from outside of the organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe. Maybe I missed the rest of the post? You are more likely to get help with your problems if you create a minimal reproducible example. Kindest regards, Stephen Sefick On Tue, Feb 20, 2024, 12:24 James Powell <james.pow...@hse.ie<mailto:james.pow...@hse.ie>> wrote: Need information and advice on COVID-19? Go to www.hse.ie/coronavirus<https://www.hse.ie/coronavirus> ________________________________ "Tá an fhaisnéis sa ríomhphost seo (ceangaltáin san áireamh) faoi rún. Baineann sé leis an té ar seoladh chuige amháin agus tá sé ar intinn go bhfaighfidh siadsan amháin é agus gurb iadsan amháin a dhéanfaidh breithniú air. Más rud é nach tusa an duine ar leis é, tá cosc iomlán ar aon fhaisnéis atá ann, a úsáid, a chraobhscaoileadh, a scaipeadh, a nochtadh, a fhoilsiú, ná a chóipeáil . Seains gurb iad tuairimí pearsanta an údar atá san ríomhphost agus nach tuairimí FSS iad. Má fuair tú an ríomhphost seo trí dhearmad, bheadh muid buíoch dá gcuirfeá in iúil don Deasc Seirbhísí ECT ar an nguthán ag +353 818 300300<tel:%2B353%20818%20300300> nó ar an ríomhphost chuig service.d...@hse.ie<mailto:service.d...@hse.ie> agus ansin glan an ríomhphost seo ded' chóras." "Information in this email (including attachments) is confidential. It is intended for receipt and consideration only by the intended recipient. If you are not an addressee or intended recipient, any use, dissemination, distribution, disclosure, publication or copying of information contained in this email is strictly prohibited. Opinions expressed in this email may be personal to the author and are not necessarily the opinions of the HSE. If this email has been received by you in error we would be grateful if you could immediately notify the ICT Service Desk by telephone at +353 818 300300<tel:%2B353%20818%20300300> or by email to service.d...@hse.ie<mailto:service.d...@hse.ie> and thereafter delete this e-mail from your system" ________________________________
R version 4.3.1 (2023-06-16 ucrt) -- "Beagle Scouts" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > utils:::menuInstallPkgs() --- Please select a CRAN mirror for use in this session --- Warning: failed to download mirrors file (cannot open URL 'https://cran.r-project.org/CRAN_mirrors.csv'); using local file 'C:/PROGRA~1/R/R-43~1.1/doc/CRAN_mirrors.csv' Error in contrib.url(repos, type) : trying to use CRAN without setting a mirror In addition: Warning message: In download.file(url, destfile = f, quiet = TRUE) : URL 'https://cran.r-project.org/CRAN_mirrors.csv': status was 'SSL connect error' > utils:::menuInstallLocal() Warning in file(name, "wb") : cannot open file 'openssl/tests/keys/message.rsa.crypt': Permission denied Error in file(name, "wb") : cannot open the connection Warning message: In install.packages(files[tarballs], .libPaths()[1L], repos = NULL, : installation of package âC:/Users/jpowell/DOWNLO~1/openssl_2.1.1 (1).tar.gzâ had non-zero exit status > utils:::menuInstallLocal() * installing *source* package 's2' ... ** package 's2' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 12.2.0' using C++ compiler: 'G__~1.EXE (GCC) 12.2.0' using C++11 g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -DS2_USE_EXACTFLOAT -D_USE_MATH_DEFINES -DNDEBUG -DIS_LITTLE_ENDIAN -DOMIT_STRPTIME -I../windows/openssl-1.1.1k/include -I../src -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/wk/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -DS2_USE_EXACTFLOAT -D_USE_MATH_DEFINES -DNDEBUG -DIS_LITTLE_ENDIAN -DOMIT_STRPTIME -I../windows/openssl-1.1.1k/include -I../src -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/wk/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c cpp-compat.cpp -o cpp-compat.o g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -DS2_USE_EXACTFLOAT -D_USE_MATH_DEFINES -DNDEBUG -DIS_LITTLE_ENDIAN -DOMIT_STRPTIME -I../windows/openssl-1.1.1k/include -I../src -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/wk/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c init.cpp -o init.o g+ In file included from ../src/s2/s2cap.h:26, from ../src/s2/s2convex_hull_query.h:25, from s2geography/accessors-geog.h:4, from s2geography.h:4, from geography.h:7, from geography-operator.h:7, from s2-accessors.cpp:2: ../src/s2/encoded_uint_vector.h: In function 'void s2coding::EncodeUintWithLength(T, int, Encoder*)': ../src/s2/base/logging.h:169:47: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 169 | #define S2_DCHECK_GE(val1, val2) S2_DCHECK_OP(>=, val1, val2) | ^ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ ../src/s2/base/logging.h:169:34: note: in expansion of macro 'S2_DCHECK_OP' 169 | #define S2_DCHECK_GE(val1, val2) S2_DCHECK_OP(>=, val1, val2) | ^~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h:134:3: note: in expansion of macro 'S2_DCHECK_GE' 134 | S2_DCHECK_GE(encoder->avail(), length); | ^~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h: In instantiation of 'T s2coding::EncodedUintVector<T>::operator[](int) const [with T = long long unsigned int]': ../src/s2/encoded_string_vector.h:146:47: required from here ../src/s2/encoded_uint_vector.h:246:25: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32' {aka 'const unsigned int'} [-Wsign-compare] 246 | S2_DCHECK(i >= 0 && i < size_); | ~~^~~~~~~ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ ../src/s2/encoded_uint_vector.h: In instantiation of 'T s2coding::GetUintWithLength(const char*, int) [with T = long long unsigned int]': ../src/s2/encoded_uint_vector.h:247:30: required from 'T s2coding::EncodedUintVector<T>::operator[](int) const [with T = long long unsigned int]' ../src/s2/encoded_string_vector.h:146:47: required from here ../src/s2/encoded_uint_vector.h:147:35: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 147 | S2_DCHECK(length >= 0 && length <= sizeof(T)); | ~~~~~~~^~~~~~~~~~~~ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -DS2_USE_EXACTFLOAT -D_USE_MATH_DEFINES -DNDEBUG -DIS_LITTLE_ENDIAN -DOMIT_STRPTIME -I../windows/openssl-1.1.1k/include -I../src -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/wk/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c s2-bounds.cpp -o s2-bounds.o In file included from s2/s2latlng_rect.h:25, from s2-bounds.cpp:2: ../src/s2/encoded_uint_vector.h: In function 'void s2coding::EncodeUintWithLength(T, int, Encoder*)': ../src/s2/base/logging.h:169:47: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 169 | #define S2_DCHECK_GE(val1, val2) S2_DCHECK_OP(>=, val1, val2) | ^ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ ../src/s2/base/logging.h:169:34: note: in expansion of macro 'S2_DCHECK_OP' 169 | #define S2_DCHECK_GE(val1, val2) S2_DCHECK_OP(>=, val1, val2) | ^~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h:134:3: note: in expansion of macro 'S2_DCHECK_GE' 134 | S2_DCHECK_GE(encoder->avail(), length); | ^~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h: In instantiation of 'T s2coding::EncodedUintVector<T>::operator[](int) const [with T = long long unsigned int]': ../src/s2/encoded_string_vector.h:146:47: required from here ../src/s2/encoded_uint_vector.h:246:25: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32' {aka 'const unsigned int'} [-Wsign-compare] 246 | S2_DCHECK(i >= 0 && i < size_); | ~~^~~~~~~ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ ../src/s2/encoded_uint_vector.h: In instantiation of 'T s2coding::GetUintWithLength(const char*, int) [with T = long long unsigned int]': ../src/s2/encoded_uint_vector.h:247:30: required from 'T s2coding::EncodedUintVector<T>::operator[](int) const [with T = long long unsigned int]' ../src/s2/encoded_string_vector.h:146:47: required from here ../src/s2/encoded_uint_vector.h:147:35: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 147 | S2_DCHECK(length >= 0 && length <= sizeof(T)); | ~~~~~~~^~~~~~~~~~~~ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -DS2_USE_EXACTFLOAT -D_USE_MATH_DEFINES -DNDEBUG -DIS_LITTLE_ENDIAN -DOMIT_STRPTIME -I../windows/openssl-1.1.1k/include -I../src -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/wk/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c s2-cell-union.cpp -o s2-cell-union.o In file included from s2/s2cell_id.h:28, from s2-cell-union.cpp:2: ../src/s2/encoded_uint_vector.h: In function 'void s2coding::EncodeUintWithLength(T, int, Encoder*)': ../src/s2/base/logging.h:169:47: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 169 | #define S2_DCHECK_GE(val1, val2) S2_DCHECK_OP(>=, val1, val2) | ^ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ ../src/s2/base/logging.h:169:34: note: in expansion of macro 'S2_DCHECK_OP' 169 | #define S2_DCHECK_GE(val1, val2) S2_DCHECK_OP(>=, val1, val2) | ^~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h:134:3: note: in expansion of macro 'S2_DCHECK_GE' 134 | S2_DCHECK_GE(encoder->avail(), length); | ^~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h: In instantiation of 'T s2coding::EncodedUintVector<T>::operator[](int) const [with T = long long unsigned int]': ../src/s2/encoded_string_vector.h:146:47: required from here ../src/s2/encoded_uint_vector.h:246:25: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32' {aka 'const unsigned int'} [-Wsign-compare] 246 | S2_DCHECK(i >= 0 && i < size_); | ~~^~~~~~~ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ In file included from ../src/s2/s2closest_edge_query.h:34, from s2/s2shape_index_buffered_region.h:25, from s2-cell-union.cpp:7: ../src/s2/s2closest_edge_query_base.h: In instantiation of 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdgesInternal(Target*, const Options&) [with Distance = S2MinDistance; Target = S2DistanceTarget<S2MinDistance>]': ../src/s2/s2closest_edge_query_base.h:532:3: required from 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdges(Target*, const Options&, std::vector<Result>*) [with Distance = S2MinDistance; Target = S2DistanceTarget<S2MinDistance>]' ../src/s2/s2closest_edge_query.h:395:25: required from here ../src/s2/s2closest_edge_query_base.h:574:35: warning: comparison of integer expressions of different signedness: 'absl::lts_20220623::container_internal::btree_container<absl::lts_20220623::container_internal::btree<absl::lts_20220623::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false> > >::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 574 | return shape_ids.size() < options.max_results(); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h: In instantiation of 'T s2coding::GetUintWithLength(const char*, int) [with T = long long unsigned int]': ../src/s2/encoded_uint_vector.h:247:30: required from 'T s2coding::EncodedUintVector<T>::operator[](int) const [with T = long long unsigned int]' ../src/s2/encoded_string_vector.h:146:47: required from here ../src/s2/encoded_uint_vector.h:147:35: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 147 | S2_DCHECK(length >= 0 && length <= sizeof(T)); | ~~~~~~~^~~~~~~~~~~~ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ ../src/s2/s2closest_edge_query_base.h: In instantiation of 'void S2ClosestEdgeQueryBase<Distance>::InitQueue() [with Distance = S2MinDistance]': ../src/s2/s2closest_edge_query_base.h:649:3: required from 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdgesOptimized() [with Distance = S2MinDistance]' ../src/s2/s2closest_edge_query_base.h:632:5: required from 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdgesInternal(Target*, const Options&) [with Distance = S2MinDistance; Target = S2DistanceTarget<S2MinDistance>]' ../src/s2/s2closest_edge_query_base.h:532:3: required from 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdges(Target*, const Options&, std::vector<Result>*) [with Distance = S2MinDistance; Target = S2DistanceTarget<S2MinDistance>]' ../src/s2/s2closest_edge_query.h:395:25: required from here ../src/s2/s2closest_edge_query_base.h:721:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<S2CellId>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 721 | for (int i = 0; i < index_covering_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/s2/s2closest_edge_query_base.h:738:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<S2CellId>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 738 | for (int i = 0, j = 0; i < initial_cells_.size(); ) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ ../src/s2/s2closest_edge_query_base.h:757:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<S2CellId>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 757 | while (++i < initial_cells_.size() && initial_cells_[i] <= last_id) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -DS2_USE_EXACTFLOAT -D_USE_MATH_DEFINES -DNDEBUG -DIS_LITTLE_ENDIAN -DOMIT_STRPTIME -I../windows/openssl-1.1.1k/include -I../src -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/wk/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c s2-cell.cpp -o s2-cell.o In file included from s2/s2cell_id.h:28, from s2-cell.cpp:8: ../src/s2/encoded_uint_vector.h: In function 'void s2coding::EncodeUintWithLength(T, int, Encoder*)': ../src/s2/base/logging.h:169:47: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 169 | #define S2_DCHECK_GE(val1, val2) S2_DCHECK_OP(>=, val1, val2) | ^ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ ../src/s2/base/logging.h:169:34: note: in expansion of macro 'S2_DCHECK_OP' 169 | #define S2_DCHECK_GE(val1, val2) S2_DCHECK_OP(>=, val1, val2) | ^~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h:134:3: note: in expansion of macro 'S2_DCHECK_GE' 134 | S2_DCHECK_GE(encoder->avail(), length); | ^~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h: In instantiation of 'T s2coding::EncodedUintVector<T>::operator[](int) const [with T = long long unsigned int]': ../src/s2/encoded_string_vector.h:146:47: required from here ../src/s2/encoded_uint_vector.h:246:25: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32' {aka 'const unsigned int'} [-Wsign-compare] 246 | S2_DCHECK(i >= 0 && i < size_); | ~~^~~~~~~ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ ../src/s2/encoded_uint_vector.h: In instantiation of 'T s2coding::GetUintWithLength(const char*, int) [with T = long long unsigned int]': ../src/s2/encoded_uint_vector.h:247:30: required from 'T s2coding::EncodedUintVector<T>::operator[](int) const [with T = long long unsigned int]' ../src/s2/encoded_string_vector.h:146:47: required from here ../src/s2/encoded_uint_vector.h:147:35: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 147 | S2_DCHECK(length >= 0 && length <= sizeof(T)); | ~~~~~~~^~~~~~~~~~~~ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -DS2_USE_EXACTFLOAT -D_USE_MATH_DEFINES -DNDEBUG -DIS_LITTLE_ENDIAN -DOMIT_STRPTIME -I../windows/openssl-1.1.1k/include -I../src -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/wk/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c s2-constructors-formatters.cpp -o s2-constructors-formatters.o In file included from ../src/s2/util/math/vector.h:32, from ../src/s2/s2point.h:22, from ../src/s2/s1angle.h:28, from s2/s2pointutil.h:25, from s2-constructors-formatters.cpp:6: ../src/s2/encoded_uint_vector.h: In function 'void s2coding::EncodeUintWithLength(T, int, Encoder*)': ../src/s2/base/logging.h:169:47: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 169 | #define S2_DCHECK_GE(val1, val2) S2_DCHECK_OP(>=, val1, val2) | ^ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ ../src/s2/base/logging.h:169:34: note: in expansion of macro 'S2_DCHECK_OP' 169 | #define S2_DCHECK_GE(val1, val2) S2_DCHECK_OP(>=, val1, val2) | ^~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h:134:3: note: in expansion of macro 'S2_DCHECK_GE' 134 | S2_DCHECK_GE(encoder->avail(), length); | ^~~~~~~~~~~~ s2-constructors-formatters.cpp: In member function 'int TessellatingExporter::last_coord_in_series(const wk_meta_t*, const S2Point&, wk_handler_t*)': s2-constructors-formatters.cpp:444:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Vector2<double> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 444 | for (int i = 0; i < points_out_.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~ s2-constructors-formatters.cpp: In member function 'int TessellatingExporter::last_coord_in_loop(const wk_meta_t*, const S2Point&, wk_handler_t*)': s2-constructors-formatters.cpp:457:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Vector2<double> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 457 | for (int i = 0; i < (points_out_.size() - 1); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h: In instantiation of 'T s2coding::EncodedUintVector<T>::operator[](int) const [with T = long long unsigned int]': ../src/s2/encoded_string_vector.h:146:47: required from here ../src/s2/encoded_uint_vector.h:246:25: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32' {aka 'const unsigned int'} [-Wsign-compare] 246 | S2_DCHECK(i >= 0 && i < size_); | ~~^~~~~~~ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ ../src/s2/encoded_uint_vector.h: In instantiation of 'T s2coding::GetUintWithLength(const char*, int) [with T = long long unsigned int]': ../src/s2/encoded_uint_vector.h:247:30: required from 'T s2coding::EncodedUintVector<T>::operator[](int) const [with T = long long unsigned int]' ../src/s2/encoded_string_vector.h:146:47: required from here ../src/s2/encoded_uint_vector.h:147:35: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 147 | S2_DCHECK(length >= 0 && length <= sizeof(T)); | ~~~~~~~^~~~~~~~~~~~ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -DS2_USE_EXACTFLOAT -D_USE_MATH_DEFINES -DNDEBUG -DIS_LITTLE_ENDIAN -DOMIT_STRPTIME -I../windows/openssl-1.1.1k/include -I../src -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/wk/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c s2-geography.cpp -o s2-geography.o In file included from ../src/s2/util/math/vector.h:32, from ../src/s2/r2.h:22, from s2/s2latlng.h:28, from s2-geography.cpp:2: ../src/s2/encoded_uint_vector.h: In function 'void s2coding::EncodeUintWithLength(T, int, Encoder*)': ../src/s2/base/logging.h:169:47: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 169 | #define S2_DCHECK_GE(val1, val2) S2_DCHECK_OP(>=, val1, val2) | ^ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ ../src/s2/base/logging.h:169:34: note: in expansion of macro 'S2_DCHECK_OP' 169 | #define S2_DCHECK_GE(val1, val2) S2_DCHECK_OP(>=, val1, val2) | ^~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h:134:3: note: in expansion of macro 'S2_DCHECK_GE' 134 | S2_DCHECK_GE(encoder->avail(), length); | ^~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h: In instantiation of 'T s2coding::EncodedUintVector<T>::operator[](int) const [with T = long long unsigned int]': ../src/s2/encoded_string_vector.h:146:47: required from here ../src/s2/encoded_uint_vector.h:246:25: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32' {aka 'const unsigned int'} [-Wsign-compare] 246 | S2_DCHECK(i >= 0 && i < size_); | ~~^~~~~~~ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ ../src/s2/encoded_uint_vector.h: In instantiation of 'T s2coding::GetUintWithLength(const char*, int) [with T = long long unsigned int]': ../src/s2/encoded_uint_vector.h:247:30: required from 'T s2coding::EncodedUintVector<T>::operator[](int) const [with T = long long unsigned int]' ../src/s2/encoded_string_vector.h:146:47: required from here ../src/s2/encoded_uint_vector.h:147:35: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 147 | S2_DCHECK(length >= 0 && length <= sizeof(T)); | ~~~~~~~^~~~~~~~~~~~ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -DS2_USE_EXACTFLOAT -D_USE_MATH_DEFINES -DNDEBUG -DIS_LITTLE_ENDIAN -DOMIT_STRPTIME -I../windows/openssl-1.1.1k/include -I../src -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/wk/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c s2-lnglat.cpp -o s2-lnglat.o g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -DS2_USE_EXACTFLOAT -D_USE_MATH_DEFINES -DNDEBUG -DIS_LITTLE_ENDIAN -DOMIT_STRPTIME -I../windows/openssl-1.1.1k/include -I../src -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/wk/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c s2-matrix.cpp -o s2-matrix.o In file included from ../src/s2/id_set_lexicon.h:25, from ../src/s2/s2builder.h:30, from s2/s2boolean_operation.h:24, from s2-matrix.cpp:6: ../src/s2/encoded_uint_vector.h: In function 'void s2coding::EncodeUintWithLength(T, int, Encoder*)': ../src/s2/base/logging.h:169:47: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 169 | #define S2_DCHECK_GE(val1, val2) S2_DCHECK_OP(>=, val1, val2) | ^ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ ../src/s2/base/logging.h:169:34: note: in expansion of macro 'S2_DCHECK_OP' 169 | #define S2_DCHECK_GE(val1, val2) S2_DCHECK_OP(>=, val1, val2) | ^~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h:134:3: note: in expansion of macro 'S2_DCHECK_GE' 134 | S2_DCHECK_GE(encoder->avail(), length); | ^~~~~~~~~~~~ s2-matrix.cpp: In member function 'Rcpp::List BruteForceMatrixPredicateOperator::processVector(Rcpp::List, Rcpp::List)': s2-matrix.cpp:353:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare] 353 | for (size_t j = 0; j < geog2.size(); j++) { | ~~^~~~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h: In instantiation of 'T s2coding::EncodedUintVector<T>::operator[](int) const [with T = long long unsigned int]': ../src/s2/encoded_string_vector.h:146:47: required from here ../src/s2/encoded_uint_vector.h:246:25: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32' {aka 'const unsigned int'} [-Wsign-compare] 246 | S2_DCHECK(i >= 0 && i < size_); | ~~^~~~~~~ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ In file included from s2/s2closest_edge_query.h:34, from s2-matrix.cpp:7: ../src/s2/s2closest_edge_query_base.h: In instantiation of 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdgesInternal(Target*, const Options&) [with Distance = S2MinDistance; Target = S2DistanceTarget<S2MinDistance>]': ../src/s2/s2closest_edge_query_base.h:532:3: required from 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdges(Target*, const Options&, std::vector<Result>*) [with Distance = S2MinDistance; Target = S2DistanceTarget<S2MinDistance>]' s2/s2closest_edge_query.h:395:25: required from here ../src/s2/s2closest_edge_query_base.h:574:35: warning: comparison of integer expressions of different signedness: 'absl::lts_20220623::container_internal::btree_container<absl::lts_20220623::container_internal::btree<absl::lts_20220623::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false> > >::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 574 | return shape_ids.size() < options.max_results(); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h: In instantiation of 'T s2coding::GetUintWithLength(const char*, int) [with T = long long unsigned int]': ../src/s2/encoded_uint_vector.h:247:30: required from 'T s2coding::EncodedUintVector<T>::operator[](int) const [with T = long long unsigned int]' ../src/s2/encoded_string_vector.h:146:47: required from here ../src/s2/encoded_uint_vector.h:147:35: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 147 | S2_DCHECK(length >= 0 && length <= sizeof(T)); | ~~~~~~~^~~~~~~~~~~~ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ ../src/s2/s2closest_edge_query_base.h: In instantiation of 'void S2ClosestEdgeQueryBase<Distance>::InitQueue() [with Distance = S2MinDistance]': ../src/s2/s2closest_edge_query_base.h:649:3: required from 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdgesOptimized() [with Distance = S2MinDistance]' ../src/s2/s2closest_edge_query_base.h:632:5: required from 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdgesInternal(Target*, const Options&) [with Distance = S2MinDistance; Target = S2DistanceTarget<S2MinDistance>]' ../src/s2/s2closest_edge_query_base.h:532:3: required from 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdges(Target*, const Options&, std::vector<Result>*) [with Distance = S2MinDistance; Target = S2DistanceTarget<S2MinDistance>]' s2/s2closest_edge_query.h:395:25: required from here ../src/s2/s2closest_edge_query_base.h:721:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<S2CellId>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 721 | for (int i = 0; i < index_covering_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/s2/s2closest_edge_query_base.h:738:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<S2CellId>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 738 | for (int i = 0, j = 0; i < initial_cells_.size(); ) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ ../src/s2/s2closest_edge_query_base.h:757:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<S2CellId>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 757 | while (++i < initial_cells_.size() && initial_cells_[i] <= last_id) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/absl/container/inlined_vector.h:53, from ../src/absl/strings/cord.h:79, from ../src/absl/container/internal/btree.h:69, from ../src/absl/container/btree_map.h:53, from ../src/s2/mutable_s2shape_index.h:41, from ../src/s2/s2builder.h:31: In member function 'void absl::lts_20220623::inlined_vector_internal::Storage<T, N, A>::MemcpyFrom(const absl::lts_20220623::inlined_vector_internal::Storage<T, N, A>&) [with T = S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry; long long unsigned int N = 16; A = std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>]', inlined from 'absl::lts_20220623::InlinedVector<T, N, A>& absl::lts_20220623::InlinedVector<T, N, A>::operator=(absl::lts_20220623::InlinedVector<T, N, A>&&) [with T = S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry; long long unsigned int N = 16; A = std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>]' at ../src/absl/container/inlined_vector.h:491:28, inlined from 'std::priority_queue<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, absl::lts_20220623::InlinedVector<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry> >, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry> >& std::priority_queue<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, absl::lts_20220623::InlinedVector<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry> >, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry> >::operator=(std::priority_queue<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, absl::lts_20220623::InlinedVector<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry> >, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry> >&&)' at c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_queue.h:498:11, inlined from 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdgesOptimized() [with Distance = S2MinDistance]' at ../src/s2/s2closest_edge_query_base.h:661:14: ../src/absl/container/internal/inlined_vector.h:447:5: warning: '<unnamed>.std::priority_queue<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, absl::lts_20220623::InlinedVector<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry> >, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry> >::c.absl::lts_20220623::InlinedVector<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry> >::storage_.absl::lts_20220623::inlined_vector_internal::Storage<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry> >::data_' may be used uninitialized [-Wmaybe-uninitialized] 447 | data_ = other_storage.data_; | ^~~~~ ../src/s2/s2closest_edge_query_base.h: In member function 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdgesOptimized() [with Distance = S2MinDistance]': ../src/s2/s2closest_edge_query_base.h:661:16: note: '<anonymous>' declared here 661 | queue_ = CellQueue(); // Clear any remaining entries. | ^~~~~~~~~~~ g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -DS2_USE_EXACTFLOAT -D_USE_MATH_DEFINES -DNDEBUG -DIS_LITTLE_ENDIAN -DOMIT_STRPTIME -I../windows/openssl-1.1.1k/include -I../src -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/wk/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c s2-predicates.cpp -o s2-predicates.o In file included from ../src/s2/id_set_lexicon.h:25, from ../src/s2/s2builder.h:30, from s2/s2boolean_operation.h:24, from s2-predicates.cpp:2: ../src/s2/encoded_uint_vector.h: In function 'void s2coding::EncodeUintWithLength(T, int, Encoder*)': ../src/s2/base/logging.h:169:47: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 169 | #define S2_DCHECK_GE(val1, val2) S2_DCHECK_OP(>=, val1, val2) | ^ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ ../src/s2/base/logging.h:169:34: note: in expansion of macro 'S2_DCHECK_OP' 169 | #define S2_DCHECK_GE(val1, val2) S2_DCHECK_OP(>=, val1, val2) | ^~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h:134:3: note: in expansion of macro 'S2_DCHECK_GE' 134 | S2_DCHECK_GE(encoder->avail(), length); | ^~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h: In instantiation of 'T s2coding::EncodedUintVector<T>::operator[](int) const [with T = long long unsigned int]': ../src/s2/encoded_string_vector.h:146:47: required from here ../src/s2/encoded_uint_vector.h:246:25: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32' {aka 'const unsigned int'} [-Wsign-compare] 246 | S2_DCHECK(i >= 0 && i < size_); | ~~^~~~~~~ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ In file included from s2/s2closest_edge_query.h:34, from s2-predicates.cpp:3: ../src/s2/s2closest_edge_query_base.h: In instantiation of 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdgesInternal(Target*, const Options&) [with Distance = S2MinDistance; Target = S2DistanceTarget<S2MinDistance>]': ../src/s2/s2closest_edge_query_base.h:532:3: required from 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdges(Target*, const Options&, std::vector<Result>*) [with Distance = S2MinDistance; Target = S2DistanceTarget<S2MinDistance>]' s2/s2closest_edge_query.h:395:25: required from here ../src/s2/s2closest_edge_query_base.h:574:35: warning: comparison of integer expressions of different signedness: 'absl::lts_20220623::container_internal::btree_container<absl::lts_20220623::container_internal::btree<absl::lts_20220623::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false> > >::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 574 | return shape_ids.size() < options.max_results(); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h: In instantiation of 'T s2coding::GetUintWithLength(const char*, int) [with T = long long unsigned int]': ../src/s2/encoded_uint_vector.h:247:30: required from 'T s2coding::EncodedUintVector<T>::operator[](int) const [with T = long long unsigned int]' ../src/s2/encoded_string_vector.h:146:47: required from here ../src/s2/encoded_uint_vector.h:147:35: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 147 | S2_DCHECK(length >= 0 && length <= sizeof(T)); | ~~~~~~~^~~~~~~~~~~~ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ ../src/s2/s2closest_edge_query_base.h: In instantiation of 'void S2ClosestEdgeQueryBase<Distance>::InitQueue() [with Distance = S2MinDistance]': ../src/s2/s2closest_edge_query_base.h:649:3: required from 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdgesOptimized() [with Distance = S2MinDistance]' ../src/s2/s2closest_edge_query_base.h:632:5: required from 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdgesInternal(Target*, const Options&) [with Distance = S2MinDistance; Target = S2DistanceTarget<S2MinDistance>]' ../src/s2/s2closest_edge_query_base.h:532:3: required from 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdges(Target*, const Options&, std::vector<Result>*) [with Distance = S2MinDistance; Target = S2DistanceTarget<S2MinDistance>]' s2/s2closest_edge_query.h:395:25: required from here ../src/s2/s2closest_edge_query_base.h:721:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<S2CellId>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 721 | for (int i = 0; i < index_covering_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/s2/s2closest_edge_query_base.h:738:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<S2CellId>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 738 | for (int i = 0, j = 0; i < initial_cells_.size(); ) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ ../src/s2/s2closest_edge_query_base.h:757:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<S2CellId>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 757 | while (++i < initial_cells_.size() && initial_cells_[i] <= last_id) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -DS2_USE_EXACTFLOAT -D_USE_MATH_DEFINES -DNDEBUG -DIS_LITTLE_ENDIAN -DOMIT_STRPTIME -I../windows/openssl-1.1.1k/include -I../src -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/wk/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c s2-transformers.cpp -o s2-transformers.o In file included from ../src/s2/s2cap.h:26, from s2/s2shape_index_buffered_region.h:22, from s2-transformers.cpp:2: ../src/s2/encoded_uint_vector.h: In function 'void s2coding::EncodeUintWithLength(T, int, Encoder*)': ../src/s2/base/logging.h:169:47: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 169 | #define S2_DCHECK_GE(val1, val2) S2_DCHECK_OP(>=, val1, val2) | ^ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ ../src/s2/base/logging.h:169:34: note: in expansion of macro 'S2_DCHECK_OP' 169 | #define S2_DCHECK_GE(val1, val2) S2_DCHECK_OP(>=, val1, val2) | ^~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h:134:3: note: in expansion of macro 'S2_DCHECK_GE' 134 | S2_DCHECK_GE(encoder->avail(), length); | ^~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h: In instantiation of 'T s2coding::EncodedUintVector<T>::operator[](int) const [with T = long long unsigned int]': ../src/s2/encoded_string_vector.h:146:47: required from here ../src/s2/encoded_uint_vector.h:246:25: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32' {aka 'const unsigned int'} [-Wsign-compare] 246 | S2_DCHECK(i >= 0 && i < size_); | ~~^~~~~~~ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ In file included from ../src/s2/s2closest_edge_query.h:34, from s2/s2shape_index_buffered_region.h:25: ../src/s2/s2closest_edge_query_base.h: In instantiation of 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdgesInternal(Target*, const Options&) [with Distance = S2MinDistance; Target = S2DistanceTarget<S2MinDistance>]': ../src/s2/s2closest_edge_query_base.h:532:3: required from 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdges(Target*, const Options&, std::vector<Result>*) [with Distance = S2MinDistance; Target = S2DistanceTarget<S2MinDistance>]' ../src/s2/s2closest_edge_query.h:395:25: required from here ../src/s2/s2closest_edge_query_base.h:574:35: warning: comparison of integer expressions of different signedness: 'absl::lts_20220623::container_internal::btree_container<absl::lts_20220623::container_internal::btree<absl::lts_20220623::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false> > >::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 574 | return shape_ids.size() < options.max_results(); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ../src/s2/encoded_uint_vector.h: In instantiation of 'T s2coding::GetUintWithLength(const char*, int) [with T = long long unsigned int]': ../src/s2/encoded_uint_vector.h:247:30: required from 'T s2coding::EncodedUintVector<T>::operator[](int) const [with T = long long unsigned int]' ../src/s2/encoded_string_vector.h:146:47: required from here ../src/s2/encoded_uint_vector.h:147:35: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 147 | S2_DCHECK(length >= 0 && length <= sizeof(T)); | ~~~~~~~^~~~~~~~~~~~ ../src/s2/base/logging.h:151:22: note: in definition of macro 'S2_DCHECK' 151 | while (false && (condition)) S2NullStream() | ^~~~~~~~~ ../src/s2/s2closest_edge_query_base.h: In instantiation of 'void S2ClosestEdgeQueryBase<Distance>::InitQueue() [with Distance = S2MinDistance]': ../src/s2/s2closest_edge_query_base.h:649:3: required from 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdgesOptimized() [with Distance = S2MinDistance]' ../src/s2/s2closest_edge_query_base.h:632:5: required from 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdgesInternal(Target*, const Options&) [with Distance = S2MinDistance; Target = S2DistanceTarget<S2MinDistance>]' ../src/s2/s2closest_edge_query_base.h:532:3: required from 'void S2ClosestEdgeQueryBase<Distance>::FindClosestEdges(Target*, const Options&, std::vector<Result>*) [with Distance = S2MinDistance; Target = S2DistanceTarget<S2MinDistance>]' ../src/s2/s2closest_edge_query.h:395:25: required from here ../src/s2/s2closest_edge_query_base.h:721:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<S2CellId>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 721 | for (int i = 0; i < index_covering_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/s2/s2closest_edge_query_base.h:738:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<S2CellId>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 738 | for (int i = 0, j = 0; i < initial_cells_.size(); ) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ ../src/s2/s2closest_edge_query_base.h:757:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<S2CellId>::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 757 | while (++i < initial_cells_.size() && initial_cells_[i] <= last_id) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ gcc -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -DS2_USE_EXACTFLOAT -D_USE_MATH_DEFINES -DNDEBUG -DIS_LITTLE_ENDIAN -DOMIT_STRPTIME -I../windows/openssl-1.1.1k/include -I../src -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/jpowell/AppData/Local/R/win-library/4.3/wk/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c wk-impl.c -o wk-impl.o mkdir -p ../inst "C:/PROGRA~1/R/R-43~1.1/bin/x64/Rscript.exe" "../tools/winlibs.R" 1.1.1k Error in download.file(sprintf("https://github.com/rwinlib/openssl/archive/v%s.zip", : cannot open URL 'https://github.com/rwinlib/openssl/archive/v1.1.1k.zip' In addition: Warning message: In download.file(sprintf("https://github.com/rwinlib/openssl/archive/v%s.zip", : URL 'https://github.com/rwinlib/openssl/archive/v1.1.1k.zip': status was 'SSL connect error' Execution halted make: *** [Makevars.win:219: winlibs] Error 1 ERROR: compilation failed for package 's2' * removing 'C:/Users/jpowell/AppData/Local/R/win-library/4.3/s2' Warning message: In install.packages(files[tarballs], .libPaths()[1L], repos = NULL, : installation of package âC:/Users/jpowell/DOWNLO~1/s2_1.1.6 (1).tar.gzâ had non-zero exit status >
______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.