BreakoutDetection
BreakoutDetection copied to clipboard
can't compile
Hi, getting lots of compile errors upon attempt to install. Errors are as follows:
Downloading github repo twitter/BreakoutDetection@master
Installing BreakoutDetection
'/Library/Frameworks/R.framework/Resources/bin/R' --vanilla
CMD INSTALL
'/private/var/folders/dl/8t8_l9js3k57d_qxtg3803040000gn/T/RtmpEARTEo/devtools1f640e4eb38/twitter-BreakoutDetection-1342ed4'
--library='/Library/Frameworks/R.framework/Versions/3.1/Resources/library'
--install-tests
- installing source package ‘BreakoutDetection’ ...
** libs
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/Rcpp/include" -fPIC -mtune=core2 -g -O2 -c RcppExports.cpp -o RcppExports.o
couldn't understand kern.osversion
14.0.0' g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/Rcpp/include" -fPIC -mtune=core2 -g -O2 -c edm-multi.cpp -o edm-multi.o couldn't understand kern.osversion
14.0.0' edm-multi.cpp: In function ‘Rcpp::List EDM_multi(const Rcpp::NumericVector&, int, double, int)’: edm-multi.cpp:72: error: call of overloaded ‘pow(int, int)’ is ambiguous /usr/include/math.h:443: note: candidates are: double pow(double, double) /usr/include/c++/4.2.1/cmath:357: note: float std::pow(float, float) /usr/include/c++/4.2.1/cmath:361: note: long double std::pow(long double, long double) /usr/include/c++/4.2.1/cmath:365: note: double std::pow(double, int) /usr/include/c++/4.2.1/cmath:369: note: float std::pow(float, int) /usr/include/c++/4.2.1/cmath:373: note: long double std::pow(long double, int) make: *** [edm-multi.o] Error 1 ERROR: compilation failed for package ‘BreakoutDetection’ - removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/BreakoutDetection’ Error: Command failed (1)