* installing *source* package ‘ream’ ... ** package ‘ream’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’ using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’ using SDK: ‘MacOSX11.3.sdk’ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Model.cpp -o Model.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Model_T.cpp -o Model_T.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Model_TW.cpp -o Model_TW.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Model_TX.cpp -o Model_TX.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_wrapper.cpp -o R_wrapper.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ream_init.c -o ream_init.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c tools.cpp -o tools.o Model_TW.cpp:151:10: warning: unused variable 'x_n' [-Wunused-variable] double x_n = 0.0, x_np1 = 0.0; ^ Model_TW.cpp:151:21: warning: unused variable 'x_np1' [-Wunused-variable] double x_n = 0.0, x_np1 = 0.0; ^ Model_TW.cpp:534:10: warning: unused variable 'x_n' [-Wunused-variable] double x_n = 0.0, x_np1 = 0.0; ^ Model_TW.cpp:534:21: warning: unused variable 'x_np1' [-Wunused-variable] double x_n = 0.0, x_np1 = 0.0; ^ Model_TW.cpp:871:23: warning: unused variable 'kk' [-Wunused-variable] int ii = 0, jj = 0, kk = 0; ^ Model_TW.cpp:1014:10: warning: unused variable 'x_n' [-Wunused-variable] double x_n = 0.0, x_np1 = 0.0; ^ Model_TW.cpp:1014:21: warning: unused variable 'x_np1' [-Wunused-variable] double x_n = 0.0, x_np1 = 0.0; ^ Model_T.cpp:881:23: warning: unused variable 'kk' [-Wunused-variable] int ii = 0, jj = 0, kk = 0; ^ Model_TX.cpp:880:23: warning: unused variable 'kk' [-Wunused-variable] int ii = 0, jj = 0, kk = 0; ^ In file included from R_wrapper.cpp:16: ./models_tw.h:50:12: warning: unused variable 'mu1' [-Wunused-variable] double mu1 = phi[3] + phi[4]*phi[5]; ^ ./models_tw.h:51:12: warning: unused variable 'mu2' [-Wunused-variable] double mu2 = phi[6]; ^ ./models_tw.h:111:12: warning: unused variable 'v' [-Wunused-variable] double v = 0.0; /* total summed drift rate for process 1 */ ^ ./models_tw.h:239:12: warning: unused variable 'v' [-Wunused-variable] double v = 0.0; /* total summed drift rate for process 1 */ ^ ./models_tw.h:309:12: warning: unused variable 'mu1' [-Wunused-variable] double mu1 = phi[3] + phi[4]*phi[5]; ^ ./models_tw.h:310:12: warning: unused variable 'mu2' [-Wunused-variable] double mu2 = phi[6]; ^ ./models_tw.h:365:12: warning: unused variable 'mu1' [-Wunused-variable] double mu1 = phi[3] + phi[4]*phi[5]; ^ ./models_tw.h:366:12: warning: unused variable 'mu2' [-Wunused-variable] double mu2 = phi[6]; ^ In file included from R_wrapper.cpp:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:90: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/functional:504: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'DMC' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<DMC>::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<DMC>::reset' requested here ~unique_ptr() { reset(); } ^ R_wrapper.cpp:51:12: note: in instantiation of member function 'std::unique_ptr<DMC>::~unique_ptr' requested here return std::make_unique<DMC>(); ^ In file included from R_wrapper.cpp:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:90: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/functional:504: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'CDSTP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<CDSTP>::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<CDSTP>::reset' requested here ~unique_ptr() { reset(); } ^ R_wrapper.cpp:53:12: note: in instantiation of member function 'std::unique_ptr<CDSTP>::~unique_ptr' requested here return std::make_unique<CDSTP>(); ^ In file included from R_wrapper.cpp:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:90: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/functional:504: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'ETM' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<ETM>::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<ETM>::reset' requested here ~unique_ptr() { reset(); } ^ R_wrapper.cpp:55:12: note: in instantiation of member function 'std::unique_ptr<ETM>::~unique_ptr' requested here return std::make_unique<ETM>(); ^ In file included from R_wrapper.cpp:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:90: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/functional:504: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LTM' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<LTM>::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<LTM>::reset' requested here ~unique_ptr() { reset(); } ^ R_wrapper.cpp:57:12: note: in instantiation of member function 'std::unique_ptr<LTM>::~unique_ptr' requested here return std::make_unique<LTM>(); ^ In file included from R_wrapper.cpp:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:90: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/functional:504: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'PAM' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<PAM>::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<PAM>::reset' requested here ~unique_ptr() { reset(); } ^ R_wrapper.cpp:59:12: note: in instantiation of member function 'std::unique_ptr<PAM>::~unique_ptr' requested here return std::make_unique<PAM>(); ^ In file included from R_wrapper.cpp:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:90: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/functional:504: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'RDMC' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<RDMC>::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<RDMC>::reset' requested here ~unique_ptr() { reset(); } ^ R_wrapper.cpp:61:12: note: in instantiation of member function 'std::unique_ptr<RDMC>::~unique_ptr' requested here return std::make_unique<RDMC>(); ^ In file included from R_wrapper.cpp:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:90: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/functional:504: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'RTM' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<RTM>::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<RTM>::reset' requested here ~unique_ptr() { reset(); } ^ R_wrapper.cpp:63:12: note: in instantiation of member function 'std::unique_ptr<RTM>::~unique_ptr' requested here return std::make_unique<RTM>(); ^ In file included from R_wrapper.cpp:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:90: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/functional:504: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'SDDM' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<SDDM>::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<SDDM>::reset' requested here ~unique_ptr() { reset(); } ^ R_wrapper.cpp:65:12: note: in instantiation of member function 'std::unique_ptr<SDDM>::~unique_ptr' requested here return std::make_unique<SDDM>(); ^ In file included from R_wrapper.cpp:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:90: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/functional:504: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'SDPM' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<SDPM>::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<SDPM>::reset' requested here ~unique_ptr() { reset(); } ^ R_wrapper.cpp:67:12: note: in instantiation of member function 'std::unique_ptr<SDPM>::~unique_ptr' requested here return std::make_unique<SDPM>(); ^ In file included from R_wrapper.cpp:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:90: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/functional:504: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'SSP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<SSP>::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<SSP>::reset' requested here ~unique_ptr() { reset(); } ^ R_wrapper.cpp:69:12: note: in instantiation of member function 'std::unique_ptr<SSP>::~unique_ptr' requested here return std::make_unique<SSP>(); ^ In file included from R_wrapper.cpp:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:90: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/functional:504: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'UGM' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<UGM>::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<UGM>::reset' requested here ~unique_ptr() { reset(); } ^ R_wrapper.cpp:71:12: note: in instantiation of member function 'std::unique_ptr<UGM>::~unique_ptr' requested here return std::make_unique<UGM>(); ^ In file included from R_wrapper.cpp:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:90: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/functional:504: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WTM' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<WTM>::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<WTM>::reset' requested here ~unique_ptr() { reset(); } ^ R_wrapper.cpp:73:12: note: in instantiation of member function 'std::unique_ptr<WTM>::~unique_ptr' requested here return std::make_unique<WTM>(); ^ In file included from R_wrapper.cpp:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:90: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/functional:504: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LIMF' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<LIMF>::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<LIMF>::reset' requested here ~unique_ptr() { reset(); } ^ R_wrapper.cpp:75:12: note: in instantiation of member function 'std::unique_ptr<LIMF>::~unique_ptr' requested here return std::make_unique<LIMF>(); ^ In file included from R_wrapper.cpp:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:90: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/functional:504: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LIM' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<LIM>::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<LIM>::reset' requested here ~unique_ptr() { reset(); } ^ R_wrapper.cpp:77:12: note: in instantiation of member function 'std::unique_ptr<LIM>::~unique_ptr' requested here return std::make_unique<LIM>(); ^ In file included from R_wrapper.cpp:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:90: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/functional:504: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'UGMF' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<UGMF>::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<UGMF>::reset' requested here ~unique_ptr() { reset(); } ^ R_wrapper.cpp:79:12: note: in instantiation of member function 'std::unique_ptr<UGMF>::~unique_ptr' requested here return std::make_unique<UGMF>(); ^ In file included from R_wrapper.cpp:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:90: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/functional:504: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WDSTP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<WDSTP>::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<WDSTP>::reset' requested here ~unique_ptr() { reset(); } ^ R_wrapper.cpp:81:12: note: in instantiation of member function 'std::unique_ptr<WDSTP>::~unique_ptr' requested here return std::make_unique<WDSTP>(); ^ In file included from R_wrapper.cpp:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:90: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/functional:504: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'CSTM_T' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<CSTM_T>::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<CSTM_T>::reset' requested here ~unique_ptr() { reset(); } ^ R_wrapper.cpp:83:12: note: in instantiation of member function 'std::unique_ptr<CSTM_T>::~unique_ptr' requested here return std::make_unique<CSTM_T>(); ^ In file included from R_wrapper.cpp:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:90: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/functional:504: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on 'Model' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<Model>::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<Model>::reset' requested here ~unique_ptr() { reset(); } ^ R_wrapper.cpp:151:16: note: in instantiation of member function 'std::unique_ptr<Model>::~unique_ptr' requested here auto model = createModel(ModelName); ^ 1 warning generated. 1 warning generated. 7 warnings generated. 26 warnings generated. clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o ream.so Model.o Model_T.o Model_TW.o Model_TX.o R_wrapper.o ream_init.o tools.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.4/ream.Rcheck/00LOCK-ream/00new/ream/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 (ream)