I have uninstalled gcc48 and R.
I switched to gcc49.
I have reinstalled R (3.3.2).
I still get the same final error messages.
I have not found similar posts.
> install.packages("rstan", lib="/Users/blaine-mooers/Library/R/3.3/library/rstan/libs", dependencies=TRUE)
Content type 'application/x-gzip' length 743652 bytes (726 KB)
==================================================
downloaded 726 KB
* installing *source* package ‘rstan’ ...
** package ‘rstan’ successfully unpacked and MD5 sums checked
** libs
clang++ -arch x86_64 -ftemplate-depth-256 -I/opt/local/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/opt/local/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DFUSION_MAX_VECTOR_SIZE=12 -I/opt/local/include -I"/Users/blaine-mooers/Library/R/3.3/library/Rcpp/include" -I"/Users/blaine-mooers/Library/R/3.3/library/RcppEigen/include" -I"/Users/blaine-mooers/Library/R/3.3/library/BH/include" -I"/Users/blaine-mooers/Library/R/3.3/library/StanHeaders/include" -fPIC -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -flto -Wno-unused-local-typedefs -c chains.cpp -o chains.o
clang++ -arch x86_64 -ftemplate-depth-256 -I/opt/local/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/opt/local/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DFUSION_MAX_VECTOR_SIZE=12 -I/opt/local/include -I"/Users/blaine-mooers/Library/R/3.3/library/Rcpp/include" -I"/Users/blaine-mooers/Library/R/3.3/library/RcppEigen/include" -I"/Users/blaine-mooers/Library/R/3.3/library/BH/include" -I"/Users/blaine-mooers/Library/R/3.3/library/StanHeaders/include" -fPIC -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -flto -Wno-unused-local-typedefs -c init.cpp -o init.o
clang++ -arch x86_64 -ftemplate-depth-256 -I/opt/local/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/opt/local/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DFUSION_MAX_VECTOR_SIZE=12 -I/opt/local/include -I"/Users/blaine-mooers/Library/R/3.3/library/Rcpp/include" -I"/Users/blaine-mooers/Library/R/3.3/library/RcppEigen/include" -I"/Users/blaine-mooers/Library/R/3.3/library/BH/include" -I"/Users/blaine-mooers/Library/R/3.3/library/StanHeaders/include" -fPIC -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -flto -Wno-unused-local-typedefs -c lang__ast_def.cpp -o lang__ast_def.o
clang++ -arch x86_64 -ftemplate-depth-256 -I/opt/local/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/opt/local/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DFUSION_MAX_VECTOR_SIZE=12 -I/opt/local/include -I"/Users/blaine-mooers/Library/R/3.3/library/Rcpp/include" -I"/Users/blaine-mooers/Library/R/3.3/library/RcppEigen/include" -I"/Users/blaine-mooers/Library/R/3.3/library/BH/include" -I"/Users/blaine-mooers/Library/R/3.3/library/StanHeaders/include" -fPIC -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -flto -Wno-unused-local-typedefs -c lang__grammars__bare_type_grammar_inst.cpp -o lang__grammars__bare_type_grammar_inst.o
clang++ -arch x86_64 -ftemplate-depth-256 -I/opt/local/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/opt/local/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DFUSION_MAX_VECTOR_SIZE=12 -I/opt/local/include -I"/Users/blaine-mooers/Library/R/3.3/library/Rcpp/include" -I"/Users/blaine-mooers/Library/R/3.3/library/RcppEigen/include" -I"/Users/blaine-mooers/Library/R/3.3/library/BH/include" -I"/Users/blaine-mooers/Library/R/3.3/library/StanHeaders/include" -fPIC -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -flto -Wno-unused-local-typedefs -c lang__grammars__expression07_grammar_inst.cpp -o lang__grammars__expression07_grammar_inst.o
In file included from chains.cpp:26:
In file included from /opt/local/include/boost/accumulators/statistics/stats.hpp:14:
In file included from /opt/local/include/boost/accumulators/statistics_fwd.hpp:12:
/opt/local/include/boost/mpl/print.hpp:50:19: warning: in-class initialization of non-static data member is a C++11 extension [-Wc++11-extensions]
const int m_x = 1 / (sizeof(T) - sizeof(T));
^
clang++ -arch x86_64 -ftemplate-depth-256 -I/opt/local/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/opt/local/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DFUSION_MAX_VECTOR_SIZE=12 -I/opt/local/include -I"/Users/blaine-mooers/Library/R/3.3/library/Rcpp/include" -I"/Users/blaine-mooers/Library/R/3.3/library/RcppEigen/include" -I"/Users/blaine-mooers/Library/R/3.3/library/BH/include" -I"/Users/blaine-mooers/Library/R/3.3/library/StanHeaders/include" -fPIC -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -flto -Wno-unused-local-typedefs -c lang__grammars__expression_grammar_inst.cpp -o lang__grammars__expression_grammar_inst.o
1 warning generated.
clang++ -arch x86_64 -ftemplate-depth-256 -I/opt/local/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/opt/local/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DFUSION_MAX_VECTOR_SIZE=12 -I/opt/local/include -I"/Users/blaine-mooers/Library/R/3.3/library/Rcpp/include" -I"/Users/blaine-mooers/Library/R/3.3/library/RcppEigen/include" -I"/Users/blaine-mooers/Library/R/3.3/library/BH/include" -I"/Users/blaine-mooers/Library/R/3.3/library/StanHeaders/include" -fPIC -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -flto -Wno-unused-local-typedefs -c lang__grammars__functions_grammar_inst.cpp -o lang__grammars__functions_grammar_inst.o
clang++ -arch x86_64 -ftemplate-depth-256 -I/opt/local/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/opt/local/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DFUSION_MAX_VECTOR_SIZE=12 -I/opt/local/include -I"/Users/blaine-mooers/Library/R/3.3/library/Rcpp/include" -I"/Users/blaine-mooers/Library/R/3.3/library/RcppEigen/include" -I"/Users/blaine-mooers/Library/R/3.3/library/BH/include" -I"/Users/blaine-mooers/Library/R/3.3/library/StanHeaders/include" -fPIC -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -flto -Wno-unused-local-typedefs -c lang__grammars__indexes_grammar_inst.cpp -o lang__grammars__indexes_grammar_inst.o
clang++ -arch x86_64 -ftemplate-depth-256 -I/opt/local/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/opt/local/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DFUSION_MAX_VECTOR_SIZE=12 -I/opt/local/include -I"/Users/blaine-mooers/Library/R/3.3/library/Rcpp/include" -I"/Users/blaine-mooers/Library/R/3.3/library/RcppEigen/include" -I"/Users/blaine-mooers/Library/R/3.3/library/BH/include" -I"/Users/blaine-mooers/Library/R/3.3/library/StanHeaders/include" -fPIC -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -flto -Wno-unused-local-typedefs -c lang__grammars__program_grammar_inst.cpp -o lang__grammars__program_grammar_inst.o
clang++ -arch x86_64 -ftemplate-depth-256 -I/opt/local/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/opt/local/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DFUSION_MAX_VECTOR_SIZE=12 -I/opt/local/include -I"/Users/blaine-mooers/Library/R/3.3/library/Rcpp/include" -I"/Users/blaine-mooers/Library/R/3.3/library/RcppEigen/include" -I"/Users/blaine-mooers/Library/R/3.3/library/BH/include" -I"/Users/blaine-mooers/Library/R/3.3/library/StanHeaders/include" -fPIC -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -flto -Wno-unused-local-typedefs -c lang__grammars__semantic_actions.cpp -o lang__grammars__semantic_actions.o
clang++ -arch x86_64 -ftemplate-depth-256 -I/opt/local/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/opt/local/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DFUSION_MAX_VECTOR_SIZE=12 -I/opt/local/include -I"/Users/blaine-mooers/Library/R/3.3/library/Rcpp/include" -I"/Users/blaine-mooers/Library/R/3.3/library/RcppEigen/include" -I"/Users/blaine-mooers/Library/R/3.3/library/BH/include" -I"/Users/blaine-mooers/Library/R/3.3/library/StanHeaders/include" -fPIC -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -flto -Wno-unused-local-typedefs -c lang__grammars__statement_2_grammar_inst.cpp -o lang__grammars__statement_2_grammar_inst.o
clang++ -arch x86_64 -ftemplate-depth-256 -I/opt/local/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/opt/local/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DFUSION_MAX_VECTOR_SIZE=12 -I/opt/local/include -I"/Users/blaine-mooers/Library/R/3.3/library/Rcpp/include" -I"/Users/blaine-mooers/Library/R/3.3/library/RcppEigen/include" -I"/Users/blaine-mooers/Library/R/3.3/library/BH/include" -I"/Users/blaine-mooers/Library/R/3.3/library/StanHeaders/include" -fPIC -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -flto -Wno-unused-local-typedefs -c lang__grammars__statement_grammar_inst.cpp -o lang__grammars__statement_grammar_inst.o
clang++ -arch x86_64 -ftemplate-depth-256 -I/opt/local/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/opt/local/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DFUSION_MAX_VECTOR_SIZE=12 -I/opt/local/include -I"/Users/blaine-mooers/Library/R/3.3/library/Rcpp/include" -I"/Users/blaine-mooers/Library/R/3.3/library/RcppEigen/include" -I"/Users/blaine-mooers/Library/R/3.3/library/BH/include" -I"/Users/blaine-mooers/Library/R/3.3/library/StanHeaders/include" -fPIC -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -flto -Wno-unused-local-typedefs -c lang__grammars__term_grammar_inst.cpp -o lang__grammars__term_grammar_inst.o
clang++ -arch x86_64 -ftemplate-depth-256 -I/opt/local/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/opt/local/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DFUSION_MAX_VECTOR_SIZE=12 -I/opt/local/include -I"/Users/blaine-mooers/Library/R/3.3/library/Rcpp/include" -I"/Users/blaine-mooers/Library/R/3.3/library/RcppEigen/include" -I"/Users/blaine-mooers/Library/R/3.3/library/BH/include" -I"/Users/blaine-mooers/Library/R/3.3/library/StanHeaders/include" -fPIC -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -flto -Wno-unused-local-typedefs -c lang__grammars__var_deccls_grammar_inst.cpp -o lang__grammars__var_deccls_grammar_inst.o
clang++ -arch x86_64 -ftemplate-depth-256 -I/opt/local/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/opt/local/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DFUSION_MAX_VECTOR_SIZE=12 -I/opt/local/include -I"/Users/blaine-mooers/Library/R/3.3/library/Rcpp/include" -I"/Users/blaine-mooers/Library/R/3.3/library/RcppEigen/include" -I"/Users/blaine-mooers/Library/R/3.3/library/BH/include" -I"/Users/blaine-mooers/Library/R/3.3/library/StanHeaders/include" -fPIC -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -flto -Wno-unused-local-typedefs -c lang__grammars__whitespace_grammar_inst.cpp -o lang__grammars__whitespace_grammar_inst.o
clang++ -arch x86_64 -ftemplate-depth-256 -I/opt/local/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/opt/local/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DFUSION_MAX_VECTOR_SIZE=12 -I/opt/local/include -I"/Users/blaine-mooers/Library/R/3.3/library/Rcpp/include" -I"/Users/blaine-mooers/Library/R/3.3/library/RcppEigen/include" -I"/Users/blaine-mooers/Library/R/3.3/library/BH/include" -I"/Users/blaine-mooers/Library/R/3.3/library/StanHeaders/include" -fPIC -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -flto -Wno-unused-local-typedefs -c misc.cpp -o misc.o
clang++ -arch x86_64 -ftemplate-depth-256 -I/opt/local/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/opt/local/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DFUSION_MAX_VECTOR_SIZE=12 -I/opt/local/include -I"/Users/blaine-mooers/Library/R/3.3/library/Rcpp/include" -I"/Users/blaine-mooers/Library/R/3.3/library/RcppEigen/include" -I"/Users/blaine-mooers/Library/R/3.3/library/BH/include" -I"/Users/blaine-mooers/Library/R/3.3/library/StanHeaders/include" -fPIC -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -flto -Wno-unused-local-typedefs -c sparse_extractors.cpp -o sparse_extractors.o
clang++ -arch x86_64 -ftemplate-depth-256 -I/opt/local/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/opt/local/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DFUSION_MAX_VECTOR_SIZE=12 -I/opt/local/include -I"/Users/blaine-mooers/Library/R/3.3/library/Rcpp/include" -I"/Users/blaine-mooers/Library/R/3.3/library/RcppEigen/include" -I"/Users/blaine-mooers/Library/R/3.3/library/BH/include" -I"/Users/blaine-mooers/Library/R/3.3/library/StanHeaders/include" -fPIC -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -flto -Wno-unused-local-typedefs -c stanc.cpp -o stanc.o
clang++ -arch x86_64 -ftemplate-depth-256 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/opt/local/Library/Frameworks/R.framework/Resources/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -o rstan.so chains.o init.o lang__ast_def.o lang__grammars__bare_type_grammar_inst.o lang__grammars__expression07_grammar_inst.o lang__grammars__expression_grammar_inst.o lang__grammars__functions_grammar_inst.o lang__grammars__indexes_grammar_inst.o lang__grammars__program_grammar_inst.o lang__grammars__semantic_actions.o lang__grammars__statement_2_grammar_inst.o lang__grammars__statement_grammar_inst.o lang__grammars__term_grammar_inst.o lang__grammars__var_deccls_grammar_inst.o lang__grammars__whitespace_grammar_inst.o misc.o sparse_extractors.o stanc.o -F/opt/local/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Users/blaine-mooers/Library/R/3.3/library/rstan/libs/rstan/libs
** R
** inst
** preparing package for lazy loading
Error in setMethod("traceplot", signature = "stanfit", function(object, :
no existing definition for function ‘traceplot’
Error : unable to load R code in package ‘rstan’
ERROR: lazy loading failed for package ‘rstan’
* removing ‘/Users/blaine-mooers/Library/R/3.3/library/rstan/libs/rstan’
Warning in install.packages :
installation of package ‘rstan’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/v0/1cx4cd192j51cs1qs_v3hbjm0000gn/T/RtmpmSXhaJ/downloaded_packages’