* installing *source* package 'crownsegmentr' ...
** this is package 'crownsegmentr' version '1.0.1'
** package 'crownsegmentr' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 14.3.0'
using C++17
make[1]: Entering directory '/d/temp/2025_12_11_01_50_00_29123/RtmpcNNJ70/R.INSTALL33a8762050/crownsegmentr/src'
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/progress/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o
In file included from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/aux_/na_assert.hpp:23,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/arg.hpp:25,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/variant/variant_fwd.hpp:19,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/geometry/algorithms/assign.hpp:25,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/geometry/policies/relate/intersection_points.hpp:21,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/geometry/policies/relate/intersection_policy.hpp:21,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/geometry/strategies/intersection_strategies.hpp:20,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/geometry/strategies/strategies.hpp:37,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/geometry/geometry.hpp:57,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/geometry.hpp:17,
from ../inst/include/spatial_types.h:25,
from ../inst/include/ams3d_R_interface.h:25,
from ../inst/include/crownsegmentr.h:25,
from RcppExports.cpp:4:
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
194 | failed ************ (Pred::************
| ^~~~~~~~~~~~~~~~~~~
195 | assert_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type )
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
196 | );
| ~
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses
194 | failed ************ (Pred::************
| ^~~~~~~~~~~~~~~~~~~
| -
195 | assert_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type )
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
196 | );
| ~
| -
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
199 | failed ************ (boost::mpl::not_<Pred>::************
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not<Pred>::type )
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
201 | );
| ~
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses
199 | failed ************ (boost::mpl::not_<Pred>::************
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| -
200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not<Pred>::type )
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
201 | );
| ~
| -
In file included from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/bind/mem_fn.hpp:23,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mem_fn.hpp:22,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/function/function_template.hpp:16,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/function.hpp:16,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/algorithm/string/detail/find_iterator.hpp:18,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/algorithm/string/find_iterator.hpp:24,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/algorithm/string/iter_find.hpp:27,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/algorithm/string/split.hpp:16,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/geometry/io/svg/svg_mapper.hpp:27,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/geometry/geometry.hpp:129:
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/get_pointer.hpp:48:40: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
48 | template<class T> T * get_pointer(std::auto_ptr<T> const& p)
| ^~~~~~~~
In file included from D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/memory:78,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/math/cstdfloat/cstdfloat_cmath.hpp:25,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/cstdfloat.hpp:27,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/multiprecision/detail/float128_functions.hpp:15,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/multiprecision/detail/fpclassify.hpp:13,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/multiprecision/detail/default_ops.hpp:15,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/multiprecision/detail/generic_interconvert.hpp:12,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/multiprecision/number.hpp:12,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/multiprecision/cpp_int.hpp:19,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/multiprecision/cpp_bin_float.hpp:15,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/geometry/core/coordinate_promotion.hpp:16,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/geometry/core/radian_access.hpp:28,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/geometry/geometry.hpp:50:
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/unique_ptr.h:59:28: note: declared here
59 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:84,
from ../inst/include/ams3d_R_interface.h:28:
D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Rmath.h: In function 'double R::rnbeta(double, double, double)':
D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Rmath.h:163:100: error: '::Rf_rnbeta' has not been declared; did you mean 'Rf_rbeta'?
163 | inline double rnbeta(double a, double b, double np) { return ::Rf_rnbeta(a, b, np); }
| ^~~~~~~~~
| Rf_rbeta
make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:296: RcppExports.o] Error 1
make[1]: Leaving directory '/d/temp/2025_12_11_01_50_00_29123/RtmpcNNJ70/R.INSTALL33a8762050/crownsegmentr/src'
ERROR: compilation failed for package 'crownsegmentr'
* removing 'd:/Rcompile/CRANpkg/lib/4.6/crownsegmentr'