Running 'testthat.R' [46s/52s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(psqn)
  > 
  > test_check("psqn")
  In file included from mlogit-ex.cpp:6:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:34:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:57:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/DataFrame.h:136:18: warning: unused variable 'data' [-Wunused-variable]
              SEXP data = Parent::get__();
                   ^
  In file included from mlogit-ex.cpp:18:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn-Rcpp-wrapper.h:9:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Dense:1:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Core:540:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from mlogit-ex.cpp:18:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn-Rcpp-wrapper.h:9:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Dense:2:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/LU:47:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from mlogit-ex.cpp:18:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn-Rcpp-wrapper.h:9:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Dense:3:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Cholesky:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Jacobi:29:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from mlogit-ex.cpp:18:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn-Rcpp-wrapper.h:9:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Dense:3:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Cholesky:43:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from mlogit-ex.cpp:18:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn-Rcpp-wrapper.h:9:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Dense:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/QR:15:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Householder:27:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from mlogit-ex.cpp:18:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn-Rcpp-wrapper.h:9:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Dense:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/QR:48:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from mlogit-ex.cpp:18:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn-Rcpp-wrapper.h:9:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Dense:5:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SVD:48:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from mlogit-ex.cpp:18:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn-Rcpp-wrapper.h:9:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Dense:6:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Geometry:58:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from mlogit-ex.cpp:18:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn-Rcpp-wrapper.h:9:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Dense:7:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Eigenvalues:58:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from mlogit-ex.cpp:18:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn-Rcpp-wrapper.h:9:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:26:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseCore:66:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from mlogit-ex.cpp:18:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn-Rcpp-wrapper.h:9:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:27:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/OrderingMethods:71:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from mlogit-ex.cpp:18:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn-Rcpp-wrapper.h:9:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:29:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseCholesky:43:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from mlogit-ex.cpp:18:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn-Rcpp-wrapper.h:9:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:32:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseQR:34:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from mlogit-ex.cpp:18:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn-Rcpp-wrapper.h:9:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:33:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/IterativeLinearSolvers:46:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from mlogit-ex.cpp:18:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn-Rcpp-wrapper.h:9:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:32:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/CholmodSupport:45:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from mlogit-ex.cpp:18:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn-Rcpp-wrapper.h:9:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:35:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/KroneckerProduct:34:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from mlogit-ex.cpp:18:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn-Rcpp-wrapper.h:9:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:39:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/Polynomials:135:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from mlogit-ex.cpp:18:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn-Rcpp-wrapper.h:9:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:40:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/SparseExtra:51:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  19 warnings generated.
  == Skipped tests ===============================================================
  * On CRAN (1)
  
  == Failed tests ================================================================
  -- Error (test-poly-ex.R:38:3): Poly example gives the same --------------------
  Error: cannot open the connection
  Backtrace:
      x
   1. \-(function() {... test-poly-ex.R:38:2
   2.   \-base::writeLines(...) test-poly-ex.R:47:4
  
  [ FAIL 1 | WARN 1 | SKIP 1 | PASS 34 ]
  Error: Test failures
  In addition: Warning message:
  In for (i in seq_len(n)) { :
    closing unused connection 4 (/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/temp-file-to-be-compiled.cpp)
  Execution halted