Running ‘testthat.R’ [4s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(symengine)
  SymEngine Version: 0.11.2
   _____           _____         _         
  |   __|_ _ _____|   __|___ ___|_|___ ___ 
  |__   | | |     |   __|   | . | |   | -_|
  |_____|_  |_|_|_|_____|_|_|_  |_|_|_|___|
        |___|               |___|          
  > 
  > test_check("symengine")
  using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
  using C++11
  using SDK: ‘MacOSX11.3.sdk’
  clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/odeintr/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include" -I"/private/var/folders/k4/0jwzxmln0nb8y6rkzprptb640000gq/T/RtmpuZzp0K/sourceCpp-aarch64-apple-darwin20-1.0.14" -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c file1b686e14368d.cpp -o file1b686e14368d.o
  In file included from file1b686e14368d.cpp:10:
  In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint.hpp:27:
  In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/euler.hpp:23:
  /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:165:42: error: 'auto' not allowed in lambda parameter
          m_resizer.adjust_size(in, [this](auto&& arg) { return this->resize_impl<StateIn>(std::forward<decltype(arg)>(arg)); });
                                           ^~~~
  /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:228:41: error: 'auto' not allowed in lambda parameter
          m_resizer.adjust_size(x, [this](auto&& arg) { return this->resize_impl<StateInOut>(std::forward<decltype(arg)>(arg)); });
                                          ^~~~
  In file included from file1b686e14368d.cpp:10:
  In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint.hpp:28:
  /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/runge_kutta4_classic.hpp:94:42: error: 'auto' not allowed in lambda parameter
          m_resizer.adjust_size(in, [this](auto&& arg) { return this->resize_impl<StateIn>(std::forward<decltype(arg)>(arg)); });
                                           ^~~~
  In file included from file1b686e14368d.cpp:10:
  In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint.hpp:29:
  In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/runge_kutta4.hpp:27:
  /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/explicit_generic_rk.hpp:149:42: error: 'auto' not allowed in lambda parameter
          m_resizer.adjust_size(in, [this](auto&& arg) { return this->resize_impl<StateIn>(std::forward<decltype(arg)>(arg)); });
                                           ^~~~
  In file included from file1b686e14368d.cpp:10:
  In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint.hpp:30:
  In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/runge_kutta_cash_karp54.hpp:24:
  In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/explicit_error_generic_rk.hpp:22:
  /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/base/explicit_error_stepper_base.hpp:182:42: error: 'auto' not allowed in lambda parameter
          m_resizer.adjust_size(in, [this](auto&& arg) { return this->resize_impl<StateIn>(std::forward<decltype(arg)>(arg)); });
                                           ^~~~
  /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/base/explicit_error_stepper_base.hpp:261:42: error: 'auto' not allowed in lambda parameter
          m_resizer.adjust_size(in, [this](auto&& arg) { return this->resize_impl<StateIn>(std::forward<decltype(arg)>(arg)); });
                                           ^~~~
  /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/base/explicit_error_stepper_base.hpp:292:41: error: 'auto' not allowed in lambda parameter
          m_resizer.adjust_size(x, [this](auto&& arg) { return this->resize_impl<StateInOut>(std::forward<decltype(arg)>(arg)); });
                                          ^~~~
  /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/base/explicit_error_stepper_base.hpp:301:41: error: 'auto' not allowed in lambda parameter
          m_resizer.adjust_size(x, [this](auto&& arg) { return this->resize_impl<StateInOut>(std::forward<decltype(arg)>(arg)); });
                                          ^~~~
  In file included from file1b686e14368d.cpp:10:
  In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint.hpp:30:
  In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/runge_kutta_cash_karp54.hpp:24:
  /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/explicit_error_generic_rk.hpp:132:42: error: 'auto' not allowed in lambda parameter
          m_resizer.adjust_size(in, [this](auto&& arg) { return this->resize_impl<StateIn>(std::forward<decltype(arg)>(arg)); });
                                           ^~~~
  In file included from file1b686e14368d.cpp:10:
  In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint.hpp:31:
  /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/runge_kutta_cash_karp54_classic.hpp:148:42: error: 'auto' not allowed in lambda parameter
          m_resizer.adjust_size(in, [this](auto&& arg) { return this->resize_impl<StateIn>(std::forward<decltype(arg)>(arg)); });
                                           ^~~~
  In file included from file1b686e14368d.cpp:10:
  In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint.hpp:32:
  In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/runge_kutta_dopri5.hpp:25:
  /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/base/explicit_error_stepper_fsal_base.hpp:180:46: error: 'auto' not allowed in lambda parameter
          if( m_resizer.adjust_size(in, [this](auto&& arg) { return this->resize_impl<StateIn>(std::forward<decltype(arg)>(arg)); }) || m_first_call )
                                               ^~~~
  /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/base/explicit_error_stepper_fsal_base.hpp:254:46: error: 'auto' not allowed in lambda parameter
          if( m_resizer.adjust_size(in, [this](auto&& arg) { return this->resize_impl<StateIn>(std::forward<decltype(arg)>(arg)); }) || m_first_call )
                                               ^~~~
  /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/base/explicit_error_stepper_fsal_base.hpp:313:45: error: 'auto' not allowed in lambda parameter
          if( m_resizer.adjust_size(x, [this](auto&& arg) { return this->resize_impl<StateInOut>(std::forward<decltype(arg)>(arg)); }) || m_first_call )
                                              ^~~~
  /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/base/explicit_error_stepper_fsal_base.hpp:323:45: error: 'auto' not allowed in lambda parameter
          if( m_resizer.adjust_size(x, [this](auto&& arg) { return this->resize_impl<StateInOut>(std::forward<decltype(arg)>(arg)); }) || m_first_call )
                                              ^~~~
  In file included from file1b686e14368d.cpp:10:
  In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint.hpp:32:
  /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/runge_kutta_dopri5.hpp:128:50: error: 'auto' not allowed in lambda parameter
          m_k_x_tmp_resizer.adjust_size(in, [this](auto&& arg) { return this->resize_k_x_tmp_impl<StateIn>(std::forward<decltype(arg)>(arg)); });
                                                   ^~~~
  /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/runge_kutta_dopri5.hpp:182:55: error: 'auto' not allowed in lambda parameter
              m_dxdt_tmp_resizer.adjust_size(in, [this](auto&& arg) { return this->resize_dxdt_tmp_impl<StateIn>(std::forward<decltype(arg)>(arg)); });
                                                        ^~~~
  In file included from file1b686e14368d.cpp:10:
  In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint.hpp:35:
  /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/controlled_runge_kutta.hpp:340:46: error: 'auto' not allowed in lambda parameter
          m_xnew_resizer.adjust_size(x, [this](auto&& arg) { return this->resize_m_xnew_impl<StateInOut>(std::forward<decltype(arg)>(arg)); });
                                               ^~~~
  /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/controlled_runge_kutta.hpp:381:47: error: 'auto' not allowed in lambda parameter
          m_dxdt_resizer.adjust_size(in, [this](auto&& arg) { return this->resize_m_dxdt_impl<StateIn>(std::forward<decltype(arg)>(arg)); });
                                                ^~~~
  /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/numeric/odeint/stepper/controlled_runge_kutta.hpp:422:47: error: 'auto' not allowed in lambda parameter
          m_xerr_resizer.adjust_size(in, [this](auto&& arg) { return this->resize_m_xerr_impl<StateIn>(std::forward<decltype(arg)>(arg)); });
                                                ^~~~
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  20 errors generated.
  make: *** [file1b686e14368d.o] Error 1
  [ FAIL 1 | WARN 0 | SKIP 11 | PASS 644 ]
  
  ══ Skipped tests (11) ══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-basic_parser.R:222:5'
  • empty test (8): 'test-basic_language_conversion.R:16:1',
    'test-symengine_is_working.R:15:1', 'test-symengine_is_working.R:19:1',
    'test-symengine_is_working.R:23:1', 'test-vecbasic_constructors.R:73:1',
    'test-vecbasic_constructors.R:76:1', 'test-vecbasic_constructors.R:80:1',
    'test-vecbasic_s4bindings.R:9:1'
  • symengine_have_component("llvm") is not TRUE (2):
    'test-double_visitor.R:23:5', 'test-double_visitor.R:34:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-ODESystem.R:20:5'): ODESystem and predict works ────────────────
  Error in `Rcpp::sourceCpp(code = rcpp_code, env = compile_sys_env, verbose = FALSE)`: Error 1 occurred building shared library.
  Backtrace:
      ▆
   1. └─symengine::ODESystem(eq1, eq2) at test-ODESystem.R:20:5
   2.   └─Rcpp::sourceCpp(code = rcpp_code, env = compile_sys_env, verbose = FALSE)
  
  [ FAIL 1 | WARN 0 | SKIP 11 | PASS 644 ]
  Error: Test failures
  Execution halted