* installing *source* package ‘TDA’ ... ** package ‘TDA’ successfully unpacked and MD5 sums checked ** using staged installation ** libs expr: syntax error using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using C++17 using SDK: ‘MacOSX11.3.sdk’ expr: syntax error clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I/opt/R/arm64/include -DBOOST_DISABLE_THREADS -DCGAL_EIGEN3_ENABLED -DCGAL_HEADER_ONLY -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I/opt/R/arm64/include -DBOOST_DISABLE_THREADS -DCGAL_EIGEN3_ENABLED -DCGAL_HEADER_ONLY -fPIC -falign-functions=64 -Wall -g -O2 -c diag.cpp -o diag.o In file included from diag.cpp:9: In file included from ./tdautils/ripsL2.h:5: In file included from ./topology/rips.h:6: In file included from ./topology/simplex.h:221: ./topology/simplex.hpp:12:1: warning: 'BoundaryIterator' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct Simplex<V,T>::BoundaryIterator: public boost::iterator_adaptor<BoundaryIterator, // Derived ^ ./topology/simplex.h:47:9: note: did you mean struct here? class BoundaryIterator; ^~~~~ struct In file included from diag.cpp:9: In file included from ./tdautils/ripsL2.h:5: ./topology/rips.h:173:1: warning: 'ComparePair' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct Rips<Distances_, Simplex_>::ComparePair ^ ./topology/rips.h:35:9: note: did you mean struct here? class ComparePair; ^~~~~ struct In file included from diag.cpp:9: In file included from ./tdautils/ripsL2.h:8: In file included from ./topology/dynamic-persistence.h:7: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/bind.hpp:36:1: warning: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. [-W#pragma-messages] BOOST_PRAGMA_MESSAGE( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/config/pragma_message.hpp:24:34: note: expanded from macro 'BOOST_PRAGMA_MESSAGE' # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x))) ^ <scratch space>:95:2: note: expanded from here message("The practice of declaring the Bind placeholders (_1, _2, ...) " "in the global namespace is deprecated. Please use " "<boost/bind/bind.hpp> + using namespace boost::placeholders, " "or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.") ^ In file included from diag.cpp:13: ./tdautils/gridUtils.h:183:13: warning: unused variable 'value' [-Wunused-variable] double value, value2; // max of value and value 2 is the fcn value. ^ ./tdautils/gridUtils.h:183:20: warning: unused variable 'value2' [-Wunused-variable] double value, value2; // max of value and value 2 is the fcn value. ^ In file included from diag.cpp:16: ./tdautils/typecastUtils.h:350:12: warning: unused variable 'iFill' [-Wunused-variable] unsigned iFill = 0; ^ ./tdautils/typecastUtils.h:394:12: warning: unused variable 'iFill' [-Wunused-variable] unsigned iFill = 0; ^ In file included from diag.cpp:19: In file included from ./tdautils/gudhiUtils.h:13: In file included from ./gudhi/Alpha_complex.h:26: In file included from ./CGAL/Delaunay_triangulation.h:15: In file included from ./CGAL/license/Triangulation.h:17: ./CGAL/config.h:124:9: warning: 'BOOST_PARAMETER_MAX_ARITY' macro redefined [-Wmacro-redefined] #define BOOST_PARAMETER_MAX_ARITY 12 ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/parameter/config.hpp:61:9: note: previous definition is here #define BOOST_PARAMETER_MAX_ARITY BOOST_MPL_LIMIT_VECTOR_SIZE ^ In file included from diag.cpp:34: ./kde.h:21:16: warning: unused variable 'pi' [-Wunused-variable] const double pi = 3.141592653589793; ^ In file included from diag.cpp:9: In file included from ./tdautils/ripsL2.h:8: In file included from ./topology/dynamic-persistence.h:332: ./topology/dynamic-persistence.hpp:60:73: warning: unused typedef 'TrailIterator' [-Wunused-local-typedef] typedef typename Element::Trail::iterator TrailIterator; ^ In file included from diag.cpp:30: ./alphaComplex.h:45:9: warning: unused type alias 'Point' [-Wunused-local-typedef] using Point = Kernel::Point_d; ^ 11 warnings generated. clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o TDA.so RcppExports.o diag.o -lgmp -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation expr: syntax error installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/TDA.Rcheck/00LOCK-TDA/00new/TDA/libs ** generating debug symbols (dSYM) ** 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 (TDA)