Running 'testthat.R' [136s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > library(testthat)
  > library(prophet)
  Loading required package: Rcpp
  Loading required package: rlang
  
  Attaching package: 'rlang'
  
  The following objects are masked from 'package:testthat':
  
      is_false, is_null, is_true
  
  > 
  > test_check("prophet")
  Error in file(fname, "rt") : cannot open the connection
  In file included from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/mpl/aux_/na_assert.hpp:23,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/mpl/arg.hpp:25,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/mpl/placeholders.hpp:24,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/mpl/apply.hpp:24,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/mpl/aux_/iter_apply.hpp:17,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/mpl/aux_/find_if_pred.hpp:14,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/mpl/find_if.hpp:17,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/mpl/find.hpp:17,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/mpl/aux_/contains_impl.hpp:20,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/mpl/contains.hpp:20,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/math/policies/policy.hpp:10,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/math/constants/constants.hpp:11,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/scal/fun/constants.hpp:6,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/core/operator_unary_plus.hpp:7,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/core.hpp:38,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:6,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
   failed ************ (Pred::************
                       ^
  D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
   failed ************ (boost::mpl::not_<Pred>::************
                       ^
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/core.hpp:49,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:6,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/core/std_isinf.hpp:16:42: warning: optimization attribute on 'int std::isinf(const stan::math::var&)' follows definition but the attribute doesn't match [-Wattributes]
   inline int isinf(const stan::math::var& a) {
                                            ^
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/Rcpp/platform/compiler.h:100,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/Rcpp/r/headers.h:67,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/RcppCommon.h:29,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/rstan/include/exporter.h:1,
                   from file3113c4e6c6765.cpp:1:
  D:/Compiler/rtools40/mingw32/include/c++/8.3.0/cmath:597:3: note: previous definition of 'constexpr bool std::isinf(long double)' was here
     isinf(long double __x)
     ^~~~~
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/core.hpp:49,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:6,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/core/std_isinf.hpp:16:42: warning: optimization attribute on 'int std::isinf(const stan::math::var&)' follows definition but the attribute doesn't match [-Wattributes]
   inline int isinf(const stan::math::var& a) {
                                            ^
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/Rcpp/platform/compiler.h:100,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/Rcpp/r/headers.h:67,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/RcppCommon.h:29,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/rstan/include/exporter.h:1,
                   from file3113c4e6c6765.cpp:1:
  D:/Compiler/rtools40/mingw32/include/c++/8.3.0/cmath:592:3: note: previous definition of 'constexpr bool std::isinf(double)' was here
     isinf(double __x)
     ^~~~~
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/core.hpp:49,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:6,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/core/std_isinf.hpp:16:42: warning: optimization attribute on 'int std::isinf(const stan::math::var&)' follows definition but the attribute doesn't match [-Wattributes]
   inline int isinf(const stan::math::var& a) {
                                            ^
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/Rcpp/platform/compiler.h:100,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/Rcpp/r/headers.h:67,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/RcppCommon.h:29,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/rstan/include/exporter.h:1,
                   from file3113c4e6c6765.cpp:1:
  D:/Compiler/rtools40/mingw32/include/c++/8.3.0/cmath:584:3: note: previous definition of 'constexpr bool std::isinf(float)' was here
     isinf(float __x)
     ^~~~~
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/core.hpp:50,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:6,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/core/std_isnan.hpp:18:42: warning: optimization attribute on 'int std::isnan(const stan::math::var&)' follows definition but the attribute doesn't match [-Wattributes]
   inline int isnan(const stan::math::var& a) { return isnan(a.val()); }
                                            ^
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/Rcpp/platform/compiler.h:100,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/Rcpp/r/headers.h:67,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/RcppCommon.h:29,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/rstan/include/exporter.h:1,
                   from file3113c4e6c6765.cpp:1:
  D:/Compiler/rtools40/mingw32/include/c++/8.3.0/cmath:624:3: note: previous definition of 'constexpr bool std::isnan(long double)' was here
     isnan(long double __x)
     ^~~~~
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/core.hpp:50,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:6,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/core/std_isnan.hpp:18:42: warning: optimization attribute on 'int std::isnan(const stan::math::var&)' follows definition but the attribute doesn't match [-Wattributes]
   inline int isnan(const stan::math::var& a) { return isnan(a.val()); }
                                            ^
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/Rcpp/platform/compiler.h:100,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/Rcpp/r/headers.h:67,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/RcppCommon.h:29,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/rstan/include/exporter.h:1,
                   from file3113c4e6c6765.cpp:1:
  D:/Compiler/rtools40/mingw32/include/c++/8.3.0/cmath:619:3: note: previous definition of 'constexpr bool std::isnan(double)' was here
     isnan(double __x)
     ^~~~~
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/core.hpp:50,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:6,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/core/std_isnan.hpp:18:42: warning: optimization attribute on 'int std::isnan(const stan::math::var&)' follows definition but the attribute doesn't match [-Wattributes]
   inline int isnan(const stan::math::var& a) { return isnan(a.val()); }
                                            ^
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/Rcpp/platform/compiler.h:100,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/Rcpp/r/headers.h:67,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/RcppCommon.h:29,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/rstan/include/exporter.h:1,
                   from file3113c4e6c6765.cpp:1:
  D:/Compiler/rtools40/mingw32/include/c++/8.3.0/cmath:611:3: note: previous definition of 'constexpr bool std::isnan(float)' was here
     isnan(float __x)
     ^~~~~
  In file included from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/smart_ptr/shared_ptr.hpp:28,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/shared_ptr.hpp:17,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/fun/LDLT_factor.hpp:7,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/err/check_ldlt_factor.hpp:7,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat.hpp:17,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:12,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/smart_ptr/detail/shared_count.hpp:356:33: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
       explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
                                   ^~~~~~~~
  In file included from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/bits/locale_conv.h:41,
                   from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/locale:43,
                   from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/iomanip:43,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/RcppCommon.h:52,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/rstan/include/exporter.h:1,
                   from file3113c4e6c6765.cpp:1:
  D:/Compiler/rtools40/mingw32/include/c++/8.3.0/bits/unique_ptr.h:53:28: note: declared here
     template<typename> class auto_ptr;
                              ^~~~~~~~
  In file included from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/shared_ptr.hpp:17,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/fun/LDLT_factor.hpp:7,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/err/check_ldlt_factor.hpp:7,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat.hpp:17,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:12,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/smart_ptr/shared_ptr.hpp:256:65: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
                                                                   ^~~~~~~~
  In file included from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/bits/locale_conv.h:41,
                   from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/locale:43,
                   from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/iomanip:43,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/RcppCommon.h:52,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/rstan/include/exporter.h:1,
                   from file3113c4e6c6765.cpp:1:
  D:/Compiler/rtools40/mingw32/include/c++/8.3.0/bits/unique_ptr.h:53:28: note: declared here
     template<typename> class auto_ptr;
                              ^~~~~~~~
  In file included from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/shared_ptr.hpp:17,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/fun/LDLT_factor.hpp:7,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/err/check_ldlt_factor.hpp:7,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat.hpp:17,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:12,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/smart_ptr/shared_ptr.hpp:471:31: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
       explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn()
                                 ^~~~~~~~
  In file included from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/bits/locale_conv.h:41,
                   from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/locale:43,
                   from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/iomanip:43,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/RcppCommon.h:52,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/rstan/include/exporter.h:1,
                   from file3113c4e6c6765.cpp:1:
  D:/Compiler/rtools40/mingw32/include/c++/8.3.0/bits/unique_ptr.h:53:28: note: declared here
     template<typename> class auto_ptr;
                              ^~~~~~~~
  In file included from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/shared_ptr.hpp:17,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/fun/LDLT_factor.hpp:7,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/err/check_ldlt_factor.hpp:7,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat.hpp:17,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:12,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/smart_ptr/shared_ptr.hpp:484:22: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
       shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn()
                        ^~~~~~~~
  In file included from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/bits/locale_conv.h:41,
                   from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/locale:43,
                   from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/iomanip:43,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/RcppCommon.h:52,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/rstan/include/exporter.h:1,
                   from file3113c4e6c6765.cpp:1:
  D:/Compiler/rtools40/mingw32/include/c++/8.3.0/bits/unique_ptr.h:53:28: note: declared here
     template<typename> class auto_ptr;
                              ^~~~~~~~
  In file included from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/shared_ptr.hpp:17,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/fun/LDLT_factor.hpp:7,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/err/check_ldlt_factor.hpp:7,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat.hpp:17,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:12,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/smart_ptr/shared_ptr.hpp:567:34: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
       shared_ptr & operator=( std::auto_ptr<Y> & r )
                                    ^~~~~~~~
  In file included from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/bits/locale_conv.h:41,
                   from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/locale:43,
                   from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/iomanip:43,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/RcppCommon.h:52,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/rstan/include/exporter.h:1,
                   from file3113c4e6c6765.cpp:1:
  D:/Compiler/rtools40/mingw32/include/c++/8.3.0/bits/unique_ptr.h:53:28: note: declared here
     template<typename> class auto_ptr;
                              ^~~~~~~~
  In file included from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/shared_ptr.hpp:17,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/fun/LDLT_factor.hpp:7,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/err/check_ldlt_factor.hpp:7,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat.hpp:17,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:12,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/smart_ptr/shared_ptr.hpp:576:34: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
       shared_ptr & operator=( std::auto_ptr<Y> && r )
                                    ^~~~~~~~
  In file included from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/bits/locale_conv.h:41,
                   from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/locale:43,
                   from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/iomanip:43,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/RcppCommon.h:52,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/rstan/include/exporter.h:1,
                   from file3113c4e6c6765.cpp:1:
  D:/Compiler/rtools40/mingw32/include/c++/8.3.0/bits/unique_ptr.h:53:28: note: declared here
     template<typename> class auto_ptr;
                              ^~~~~~~~
  In file included from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/shared_ptr.hpp:17,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/fun/LDLT_factor.hpp:7,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/err/check_ldlt_factor.hpp:7,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat.hpp:17,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:12,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)':
  D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/smart_ptr/shared_ptr.hpp:578:38: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
           this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this );
                                        ^~~~~~~~
  In file included from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/bits/locale_conv.h:41,
                   from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/locale:43,
                   from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/iomanip:43,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/RcppCommon.h:52,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/rstan/include/exporter.h:1,
                   from file3113c4e6c6765.cpp:1:
  D:/Compiler/rtools40/mingw32/include/c++/8.3.0/bits/unique_ptr.h:53:28: note: declared here
     template<typename> class auto_ptr;
                              ^~~~~~~~
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_log.hpp:5,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat.hpp:278,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:12,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_lpmf.hpp: In function 'stan::return_type_t<T1, T2> stan::math::dirichlet_lpmf(const T_prob&, const T_prior_size&)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_lpmf.hpp:60:74: warning: typedef 'using T_partials_vec = struct Eigen::Matrix<typename stan::partials_return_type<T_prob, T_prior_size>::type, -1, 1>' locally defined but not used [-Wunused-local-typedefs]
     using T_partials_vec = typename Eigen::Matrix<T_partials_return, -1, 1>;
                                                                            ^
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_log.hpp:5,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat.hpp:328,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:12,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_lpmf.hpp: In function 'stan::return_type_t<T_x, T_alpha, T_beta> stan::math::poisson_log_glm_lpmf(const T_y&, const T_x&, const T_alpha&, const T_beta&)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_lpmf.hpp:55:34: warning: typedef 'using T_alpha_val = std::conditional_t<stan::is_vector<T4>::value, Eigen::Array<typename stan::partials_return_type<T_alpha>::type, -1, 1>, typename stan::partials_return_type<T_alpha>::type>' locally defined but not used [-Wunused-local-typedefs]
         partials_return_t<T_alpha>>;
                                    ^
  In file included from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/fusion/functional/invocation/detail/that_ptr.hpp:13,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/fusion/functional/invocation/invoke.hpp:52,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/fusion/functional/adapter/fused.hpp:17,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/fusion/functional/generation/make_fused.hpp:13,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/fusion/include/make_fused.hpp:11,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/numeric/odeint/util/resize.hpp:28,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/numeric/odeint/util/state_wrapper.hpp:26,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:33,
                   from D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/numeric/odeint.hpp:25,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/arr.hpp:34,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/prim/mat.hpp:336,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:12,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/get_pointer.hpp: At global scope:
  D:/temp/RtmpGSt7gy/RLIBS_1a21c2f973e8e/BH/include/boost/get_pointer.hpp:48:40: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   template<class T> T * get_pointer(std::auto_ptr<T> const& p)
                                          ^~~~~~~~
  In file included from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/bits/locale_conv.h:41,
                   from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/locale:43,
                   from D:/Compiler/rtools40/mingw32/include/c++/8.3.0/iomanip:43,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/RcppCommon.h:52,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/rstan/include/exporter.h:1,
                   from file3113c4e6c6765.cpp:1:
  D:/Compiler/rtools40/mingw32/include/c++/8.3.0/bits/unique_ptr.h:53:28: note: declared here
     template<typename> class auto_ptr;
                              ^~~~~~~~
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/columns_dot_product.hpp:9,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:16,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp: In static member function 'static double stan::math::internal::dot_product_vari<T1, T2>::var_dot(stan::math::vari**, stan::math::vari**, size_t)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:44:16: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'val'; did you mean 'eval'?
       return vd1.val().dot(vd2.val());
                  ^~~
                  eval
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:44:30: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'val'; did you mean 'eval'?
       return vd1.val().dot(vd2.val());
                                ^~~
                                eval
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp: In member function 'void stan::math::internal::dot_product_vari<T1, T2>::chain(stan::math::vari**, stan::math::vari**)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:67:9: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'adj'
       vd1.adj() += adj_ * vd2.val();
           ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:67:29: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'val'; did you mean 'eval'?
       vd1.adj() += adj_ * vd2.val();
                               ^~~
                               eval
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:68:9: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'adj'
       vd2.adj() += adj_ * vd1.val();
           ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:68:29: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'val'; did you mean 'eval'?
       vd2.adj() += adj_ * vd1.val();
                               ^~~
                               eval
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp: In member function 'void stan::math::internal::dot_product_vari<T1, T2>::chain(double*, stan::math::vari**)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:71:40: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'adj'
       Eigen::Map<vector_vi>(v2, length_).adj()
                                          ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp: In member function 'void stan::math::internal::dot_product_vari<T1, T2>::chain(stan::math::vari**, double*)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:75:40: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'adj'
       Eigen::Map<vector_vi>(v1, length_).adj()
                                          ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp: In member function 'void stan::math::internal::dot_product_vari<T1, T2>::initialize(stan::math::vari**&, const stan::math::var*, stan::math::vari**)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:84:54: error: 'class Eigen::Map<const Eigen::Matrix<stan::math::var, -1, 1> >' has no member named 'vi'
             = Eigen::Map<const vector_v>(inv, length_).vi();
                                                        ^~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp: In member function 'void stan::math::internal::dot_product_vari<T1, T2>::initialize(stan::math::vari**&, const Eigen::DenseBase<OtherDerived>&, stan::math::vari**)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:96:45: error: 'class Eigen::Ref<const Eigen::Matrix<stan::math::var, -1, 1> >' has no member named 'vi'
             = Eigen::Ref<const vector_v>(inv).vi();
                                               ^~
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/columns_dot_self.hpp:8,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:17,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp: In constructor 'stan::math::internal::dot_self_vari::dot_self_vari(const Eigen::DenseBase<Derived>&)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp:29:70: error: 'class Eigen::Ref<const Eigen::Matrix<stan::math::var, -1, 1> >' has no member named 'vi'
       Eigen::Map<vector_vi>(v_, size_) = Eigen::Ref<const vector_v>(v).vi();
                                                                        ^~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp: In static member function 'static double stan::math::internal::dot_self_vari::var_dot_self(stan::math::vari**, size_t)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp:40:43: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'val'; did you mean 'eval'?
       return Eigen::Map<vector_vi>(v, size).val().squaredNorm();
                                             ^~~
                                             eval
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp: In member function 'double stan::math::internal::dot_self_vari::var_dot_self(const Eigen::DenseBase<Derived>&)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp:44:42: error: 'class Eigen::Ref<const Eigen::Matrix<stan::math::var, -1, 1> >' has no member named 'val'; did you mean 'eval'?
       return Eigen::Ref<const vector_v>(v).val().squaredNorm();
                                            ^~~
                                            eval
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp: In member function 'virtual void stan::math::internal::dot_self_vari::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp:52:11: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'adj'
       v_map.adj() += adj_ * 2.0 * v_map.val();
             ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp:52:39: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'val'; did you mean 'eval'?
       v_map.adj() += adj_ * 2.0 * v_map.val();
                                         ^~~
                                         eval
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:20,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/determinant.hpp: In member function 'virtual void stan::math::internal::determinant_vari<R, C>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/determinant.hpp:38:51: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       Eigen::Map<matrix_vi>(adjARef_, rows_, cols_).adj()
                                                     ^~~
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:25,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/grad.hpp: In function 'void stan::math::grad(stan::math::var&, Eigen::Matrix<stan::math::var, -1, 1>&, Eigen::VectorXd&)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/grad.hpp:28:9: error: 'class Eigen::Matrix<stan::math::var, -1, 1>' has no member named 'adj'
     g = x.adj();
           ^~~
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:27,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp: In constructor 'stan::math::internal::inverse_vari::inverse_vari(const Eigen::Matrix<stan::math::var, -1, -1>&)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:43:12: error: 'const class Eigen::Matrix<stan::math::var, -1, -1>' has no member named 'val'; did you mean 'eval'?
       Ad = A.val();
              ^~~
              eval
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:46:45: error: 'const class Eigen::Matrix<stan::math::var, -1, -1>' has no member named 'vi'
       Map<matrix_vi>(vari_ref_A_, M_, M_) = A.vi();
                                               ^~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp: In member function 'virtual void stan::math::internal::inverse_vari::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:62:66: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       matrix_d adj_A_inv = Map<matrix_vi>(vari_ref_A_inv_, M_, M_).adj();
                                                                    ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:66:41: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       Map<matrix_vi>(vari_ref_A_, M_, M_).adj() -= adjA;
                                           ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp: In function 'stan::math::matrix_v stan::math::inverse(const matrix_v&)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:82:7: error: 'using matrix_v = class Eigen::Matrix<stan::math::var, -1, -1>' {aka 'class Eigen::Matrix<stan::math::var, -1, -1>'} has no member named 'vi'
     res.vi() = Eigen::Map<matrix_vi>(baseVari->vari_ref_A_inv_, res.rows(),
         ^~
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:31,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/log_determinant_ldlt.hpp: In member function 'virtual void stan::math::internal::log_det_ldlt_vari<R, C>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/log_determinant_ldlt.hpp:35:50: error: 'using matrix_vi = class Eigen::Matrix<stan::math::vari*, -1, -1>' {aka 'class Eigen::Matrix<stan::math::vari*, -1, -1>'} has no member named 'adj'
       const_cast<matrix_vi &>(alloc_ldlt_->variA_).adj() += adj_ * invA;
                                                    ^~~
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:33,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/log_softmax.hpp: In function 'Eigen::Matrix<stan::math::var, -1, 1> stan::math::log_softmax(const Eigen::Matrix<stan::math::var, -1, 1>&)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/log_softmax.hpp:66:57: error: 'const class Eigen::Matrix<stan::math::var, -1, 1>' has no member named 'vi'
     Eigen::Map<vector_vi>(alpha_vi_array, a_size) = alpha.vi();
                                                           ^~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/log_softmax.hpp:68:28: error: 'const class Eigen::Matrix<stan::math::var, -1, 1>' has no member named 'val'; did you mean 'eval'?
     vector_d alpha_d = alpha.val();
                              ^~~
                              eval
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:34,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/log_sum_exp.hpp: In member function 'virtual void stan::math::internal::log_sum_exp_matrix_vari::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/log_sum_exp.hpp:36:13: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'adj'
       vis_map.adj().array() += adj_ * (vis_map.val().array() - val_).exp();
               ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/log_sum_exp.hpp:36:46: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'val'; did you mean 'eval'?
       vis_map.adj().array() += adj_ * (vis_map.val().array() - val_).exp();
                                                ^~~
                                                eval
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/matrix_exp_multiply.hpp:10,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:35,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp: In member function 'virtual void stan::math::multiply_mat_vari<Ta, Ra, Ca, Tb, Cb>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:110:58: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       adjAB = Map<matrix_vi>(variRefAB_, A_rows_, B_cols_).adj();
                                                            ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:130:49: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       Map<matrix_vi>(variRefA_, A_rows_, A_cols_).adj()
                                                   ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:132:49: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       Map<matrix_vi>(variRefB_, A_cols_, B_cols_).adj()
                                                   ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp: In member function 'virtual void stan::math::multiply_mat_vari<Ta, 1, Ca, Tb, 1>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:204:38: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'adj'
       Map<vector_vi>(variRefA_, size_).adj() += adjAB * Map<vector_d>(Bd_, size_);
                                        ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:205:38: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'adj'
       Map<vector_vi>(variRefB_, size_).adj() += Map<vector_d>(Ad_, size_) * adjAB;
                                        ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp: In member function 'virtual void stan::math::multiply_mat_vari<double, Ra, Ca, Tb, Cb>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:295:67: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       matrix_d adjAB = Map<matrix_vi>(variRefAB_, A_rows_, B_cols_).adj();
                                                                     ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:309:49: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       Map<matrix_vi>(variRefB_, A_cols_, B_cols_).adj()
                                                   ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp: In member function 'virtual void stan::math::multiply_mat_vari<double, 1, Ca, Tb, 1>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:374:38: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'adj'
       Map<vector_vi>(variRefB_, size_).adj()
                                        ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp: In member function 'virtual void stan::math::multiply_mat_vari<Ta, Ra, Ca, double, Cb>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:465:67: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       matrix_d adjAB = Map<matrix_vi>(variRefAB_, A_rows_, B_cols_).adj();
                                                                     ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:479:49: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       Map<matrix_vi>(variRefA_, A_rows_, A_cols_).adj()
                                                   ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp: In member function 'virtual void stan::math::multiply_mat_vari<Ta, 1, Ca, double, 1>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:549:42: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, 1, -1> >' has no member named 'adj'
       Map<row_vector_vi>(variRefA_, size_).adj()
                                            ^~~
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:36,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left.hpp: In member function 'virtual void stan::math::internal::mdivide_left_vv_vari<R1, C1, R2, C2>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left.hpp:66:66: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
                           .solve(Map<matrix_vi>(variRefC_, M_, N_).adj());
                                                                    ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left.hpp:68:39: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       Map<matrix_vi>(variRefA_, M_, M_).adj()
                                         ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left.hpp:70:39: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       Map<matrix_vi>(variRefB_, M_, N_).adj() += adjB;
                                         ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left.hpp: In member function 'virtual void stan::math::internal::mdivide_left_dv_vari<R1, C1, R2, C2>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left.hpp:115:39: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       Map<matrix_vi>(variRefB_, M_, N_).adj()
                                         ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left.hpp:119:57: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
                  .solve(Map<matrix_vi>(variRefC_, M_, N_).adj());
                                                           ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left.hpp: In member function 'virtual void stan::math::internal::mdivide_left_vd_vari<R1, C1, R2, C2>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left.hpp:165:55: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       matrix_d adjC = Map<matrix_vi>(variRefC_, M_, N_).adj();
                                                         ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left.hpp:167:39: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       Map<matrix_vi>(variRefA_, M_, M_).adj()
                                         ^~~
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:37,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_ldlt.hpp: In member function 'virtual void stan::math::internal::mdivide_left_ldlt_vv_vari<R1, C1, R2, C2>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_ldlt.hpp:70:62: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       matrix_d adjB = Eigen::Map<matrix_vi>(variRefC_, M_, N_).adj();
                                                                ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_ldlt.hpp:74:50: error: 'using matrix_vi = class Eigen::Matrix<stan::math::vari*, -1, -1>' {aka 'class Eigen::Matrix<stan::math::vari*, -1, -1>'} has no member named 'adj'
       const_cast<matrix_vi &>(alloc_ldlt_->variA_).adj()
                                                    ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_ldlt.hpp:76:46: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       Eigen::Map<matrix_vi>(variRefB_, M_, N_).adj() += adjB;
                                                ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_ldlt.hpp: In member function 'virtual void stan::math::internal::mdivide_left_ldlt_dv_vari<R1, C1, R2, C2>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_ldlt.hpp:120:62: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       matrix_d adjB = Eigen::Map<matrix_vi>(variRefC_, M_, N_).adj();
                                                                ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_ldlt.hpp:122:46: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       Eigen::Map<matrix_vi>(variRefB_, M_, N_).adj() += adjB;
                                                ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_ldlt.hpp: In member function 'virtual void stan::math::internal::mdivide_left_ldlt_vd_vari<R1, C1, R2, C2>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_ldlt.hpp:162:62: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       matrix_d adjC = Eigen::Map<matrix_vi>(variRefC_, M_, N_).adj();
                                                                ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_ldlt.hpp:164:50: error: 'using matrix_vi = class Eigen::Matrix<stan::math::vari*, -1, -1>' {aka 'class Eigen::Matrix<stan::math::vari*, -1, -1>'} has no member named 'adj'
       const_cast<matrix_vi &>(alloc_ldlt_->variA_).adj()
                                                    ^~~
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:38,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_spd.hpp: In member function 'virtual void stan::math::internal::mdivide_left_spd_vv_vari<R1, C1, R2, C2>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_spd.hpp:62:62: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       matrix_d adjB = Eigen::Map<matrix_vi>(variRefC_, M_, N_).adj();
                                                                ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_spd.hpp:64:46: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       Eigen::Map<matrix_vi>(variRefA_, M_, M_).adj()
                                                ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_spd.hpp:66:46: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       Eigen::Map<matrix_vi>(variRefB_, M_, N_).adj() += adjB;
                                                ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_spd.hpp: In member function 'virtual void stan::math::internal::mdivide_left_spd_dv_vari<R1, C1, R2, C2>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_spd.hpp:101:62: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       matrix_d adjB = Eigen::Map<matrix_vi>(variRefC_, M_, N_).adj();
                                                                ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_spd.hpp:103:46: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       Eigen::Map<matrix_vi>(variRefB_, M_, N_).adj() += adjB;
                                                ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_spd.hpp: In member function 'virtual void stan::math::internal::mdivide_left_spd_vd_vari<R1, C1, R2, C2>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_spd.hpp:137:62: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       matrix_d adjC = Eigen::Map<matrix_vi>(variRefC_, M_, N_).adj();
                                                                ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_spd.hpp:138:46: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       Eigen::Map<matrix_vi>(variRefA_, M_, M_).adj()
                                                ^~~
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:39,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_tri.hpp: In member function 'virtual void stan::math::internal::mdivide_left_tri_vv_vari<TriView, R1, C1, R2, C2>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_tri.hpp:106:59: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
                    .solve(Map<matrix_vi>(variRefC_, M_, N_).adj());
                                                             ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_tri.hpp:125:39: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       Map<matrix_vi>(variRefB_, M_, N_).adj() += adjB;
                                         ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_tri.hpp: In member function 'virtual void stan::math::internal::mdivide_left_tri_dv_vari<TriView, R1, C1, R2, C2>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_tri.hpp:193:41: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
         Map<matrix_vi>(variRefB_, M_, N_).adj()
                                           ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_tri.hpp:197:59: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
                    .solve(Map<matrix_vi>(variRefC_, M_, N_).adj());
                                                             ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_tri.hpp: In member function 'virtual void stan::math::internal::mdivide_left_tri_vd_vari<TriView, R1, C1, R2, C2>::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/mdivide_left_tri.hpp:273:46: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, -1> >' has no member named 'adj'
       adjC = Map<matrix_vi>(variRefC_, M_, N_).adj();
                                                ^~~
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:48,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/sd.hpp: In function 'stan::math::var stan::math::internal::calc_sd(size_t, const stan::math::var*)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/sd.hpp:32:24: error: 'class Eigen::Map<const Eigen::Matrix<stan::math::var, -1, 1> >' has no member named 'vi'
     varis_map = dtrs_map.vi();
                          ^~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/sd.hpp:33:32: error: 'class Eigen::Map<const Eigen::Matrix<stan::math::var, -1, 1> >' has no member named 'val'; did you mean 'eval'?
     vector_d dtrs_val = dtrs_map.val();
                                  ^~~
                                  eval
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:51,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp: In static member function 'static double stan::math::internal::squared_distance_vv_vari::var_squared_distance(const Eigen::Matrix<stan::math::var, R, C>&, const Eigen::Matrix<stan::math::var, R2, C2, (AutoAlign | (((R2 == 1) && (C2 != 1)) ? RowMajor : (((C2 == 1) && (R2 != 1)) ? ColMajor :  ColMajor))), R2, C2>&)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp:29:44: error: 'class Eigen::Ref<const Eigen::Matrix<stan::math::var, -1, 1> >' has no member named 'val'; did you mean 'eval'?
       return (Eigen::Ref<const vector_v>(v1).val()
                                              ^~~
                                              eval
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp:30:46: error: 'class Eigen::Ref<const Eigen::Matrix<stan::math::var, -1, 1> >' has no member named 'val'; did you mean 'eval'?
               - Eigen::Ref<const vector_v>(v2).val())
                                                ^~~
                                                eval
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp: In member function 'virtual void stan::math::internal::squared_distance_vv_vari::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp:49:38: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'val'; did you mean 'eval'?
       vector_d di = 2 * adj_ * (v1_map.val() - v2_map.val());
                                        ^~~
                                        eval
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp:49:53: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'val'; did you mean 'eval'?
       vector_d di = 2 * adj_ * (v1_map.val() - v2_map.val());
                                                       ^~~
                                                       eval
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp:50:12: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'adj'
       v1_map.adj() += di;
              ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp:51:12: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'adj'
       v2_map.adj() -= di;
              ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp: In static member function 'static double stan::math::internal::squared_distance_vd_vari::var_squared_distance(const Eigen::Matrix<stan::math::var, R, C>&, const Eigen::Matrix<double, R2, C2>&)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp:66:44: error: 'class Eigen::Ref<const Eigen::Matrix<stan::math::var, -1, 1> >' has no member named 'val'; did you mean 'eval'?
       return (Eigen::Ref<const vector_v>(v1).val()
                                              ^~~
                                              eval
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp: In member function 'virtual void stan::math::internal::squared_distance_vd_vari::chain()':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp:85:12: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'adj'
       v1_map.adj()
              ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp:86:31: error: 'class Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1> >' has no member named 'val'; did you mean 'eval'?
           += 2 * adj_ * (v1_map.val() - Eigen::Map<vector_d>(v2_, length_));
                                 ^~~
                                 eval
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:53,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/sum.hpp: In static member function 'static double stan::math::sum_eigen_v_vari::sum_of_val(const Eigen::DenseBase<Derived>&)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/sum.hpp:21:42: error: 'class Eigen::Ref<const Eigen::Matrix<stan::math::var, -1, -1> >' has no member named 'val'; did you mean 'eval'?
       return Eigen::Ref<const matrix_v>(v).val().sum();
                                            ^~~
                                            eval
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:61,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/variance.hpp: In function 'stan::math::var stan::math::internal::calc_variance(size_t, const stan::math::var*)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/variance.hpp:22:49: error: 'class Eigen::Map<const Eigen::Matrix<stan::math::var, -1, 1> >' has no member named 'vi'
     Eigen::Map<vector_vi>(varis, size) = dtrs_map.vi();
                                                   ^~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/fun/variance.hpp:23:33: error: 'class Eigen::Map<const Eigen::Matrix<stan::math::var, -1, 1> >' has no member named 'val'; did you mean 'eval'?
     vector_d dtrs_vals = dtrs_map.val();
                                   ^~~
                                   eval
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:6,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver_powell.hpp:6,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:64,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/functor/jacobian.hpp: In function 'void stan::math::jacobian(const F&, const Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, -1>&)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/functor/jacobian.hpp:25:17: error: 'class Eigen::Matrix<stan::math::var, -1, 1>' has no member named 'val'; did you mean 'eval'?
       fx = fx_var.val();
                   ^~~
                   eval
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/functor/jacobian.hpp:27:22: error: 'class Eigen::Matrix<stan::math::var, -1, 1>' has no member named 'adj'
       J.col(0) = x_var.adj();
                        ^~~
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/functor/jacobian.hpp:31:24: error: 'class Eigen::Matrix<stan::math::var, -1, 1>' has no member named 'adj'
         J.col(i) = x_var.adj();
                          ^~~
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:66,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/functor/gradient.hpp: In function 'void stan::math::gradient(const F&, const Eigen::Matrix<double, -1, 1>&, double&, Eigen::Matrix<double, -1, 1>&)':
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat/functor/gradient.hpp:51:21: error: 'class Eigen::Matrix<stan::math::var, -1, 1>' has no member named 'adj'
       grad_fx = x_var.adj();
                       ^~~
  In file included from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/core.hpp:46,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/mat.hpp:6,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math.hpp:4,
                   from D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5,
                   from file3113c4e6c6765.cpp:5:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp: At global scope:
  D:/RCompile/CRANpkg/lib/4.0gcc8/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:14:13: warning: 'void stan::math::set_zero_all_adjoints()' defined but not used [-Wunused-function]
   static void set_zero_all_adjoints() {
               ^~~~~~~~~~~~~~~~~~~~~
  make[1]: *** [D:/RCompile/recent/R4/etc/i386/Makeconf:215: file3113c4e6c6765.o] Error 1
  -- 1. Error: (unknown) (@test_stan_functions.R#4)  -----------------------------
  Error 1 occurred building shared library.
  Backtrace:
    1. base::tryCatch(...)
    2. base:::tryCatchList(expr, classes, parentenv, handlers)
    3. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
    4. value[[3L]](cond)
    5. rstan::expose_stan_functions(...)
   11. Rcpp::sourceCpp(code = paste(code, collapse = "\n"), ...)
  
  -- 2. Error: (unknown) (@test_stan_functions.R#4)  -----------------------------
  invalid connection
  Backtrace:
   1. base::tryCatch(...)
   2. base:::tryCatchList(expr, classes, parentenv, handlers)
   3. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   4. value[[3L]](cond)
   5. rstan::expose_stan_functions(...)
   6. base::sink(type = "output")
  
  == testthat results  ===========================================================
  [ OK: 42 | SKIPPED: 26 | WARNINGS: 1 | FAILED: 2 ]
  1. Error: (unknown) (@test_stan_functions.R#4) 
  2. Error: (unknown) (@test_stan_functions.R#4) 
  
  Error: testthat unit tests failed
  Execution halted