############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data scDDboost ### ############################################################################## ############################################################################## * checking for file ‘scDDboost/DESCRIPTION’ ... OK * preparing ‘scDDboost’: * checking DESCRIPTION meta-information ... OK * cleaning src * installing the package to process help pages ----------------------------------- * installing *source* package ‘scDDboost’ ... ** using staged installation ** libs using C compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using C++11 using SDK: ‘MacOSX11.3.sdk’ clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/RcppEigen/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c DATA.cpp -o DATA.o clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/RcppEigen/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Header.cpp -o Header.o clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/RcppEigen/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c derived.cpp -o derived.o In file included from derived.cpp:9: In file included from ./derived.h:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/special_functions/digamma.hpp:16: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/config.hpp:28:6: warning: "Boost.Math requires C++14" [-W#warnings] # warning "Boost.Math requires C++14" ^ In file included from derived.cpp:9: In file included from ./derived.h:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/special_functions/digamma.hpp:17: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/type_traits.hpp:176:12: error: no member named 'is_null_pointer' in namespace 'std'; did you mean 'is_pointer'? using std::is_null_pointer; ~~~~~^~~~~~~~~~~~~~~ is_pointer /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/type_traits:924:50: note: 'is_pointer' declared here template struct _LIBCPP_TEMPLATE_VIS is_pointer ^ In file included from derived.cpp:9: In file included from ./derived.h:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/special_functions/digamma.hpp:17: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/type_traits.hpp:208:12: error: no member named 'is_final' in namespace 'std' using std::is_final; ~~~~~^ /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/type_traits.hpp:259:12: error: no member named 'remove_cv_t' in namespace 'std'; did you mean 'remove_cv'? using std::remove_cv_t; ~~~~~^~~~~~~~~~~ remove_cv /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/type_traits:776:50: note: 'remove_cv' declared here template struct _LIBCPP_TEMPLATE_VIS remove_cv ^ In file included from derived.cpp:9: In file included from ./derived.h:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/special_functions/digamma.hpp:17: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/type_traits.hpp:261:12: error: no member named 'remove_const_t' in namespace 'std'; did you mean 'remove_const'? using std::remove_const_t; ~~~~~^~~~~~~~~~~~~~ remove_const /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/type_traits:734:50: note: 'remove_const' declared here template struct _LIBCPP_TEMPLATE_VIS remove_const {typedef _Tp type;}; ^ In file included from derived.cpp:9: In file included from ./derived.h:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/special_functions/digamma.hpp:17: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/type_traits.hpp:263:12: error: no member named 'remove_volatile_t' in namespace 'std'; did you mean 'remove_volatile'? using std::remove_volatile_t; ~~~~~^~~~~~~~~~~~~~~~~ remove_volatile /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/type_traits:755:50: note: 'remove_volatile' declared here template struct _LIBCPP_TEMPLATE_VIS remove_volatile {typedef _Tp type;}; ^ In file included from derived.cpp:9: In file included from ./derived.h:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/special_functions/digamma.hpp:17: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/type_traits.hpp:265:12: error: no member named 'add_cv_t' in namespace 'std'; did you mean 'add_cv'? using std::add_cv_t; ~~~~~^~~~~~~~ add_cv /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/type_traits:1347:50: note: 'add_cv' declared here template struct _LIBCPP_TEMPLATE_VIS add_cv { ^ In file included from derived.cpp:9: In file included from ./derived.h:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/special_functions/digamma.hpp:17: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/type_traits.hpp:267:12: error: no member named 'add_const_t' in namespace 'std'; did you mean 'add_const'? using std::add_const_t; ~~~~~^~~~~~~~~~~ add_const /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/type_traits:1328:50: note: 'add_const' declared here template struct _LIBCPP_TEMPLATE_VIS add_const { ^ In file included from derived.cpp:9: In file included from ./derived.h:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/special_functions/digamma.hpp:17: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/type_traits.hpp:269:12: error: no member named 'add_volatile_t' in namespace 'std'; did you mean 'add_volatile'? using std::add_volatile_t; ~~~~~^~~~~~~~~~~~~~ add_volatile /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/type_traits:1338:50: note: 'add_volatile' declared here template struct _LIBCPP_TEMPLATE_VIS add_volatile { ^ In file included from derived.cpp:9: In file included from ./derived.h:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/special_functions/digamma.hpp:17: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/type_traits.hpp:273:12: error: no member named 'remove_reference_t' in namespace 'std'; did you mean 'remove_reference'? using std::remove_reference_t; ~~~~~^~~~~~~~~~~~~~~~~~ remove_reference /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/type_traits:1364:50: note: 'remove_reference' declared here template struct _LIBCPP_TEMPLATE_VIS remove_reference {typedef _LIBCPP_NODEBUG_TYPE _Tp type;}; ^ In file included from derived.cpp:9: In file included from ./derived.h:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/special_functions/digamma.hpp:17: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/type_traits.hpp:275:12: error: no member named 'add_lvalue_reference_t' in namespace 'std'; did you mean 'add_lvalue_reference'? using std::add_lvalue_reference_t; ~~~~~^~~~~~~~~~~~~~~~~~~~~~ add_lvalue_reference /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/type_traits:1379:50: note: 'add_lvalue_reference' declared here template struct _LIBCPP_TEMPLATE_VIS add_lvalue_reference ^ In file included from derived.cpp:9: In file included from ./derived.h:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/special_functions/digamma.hpp:17: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/type_traits.hpp:277:12: error: no member named 'add_rvalue_reference_t' in namespace 'std'; did you mean 'add_rvalue_reference'? using std::add_rvalue_reference_t; ~~~~~^~~~~~~~~~~~~~~~~~~~~~ add_rvalue_reference /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/type_traits:1389:50: note: 'add_rvalue_reference' declared here template struct _LIBCPP_TEMPLATE_VIS add_rvalue_reference ^ In file included from derived.cpp:9: In file included from ./derived.h:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/special_functions/digamma.hpp:17: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/type_traits.hpp:281:12: error: no member named 'remove_pointer_t' in namespace 'std'; did you mean 'remove_pointer'? using std::remove_pointer_t; ~~~~~^~~~~~~~~~~~~~~~ remove_pointer /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/type_traits:1446:50: note: 'remove_pointer' declared here template struct _LIBCPP_TEMPLATE_VIS remove_pointer {typedef _LIBCPP_NODEBUG_TYPE _Tp type;}; ^ In file included from derived.cpp:9: In file included from ./derived.h:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/special_functions/digamma.hpp:17: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/type_traits.hpp:283:12: error: no member named 'add_pointer_t' in namespace 'std'; did you mean 'add_pointer'? using std::add_pointer_t; ~~~~~^~~~~~~~~~~~~ add_pointer /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/type_traits:1466:50: note: 'add_pointer' declared here template struct _LIBCPP_TEMPLATE_VIS add_pointer ^ In file included from derived.cpp:9: In file included from ./derived.h:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/special_functions/digamma.hpp:17: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/type_traits.hpp:287:12: error: no member named 'make_signed_t' in namespace 'std'; did you mean 'make_signed'? using std::make_signed_t; ~~~~~^~~~~~~~~~~~~ make_signed /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/type_traits:2309:29: note: 'make_signed' declared here struct _LIBCPP_TEMPLATE_VIS make_signed ^ In file included from derived.cpp:9: In file included from ./derived.h:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/special_functions/digamma.hpp:17: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/type_traits.hpp:289:12: error: no member named 'make_unsigned_t' in namespace 'std'; did you mean 'make_unsigned'? using std::make_unsigned_t; ~~~~~^~~~~~~~~~~~~~~ make_unsigned /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/type_traits:2342:29: note: 'make_unsigned' declared here struct _LIBCPP_TEMPLATE_VIS make_unsigned ^ In file included from derived.cpp:9: In file included from ./derived.h:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/special_functions/digamma.hpp:17: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/type_traits.hpp:293:12: error: no member named 'remove_extent_t' in namespace 'std'; did you mean 'remove_extent'? using std::remove_extent_t; ~~~~~^~~~~~~~~~~~~~~ remove_extent /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/type_traits:1601:50: note: 'remove_extent' declared here template struct _LIBCPP_TEMPLATE_VIS remove_extent ^ In file included from derived.cpp:9: In file included from ./derived.h:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/special_functions/digamma.hpp:17: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/type_traits.hpp:295:12: error: no member named 'remove_all_extents_t' in namespace 'std'; did you mean 'remove_all_extents'? using std::remove_all_extents_t; ~~~~~^~~~~~~~~~~~~~~~~~~~ remove_all_extents /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/type_traits:1614:50: note: 'remove_all_extents' declared here template struct _LIBCPP_TEMPLATE_VIS remove_all_extents ^ In file included from derived.cpp:9: In file included from ./derived.h:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/special_functions/digamma.hpp:17: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/type_traits.hpp:299:12: error: no member named 'decay_t' in namespace 'std'; did you mean 'decay'? using std::decay_t; ~~~~~^~~~~~~ decay /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/type_traits:1669:29: note: 'decay' declared here struct _LIBCPP_TEMPLATE_VIS decay ^ In file included from derived.cpp:9: In file included from ./derived.h:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/special_functions/digamma.hpp:17: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include/boost/math/tools/type_traits.hpp:301:12: error: no member named 'enable_if_t' in namespace 'std'; did you mean 'enable_if'? using std::enable_if_t; ~~~~~^~~~~~~~~~~ enable_if /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/type_traits:538:63: note: 'enable_if' declared here template struct _LIBCPP_TEMPLATE_VIS enable_if {}; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. make: *** [derived.o] Error 1 ERROR: compilation failed for package ‘scDDboost’ * removing ‘/private/tmp/RtmppJ3YCT/Rinst515b56d49022/scDDboost’ ----------------------------------- ERROR: package installation failed