* installing *source* package ‘partitions’ ...
** this is package ‘partitions’ version ‘1.10-9’
** package ‘partitions’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
using C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
using SDK: ‘MacOSX14.5.sdk’
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c app.cpp -o app.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c partitions.c -o partitions.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c partitions_init.c -o partitions_init.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c permutations.c -o permutations.o
In file included from app.cpp:1:
In file included from ./partitions.h:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/iostream:43:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/ios:222:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__locale:15:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:22:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/allocation_guard.h:15:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/allocator_traits.h:14:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/construct_at.h:69:5: warning: destructor called on non-final 'prt::Tuple' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
69 | __loc->~_Tp();
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/construct_at.h:104:10: note: in instantiation of function template specialization 'std::__destroy_at<prt::Tuple, 0>' requested here
104 | std::__destroy_at(__loc);
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/allocator_traits.h:323:16: note: in instantiation of function template specialization 'std::destroy_at<prt::Tuple, 0>' requested here
323 | _VSTD::destroy_at(__p);
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/vector:944:25: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<prt::Tuple>>::destroy<prt::Tuple, void, void>' requested here
944 | __alloc_traits::destroy(__alloc(), std::__to_address(--__soon_to_be_end));
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/vector:938:29: note: in instantiation of member function 'std::vector<prt::Tuple>::__base_destruct_at_end' requested here
938 | void __clear() _NOEXCEPT {__base_destruct_at_end(this->__begin_);}
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/vector:489:20: note: in instantiation of member function 'std::vector<prt::Tuple>::__clear' requested here
489 | __vec_.__clear();
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/vector:500:67: note: in instantiation of member function 'std::vector<prt::Tuple>::__destroy_vector::operator()' requested here
500 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector(*this)(); }
| ^
./partitions.h:24:8: note: in instantiation of member function 'std::vector<prt::Tuple>::~vector' requested here
24 | class Vector: public Print, public std::vector<T > {
| ^
./partitions.h:61:3: note: in implicit destructor for 'prt::Vector<prt::Tuple>' first required here
61 | Partition(const Tuple& t):Vector<Tuple >(t.size()),num(0) {for(size_t i=0;i<t.size();i++) {at(i)=Tuple(t[i]); at(i).fillmaxint(); num+=t[i];}}
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/construct_at.h:69:13: note: qualify call to silence this warning
69 | __loc->~_Tp();
| ^
1 warning generated.
clang++ -arch arm64 -std=gnu++20 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o partitions.so app.o partitions.o partitions_init.o permutations.o -F/Library/Frameworks/R.framework/.. -framework R
installing to /Volumes/Builds/packages/sonoma-arm64/results/4.6/partitions.Rcheck/00LOCK-partitions/00new/partitions/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** 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 (partitions)