I receive an error when trying to install FEAST. I would like to be able to use it in R. I would appreciate your help.
Thanks,
Negin
devtools::install_github("cozygene/FEAST")
Downloading GitHub repo cozygene/FEAST@HEAD
✓ checking for file ‘/private/var/folders/79/6_g1728j4m73vm74lv5r_rwh0000gn/T/RtmpGz2AxK/remotes58723441f7ae/cozygene-FEAST-cf88568/DESCRIPTION’ ...
─ preparing ‘FEAST’:
✓ checking DESCRIPTION meta-information ...
─ cleaning src
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘FEAST_0.1.0.tar.gz’
installing source package ‘FEAST’ ...
using staged installation
libs
clang++ -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include' -I/usr/local/include -fPIC -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/RcppArmadillo.h:31:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/RcppArmadilloForward.h:49:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo:21:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/compiler_check.hpp:50:4: error: "*** C++11 compiler required; enable C++11 mode in your compiler, or use an earlier version of Armadillo"
error "*** C++11 compiler required; enable C++11 mode in your compiler, or use an earlier version of Armadillo"
^
In file included from RcppExports.cpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/RcppArmadillo.h:31:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/RcppArmadilloForward.h:49:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo:85:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:149:12: error: unknown type name 'constexpr'
static constexpr bool is_row = false;
^
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:149:22: error: expected member name or ';' after declaration specifiers
static constexpr bool is_row = false;
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:150:12: error: unknown type name 'constexpr'
static constexpr bool is_col = false;
^
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:150:22: error: expected member name or ';' after declaration specifiers
static constexpr bool is_col = false;
~~~~~~~~~~~~~~~~ ^
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:151:12: error: unknown type name 'constexpr'
static constexpr bool is_xvec = false;
^
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:151:22: error: expected member name or ';' after declaration specifiers
static constexpr bool is_xvec = false;
~~~~~~~~~~~~~~~~ ^
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:161:12: error: unknown type name 'constexpr'
static constexpr bool is_row = false;
^
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:161:22: error: expected member name or ';' after declaration specifiers
static constexpr bool is_row = false;
~~~~~~~~~~~~~~~~ ^
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:162:12: error: unknown type name 'constexpr'
static constexpr bool is_col = false;
^
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:162:22: error: expected member name or ';' after declaration specifiers
static constexpr bool is_col = false;
~~~~~~~~~~~~~~~~ ^
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:163:12: error: unknown type name 'constexpr'
static constexpr bool is_xvec = true;
^
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:163:22: error: expected member name or ';' after declaration specifiers
static constexpr bool is_xvec = true;
~~~~~~~~~~~~~~~~ ^
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:173:12: error: unknown type name 'constexpr'
static constexpr bool is_row = false;
^
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:173:22: error: expected member name or ';' after declaration specifiers
static constexpr bool is_row = false;
~~~~~~~~~~~~~~~~ ^
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:174:12: error: unknown type name 'constexpr'
static constexpr bool is_col = true;
^
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:174:22: error: expected member name or ';' after declaration specifiers
static constexpr bool is_col = true;
~~~~~~~~~~~~~~~~ ^
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:175:12: error: unknown type name 'constexpr'
static constexpr bool is_xvec = false;
^
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:175:22: error: expected member name or ';' after declaration specifiers
static constexpr bool is_xvec = false;
~~~~~~~~~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [RcppExports.o] Error 1
ERROR: compilation failed for package ‘FEAST’
removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/FEAST’
Error: Failed to install 'FEAST' from GitHub:
(converted from warning) installation of package ‘/var/folders/79/6_g1728j4m73vm74lv5r_rwh0000gn/T//RtmpGz2AxK/file587256ebdb4f/FEAST_0.1.0.tar.gz’ had non-zero exit status
Hello,
I receive an error when trying to install FEAST. I would like to be able to use it in R. I would appreciate your help.
Thanks, Negin
error "*** C++11 compiler required; enable C++11 mode in your compiler, or use an earlier version of Armadillo"
^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/RcppArmadillo.h:31: In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/RcppArmadilloForward.h:49: In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo:85: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:149:12: error: unknown type name 'constexpr' static constexpr bool is_row = false; ^ /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include/armadillo_bits/arma_forward.hpp:149:22: error: expected member name or ';' after declaration specifiers static constexpr bool is_row = false;