Running ‘testthat.R’ [76s/114s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > testthat::test_check("PosteriorBootstrap")
  Loading required package: PosteriorBootstrap
  Welcome to PosteriorBootstrap, a parallel approach for adaptive non-parametric learning
  ── 1. Error: Adaptive non-parametric learning with posterior samples works (@tes
  Compilation ERROR, function(s)/method(s) not created! "/tmp/RtmpXhaWcB/RLIBS_3616ea5a47/RcppEigen/include/Eigen/src/SparseCore/SparseCwiseUnaryOp.h", line 49: Cannot define member of undefined specialization "unary_evaluator<CwiseUnaryOp<UnaryOp, ArgType>, Eigen::internal::IteratorBased>".
  "/tmp/RtmpXhaWcB/RLIBS_3616ea5a47/RcppEigen/include/Eigen/src/SparseCore/SparseCwiseUnaryOp.h", line 99: Cannot define member of undefined specialization "unary_evaluator<CwiseUnaryView<ViewOp, ArgType>, Eigen::internal::IteratorBased>".
  "/tmp/RtmpXhaWcB/RLIBS_3616ea5a47/RcppEigen/include/Eigen/src/SparseCore/SparseBlock.h", line 503: Cannot define member of undefined specialization "unary_evaluator<Block<ArgType, BlockRows, BlockCols, InnerPanel>, Eigen::internal::IteratorBased>".
  "/tmp/RtmpXhaWcB/RLIBS_3616ea5a47/RcppEigen/include/Eigen/src/SparseCore/SparseBlock.h", line 529: Cannot define member of undefined specialization "unary_evaluator<Block<ArgType, BlockRows, BlockCols, InnerPanel>, Eigen::internal::IteratorBased>".
  "/home/ripley/R/Lib32/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp", line 67: Warning:  The template qualifier can only be used within a template.
  "/home/ripley/R/Lib32/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp", line 71: Warning:  The template qualifier can only be used within a template.
  "/home/ripley/R/Lib32/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp", line 73: Warning:  The template qualifier can only be used within a template.
  "/home/ripley/R/Lib32/rstan/include/rstan/value.hpp", line 26: Warning: rstan::value::operator() hides the virtual function stan::callbacks::writer::operator()(const std::vector<std::string>&).
  "/home/ripley/R/Lib32/rstan/include/rstan/value.hpp", line 26: Warning: rstan::value::operator() hides the virtual function stan::callbacks::writer::operator()(const std::string &).
  "/home/ripley/R/Lib32/rstan/include/rstan/value.hpp", line 26: Warning: rstan::value::operator() hides the virtual function stan::callbacks::writer::operator()().
  "/home/ripley/R/Lib32/rstan/include/rstan/values.hpp", line 50: Warning: rstan::values<Rcpp::Vector<14, PreserveStorage>>::operator() hides the virtual function stan::callbacks::writer::operator()(const std::vector<std::string>&).
  "/home/ripley/R/Lib32/rstan/include/rstan/filtered_values.hpp", line 17:     Where: While specializing "rstan::values<Rcpp::Vector<14, PreserveStorage>>".
  "/home/ripley/R/Lib32/rstan/include/rstan/filtered_values.hpp", line 17:     Where: Specialized in rstan::filtered_values<Rcpp::Vector<14, PreserveStorage>>.
  "/home/ripley/R/Lib32/rstan/include/rstan/rstan_writer.hpp", line 17:     Where: Specialized in non-template code.
  "/home/ripley/R/Lib32/rstan/include/rstan/values.hpp", line 50: Warning: rstan::values<Rcpp::Vector<14, PreserveStorage>>::operator() hides the virtual function stan::callbacks::writer::operator()(const std::string &).
  "/home/ripley/R/Lib32/rstan/include/rstan/filtered_values.hpp", line 17:     Where: While specializing "rstan::values<Rcpp::Vector<14, PreserveStorage>>".
  "/home/ripley/R/Lib32/rstan/include/rstan/filtered_values.hpp", line 17:     Where: Specialized in rstan::filtered_values<Rcpp::Vector<14, PreserveStorage>>.
  "/home/ripley/R/Lib32/rstan/include/rstan/rstan_writer.hpp", line 17:     Where: Specialized in non-template code.
  "/home/ripley/R/Lib32/rstan/include/rstan/values.hpp", line 50: Warning: rstan::values<Rcpp::Vector<14, PreserveStorage>>::operator() hides the virtual function stan::callbacks::writer::operator()().
  "/home/ripley/R/Lib32/rstan/include/rstan/filtered_values.hpp", line 17:     Where: While specializing "rstan::values<Rcpp::Vector<14, PreserveStorage>>".
  "/home/ripley/R/Lib32/rstan/include/rstan/filtered_values.hpp", line 17:     Where: Specialized in rstan::filtered_values<Rcpp::Vector<14, PreserveStorage>>.
  "/home/ripley/R/Lib32/rstan/include/rstan/rstan_writer.hpp", line 17:     Where: Specialized in non-template code.
  4 Fatal error: Command failed for target `file43b125492efc.o'
  Current working directory /tmp/RtmpXhaWcB/working_dir/RtmpDKai2H
  1: rstan::stan_model(file = get_stan_file()) at testthat/test_anpl.R:179
  2: cxxfunctionplus(signature(), body = paste(" return Rcpp::wrap(\"", model_name, "\");", 
         sep = ""), includes = inc, plugin = "rstan", save_dso = save_dso | auto_write, 
         module_name = paste("stan_fit4", model_cppname, "_mod", sep = ""), verbose = verbose)
  3: pkgbuild::with_build_tools(cxxfunction(sig = sig, body = body, plugin = plugin, includes = includes, 
         settings = settings, ..., verbose = verbose), required = rstan_options("required") && 
         !identical(Sys.getenv("WINDOWS"), "TRUE") && !identical(Sys.getenv("R_PACKAGE_SOURCE"), 
         ""))
  4: cxxfunction(sig = sig, body = body, plugin = plugin, includes = includes, settings = settings, 
         ..., verbose = verbose)
  5: compileCode(f, code, language = language, verbose = verbose)
  6: stop(paste("Compilation ERROR, function(s)/method(s) not created!", paste(errmsg, 
         collapse = "\n")))
  
  ── 2. Error: Adaptive non-parametric learning with posterior samples works (@tes
  invalid connection
  1: rstan::stan_model(file = get_stan_file()) at testthat/test_anpl.R:179
  2: cxxfunctionplus(signature(), body = paste(" return Rcpp::wrap(\"", model_name, "\");", 
         sep = ""), includes = inc, plugin = "rstan", save_dso = save_dso | auto_write, 
         module_name = paste("stan_fit4", model_cppname, "_mod", sep = ""), verbose = verbose)
  3: sink(type = "output")
  
  trying URL 'http://archive.ics.uci.edu/ml/machine-learning-databases/statlog/german/german.data-numeric'
  Content type 'application/x-httpd-php' length 102000 bytes (99 KB)
  ==================================================
  downloaded 99 KB
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 53 | SKIPPED: 3 | WARNINGS: 1 | FAILED: 2 ]
  1. Error: Adaptive non-parametric learning with posterior samples works (@test_anpl.R#179) 
  2. Error: Adaptive non-parametric learning with posterior samples works (@test_anpl.R#179) 
  
  Error: testthat unit tests failed
  Execution halted