* 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++17 -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:23:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/allocator.h:172:9: warning: destructor called on non-final 'prt::Tuple' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
172 | __p->~_Tp();
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/allocator_traits.h:315:13: note: in instantiation of member function 'std::allocator<prt::Tuple>::destroy' requested here
315 | __a.destroy(__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>' 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/__utility/exception_guard.h:86:7: note: in instantiation of member function 'std::vector<prt::Tuple>::__destroy_vector::operator()' requested here
86 | __rollback_();
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__utility/exception_guard.h:137:10: note: in instantiation of member function 'std::__exception_guard_exceptions<std::vector<prt::Tuple>::__destroy_vector>::~__exception_guard_exceptions' requested here
137 | return __exception_guard<_Rollback>(std::move(__rollback));
| ^
./partitions.h:28:20: note: in instantiation of member function 'std::vector<prt::Tuple>::vector' requested here
28 | Vector(size_t n):std::vector<T >(n) {}
| ^
./partitions.h:61:29: note: in instantiation of member function 'prt::Vector<prt::Tuple>::Vector' requested 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/allocator.h:172:15: note: qualify call to silence this warning
172 | __p->~_Tp();
| ^
1 warning 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 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)