############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL methimpute ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library’ * installing *source* package ‘methimpute’ ... ** 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 -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/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o clang++ -arch x86_64 -std=gnu++11 -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/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c densities.cpp -o densities.o In file included from densities.cpp:1: ./densities.h:98:10: warning: 'BinomialTest::getLogDensityAt' hides overloaded virtual function [-Woverloaded-virtual] double getLogDensityAt(int test, int total); ^ ./densities.h:31:18: note: hidden overloaded virtual function 'Density::getLogDensityAt' declared here: different number of parameters (1 vs 2) virtual double getLogDensityAt(int) { return(0); }; ^ ./densities.h:224:10: warning: 'Beta::getLogDensityAt' hides overloaded virtual function [-Woverloaded-virtual] double getLogDensityAt(double x); ^ ./densities.h:31:18: note: hidden overloaded virtual function 'Density::getLogDensityAt' declared here: type mismatch at 1st parameter ('int' vs 'double') virtual double getLogDensityAt(int) { return(0); }; ^ densities.cpp:920:91: warning: format specifies type 'int' but the argument has type 'double' [-Wformat] if (verbosity>=4) Rprintf(" lGammaR = %g, lgamma(size + obs=%d) = %g\n", lGammaR, obs_j, lgamma(size + obs_j)); ~~ ^~~~~ %f 3 warnings generated. clang++ -arch x86_64 -std=gnu++11 -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/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c fitHMM.cpp -o fitHMM.o In file included from fitHMM.cpp:2: In file included from ./scalehmm.h:4: ./densities.h:98:10: warning: 'BinomialTest::getLogDensityAt' hides overloaded virtual function [-Woverloaded-virtual] double getLogDensityAt(int test, int total); ^ ./densities.h:31:18: note: hidden overloaded virtual function 'Density::getLogDensityAt' declared here: different number of parameters (1 vs 2) virtual double getLogDensityAt(int) { return(0); }; ^ ./densities.h:224:10: warning: 'Beta::getLogDensityAt' hides overloaded virtual function [-Woverloaded-virtual] double getLogDensityAt(double x); ^ ./densities.h:31:18: note: hidden overloaded virtual function 'Density::getLogDensityAt' declared here: type mismatch at 1st parameter ('int' vs 'double') virtual double getLogDensityAt(int) { return(0); }; ^ 2 warnings generated. clang++ -arch x86_64 -std=gnu++11 -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/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c fitHMM_context.cpp -o fitHMM_context.o In file included from fitHMM_context.cpp:2: In file included from ./hmm_context.h:4: ./densities.h:98:10: warning: 'BinomialTest::getLogDensityAt' hides overloaded virtual function [-Woverloaded-virtual] double getLogDensityAt(int test, int total); ^ ./densities.h:31:18: note: hidden overloaded virtual function 'Density::getLogDensityAt' declared here: different number of parameters (1 vs 2) virtual double getLogDensityAt(int) { return(0); }; ^ ./densities.h:224:10: warning: 'Beta::getLogDensityAt' hides overloaded virtual function [-Woverloaded-virtual] double getLogDensityAt(double x); ^ ./densities.h:31:18: note: hidden overloaded virtual function 'Density::getLogDensityAt' declared here: type mismatch at 1st parameter ('int' vs 'double') virtual double getLogDensityAt(int) { return(0); }; ^ 2 warnings generated. clang++ -arch x86_64 -std=gnu++11 -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/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c hmm_context.cpp -o hmm_context.o In file included from hmm_context.cpp:1: In file included from ./hmm_context.h:4: ./densities.h:98:10: warning: 'BinomialTest::getLogDensityAt' hides overloaded virtual function [-Woverloaded-virtual] double getLogDensityAt(int test, int total); ^ ./densities.h:31:18: note: hidden overloaded virtual function 'Density::getLogDensityAt' declared here: different number of parameters (1 vs 2) virtual double getLogDensityAt(int) { return(0); }; ^ ./densities.h:224:10: warning: 'Beta::getLogDensityAt' hides overloaded virtual function [-Woverloaded-virtual] double getLogDensityAt(double x); ^ ./densities.h:31:18: note: hidden overloaded virtual function 'Density::getLogDensityAt' declared here: type mismatch at 1st parameter ('int' vs 'double') virtual double getLogDensityAt(int) { return(0); }; ^ 2 warnings generated. clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c methimpute_init.c -o methimpute_init.o clang++ -arch x86_64 -std=gnu++11 -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/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c scalehmm.cpp -o scalehmm.o In file included from scalehmm.cpp:1: In file included from ./scalehmm.h:4: ./densities.h:98:10: warning: 'BinomialTest::getLogDensityAt' hides overloaded virtual function [-Woverloaded-virtual] double getLogDensityAt(int test, int total); ^ ./densities.h:31:18: note: hidden overloaded virtual function 'Density::getLogDensityAt' declared here: different number of parameters (1 vs 2) virtual double getLogDensityAt(int) { return(0); }; ^ ./densities.h:224:10: warning: 'Beta::getLogDensityAt' hides overloaded virtual function [-Woverloaded-virtual] double getLogDensityAt(double x); ^ ./densities.h:31:18: note: hidden overloaded virtual function 'Density::getLogDensityAt' declared here: type mismatch at 1st parameter ('int' vs 'double') virtual double getLogDensityAt(int) { return(0); }; ^ 2 warnings generated. clang++ -arch x86_64 -std=gnu++11 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o methimpute.so RcppExports.o densities.o fitHMM.o fitHMM_context.o hmm_context.o methimpute_init.o scalehmm.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/00LOCK-methimpute/00new/methimpute/libs ** R ** data ** 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 (methimpute)