System information
- macOS 10.12.6
- RStan 2.18.1
- makevar
CXXFLAGS=-O3 -std=c++1y -mtune=native -march=native -Wno-unused-variable -Wno-unused-function
CC=clang
CXX=clang++ -arch x86_64 -ftemplate-depth-256
- Output of
devtools::session_info("rstan")
Error: `pkgs` 'rstan' are not installed
Error msg from install.packages("rstan")
clang++ -std=gnu++14 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"../inst/include" -I"`"/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/RcppEigen/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/BH/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/StanHeaders/include" -I/usr/local/include -fPIC -Wall -g -O2 -c lang__ast_def.cpp -o lang__ast_def.o
In file included from lang__ast_def.cpp:18:
/Library/Frameworks/R.framework/Versions/3.4/Resources/library/StanHeaders/include/src/stan/lang/ast_def.cpp:738:30: error:
no matching constructor for initialization of 'printable_t' (aka
'variant<recursive_wrapper<basic_string<char, char_traits<char>, allocator<char> > >,
recursive_wrapper<stan::lang::expression> >')
printable::printable() : printable_("") { }