Open Faber81 opened 4 years ago
Hi,
I had the same error when using R 3.6.1. It looks like DECoN requires an earlier version of R (according to their documentation, 3.1.2).
I installed 3.1.2, modified the setup.sh file by adding the path to Rscript version 3.1.2, ran it again and this error was gone.
Hi my DECoN installation fails in Ubuntu. Below the output of setup.log:
Please help
` installing source* package ‘packrat’ ... package ‘packrat’ successfully unpacked and MD5 sums checked using staged installation R inst byte-compile and prepare package for lazy loading help * installing help indices building package indices testing if installed package can be loaded from temporary location testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path
~~\n../inst/include/Rcpp/module/Module_Property.h:161:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]\n void set(Class* object, SEXP value) throw(std::range_error,Rcpp::not_compatible){\n ^\nIn file included from ../inst/include/Rcpp.h:73:0,\n from Date.cpp:31:\n../inst/include/Rcpp/Rmath.h: In function 'double R::pythag(double, double)':\n../inst/include/Rcpp/Rmath.h:222:57: error: '::Rf_pythag' has not been declared\n inline double pythag(double a, double b) { return ::Rf_pythag(a, b); }\n ^~~\n../inst/include/Rcpp/Rmath.h:222:57: note: suggested alternative: 'pythag'\n inline double pythag(double a, double b) { return ::Rf_pythag(a, b); }\n ^~~~~\n pythag\n/usr/lib/R/etc/Makeconf:177: recipe for target 'Date.o' failed\nmake: ** [Date.o] Error 1\nERROR: compilation failed for package 'Rcpp'\n removing '/home/faber/BioIT/tools/DECoN-1.0.1/Linux/packrat/lib/x86_64-pc-linux-gnu/3.6.3/Rcpp'" Error: Command failed (1)Failed to run system command:
The command failed with output: