statistikat / simPop

Simulation of Synthetic Populations for Survey Data Considering Auxiliary Information
30 stars 7 forks source link

Installing simPop on R version 3.6.2 #7

Closed kmsis2011 closed 3 years ago

kmsis2011 commented 3 years ago

Unable to install package simPop on R version 3.6.2.

install.packages("simPop") WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/ Installing package into ‘C:/Users/kyeo/Documents/R/win-library/3.6’ (as ‘lib’ is unspecified) Warning in install.packages : package ‘simPop’ is not available (for R version 3.6.2)

bernhard-da commented 3 years ago

hi @kmsis2011 pkgbuild::has_rtools() gives you TRUE before you want to install simPop?

kmsis2011 commented 3 years ago

Didn't have Rtools installed, but now I did (.pkgbuild::has_rtools() =TRUE) See in attachment the message from another attempt to install simPop

On Mon, Nov 2, 2020 at 10:14 AM bernhard-da notifications@github.com wrote:

hi @kmsis2011 https://github.com/kmsis2011 pkgbuild::has_rtools() gives you TRUE before you want to install simPop?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/statistikat/simPop/issues/7#issuecomment-720532775, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMRXG67G3JDWDNEGUZQWULSN3EFZANCNFSM4THQZRMA .

   access::rw(out.row_indices[count]) = x_it_row;
   ^

C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/spglue_relational_meat.hpp:368:7: error: 'rw' is not a member of 'arma::access' access::rw(out.col_ptrs[x_it_col + 1])++; ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/spglue_relational_meat.hpp:391:21: error: 'rwp' is not a member of 'arma::access' uword col_ptrs = access::rwp(out.col_ptrs); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/spglue_relational_meat.hpp:408:7: error: 'rw' is not a member of 'arma::access' access::rw( out.n_nonzero) = count; ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/spglue_relational_meat.hpp:409:7: error: 'rw' is not a member of 'arma::access' access::rw( out.values[count]) = eT(0); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/spglue_relational_meat.hpp:410:7: error: 'rw' is not a member of 'arma::access' access::rw(out.row_indices[count]) = uword(0); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/spglue_relational_meat.hpp: In static member function 'static void arma::spglue_rel_or::apply_noalias(arma::SpMat&, const arma::SpProxy&, const arma::SpProxy&)': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/spglue_relational_meat.hpp:503:5: error: 'rw' is not a member of 'arma::access' access::rw(out.values[count]) = uword(1); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/spglue_relational_meat.hpp:508:5: error: 'rw' is not a member of 'arma::access' access::rw(out.row_indices[count]) = out_row; ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/spglue_relational_meat.hpp:509:5: error: 'rw' is not a member of 'arma::access' access::rw(out.col_ptrs[out_col + 1])++; ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/spglue_relational_meat.hpp:517:21: error: 'rwp' is not a member of 'arma::access' uword col_ptrs = access::rwp(out.col_ptrs); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/spglue_relational_meat.hpp:534:7: error: 'rw' is not a member of 'arma::access' access::rw( out.n_nonzero) = count; ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/spglue_relational_meat.hpp:535:7: error: 'rw' is not a member of 'arma::access' access::rw( out.values[count]) = eT(0); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/spglue_relational_meat.hpp:536:7: error: 'rw' is not a member of 'arma::access' access::rw(out.row_indices[count]) = uword(0); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h: In member function 'arma::SpMat Rcpp::traits::Exporter<arma::SpMat >::get()': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:102:79: error: no matching function for call to 'join_cols(arma::urowvec&, arma::urowvec&)' arma::SpMat res = arma::sp_mat(true, arma::join_cols(ti, tj)-1, tx, li["nrow"], li["ncol"], true, false); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:102:79: note: candidates are: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:31:1: note: template<class T1, class T2> typename arma::enable_if2<((arma::is_arma_type::value && arma::is_arma_type::value) && arma::is_same_type<typename T1::elem_type, typename T2::elem_type>::value), const arma::Glue<T1, T2, arma::glue_join_cols> >::result arma::join_cols(const T1&, const T2&) join_cols(const T1& A, const T2& B) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:31:1: note: template argument deduction/substitution failed: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp: In substitution of 'template<class T1, class T2> typename arma::enable_if2<((arma::is_arma_type::value && arma::is_arma_type::value) && arma::is_same_type<typename T1::elem_type, typename T2::elem_type>::value), const arma::Glue<T1, T2, arma::glue_join_cols> >::result arma::join_cols(const T1&, const T2&) [with T1 = arma::Row; T2 = arma::Row]': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:102:79: required from here C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:28:55: error: 'value' is not a member of 'arma::is_same_type<unsigned int, unsigned int>' (is_arma_type::value && is_arma_type::value && is_same_type<typename T1::elem_type, typename T2::elem_type>::value), ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:28:28: error: 'value' is not a member of 'arma::is_arma_type<arma::Row >' (is_arma_type::value && is_arma_type::value && is_same_type<typename T1::elem_type, typename T2::elem_type>::value), ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:28:28: error: 'value' is not a member of 'arma::is_arma_type<arma::Row >' C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:44:1: note: template<class eT, class T1, class T2, class T3> arma::Mat arma::join_cols(const arma::Base<eT, T1>&, const arma::Base<T, T2>&, const arma::Base<eT, T3>&) join_cols(const Base<eT,T1>& A, const Base<eT,T2>& B, const Base<eT,T3>& C) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:44:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:102:79: note: candidate expects 3 arguments, 2 provided arma::SpMat res = arma::sp_mat(true, arma::join_cols(ti, tj)-1, tx, li["nrow"], li["ncol"], true, false); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:61:1: note: template<class eT, class T1, class T2, class T3, class T4> arma::Mat arma::join_cols(const arma::Base<eT, T1>&, const arma::Base<T, T2>&, const arma::Base<eT, T3>&, const arma::Base<eT, T4>&) join_cols(const Base<eT,T1>& A, const Base<eT,T2>& B, const Base<eT,T3>& C, const Base<eT,T4>& D) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:61:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:102:79: note: candidate expects 4 arguments, 2 provided arma::SpMat res = arma::sp_mat(true, arma::join_cols(ti, tj)-1, tx, li["nrow"], li["ncol"], true, false); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:316:1: note: template<class T1, class T2> const arma::SpGlue<T1, T2, arma::spglue_join_cols> arma::join_cols(const arma::SpBase<typename T1::elem_type, T1>&, const arma::SpBase<typename T1::elem_type, T2>&) join_cols(const SpBase<typename T1::elem_type,T1>& A, const SpBase<typename T1::elem_type,T2>& B) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:316:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:102:79: note: 'arma::urowvec {aka arma::Row}' is not derived from 'const arma::SpBase<typename T1::elem_type, T1>' arma::SpMat res = arma::sp_mat(true, arma::join_cols(ti, tj)-1, tx, li["nrow"], li["ncol"], true, false); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:329:1: note: template<class eT, class T1, class T2, class T3> arma::SpMat arma::join_cols(const arma::SpBase<eT, T1>&, const arma::SpBase<eT, T2>&, const arma::SpBase<eT, T3>&) join_cols(const SpBase<eT,T1>& A, const SpBase<eT,T2>& B, const SpBase<eT,T3>& C) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:329:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:102:79: note: 'arma::urowvec {aka arma::Row}' is not derived from 'const arma::SpBase<eT, T1>' arma::SpMat res = arma::sp_mat(true, arma::join_cols(ti, tj)-1, tx, li["nrow"], li["ncol"], true, false); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:346:1: note: template<class eT, class T1, class T2, class T3, class T4> arma::SpMat arma::join_cols(const arma::SpBase<eT, T1>&, const arma::SpBase<eT, T2>&, const arma::SpBase<eT, T3>&, const arma::SpBase<eT, T4>&) join_cols(const SpBase<eT,T1>& A, const SpBase<eT,T2>& B, const SpBase<eT,T3>& C, const SpBase<eT,T4>& D) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:346:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:102:79: note: 'arma::urowvec {aka arma::Row}' is not derived from 'const arma::SpBase<eT, T1>' arma::SpMat res = arma::sp_mat(true, arma::join_cols(ti, tj)-1, tx, li["nrow"], li["ncol"], true, false); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:127:47: error: 'rwp' is not a member of 'arma::access' std::copy(i.begin(), i.end(), arma::access::rwp(res.row_indices)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:128:47: error: 'rwp' is not a member of 'arma::access' std::copy(p.begin(), p.end(), arma::access::rwp(res.col_ptrs)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:129:47: error: 'rwp' is not a member of 'arma::access' std::copy(x.begin(), x.end(), arma::access::rwp(res.values)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:144:47: error: 'rwp' is not a member of 'arma::access' std::copy(i.begin(), i.end(), arma::access::rwp(res.row_indices)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:145:47: error: 'rwp' is not a member of 'arma::access' std::copy(p.begin(), p.end(), arma::access::rwp(res.col_ptrs)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:146:47: error: 'rwp' is not a member of 'arma::access' std::copy(x.begin(), x.end(), arma::access::rwp(res.values)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:165:47: error: 'rwp' is not a member of 'arma::access' std::copy(i.begin(), i.end(), arma::access::rwp(res.row_indices)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:166:47: error: 'rwp' is not a member of 'arma::access' std::copy(p.begin(), p.end(), arma::access::rwp(res.col_ptrs)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:167:47: error: 'rwp' is not a member of 'arma::access' std::copy(x.begin(), x.end(), arma::access::rwp(res.values)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:180:64: error: no matching function for call to 'join_cols(arma::urowvec&, arma::urowvec&)' res = arma::sp_mat(true, arma::join_cols(ti, tj), tx, nrow, ncol, true, false); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:180:64: note: candidates are: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:31:1: note: template<class T1, class T2> typename arma::enable_if2<((arma::is_arma_type::value && arma::is_arma_type::value) && arma::is_same_type<typename T1::elem_type, typename T2::elem_type>::value), const arma::Glue<T1, T2, arma::glue_join_cols> >::result arma::join_cols(const T1&, const T2&) join_cols(const T1& A, const T2& B) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:31:1: note: template argument deduction/substitution failed: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp: In substitution of 'template<class T1, class T2> typename arma::enable_if2<((arma::is_arma_type::value && arma::is_arma_type::value) && arma::is_same_type<typename T1::elem_type, typename T2::elem_type>::value), const arma::Glue<T1, T2, arma::glue_join_cols> >::result arma::join_cols(const T1&, const T2&) [with T1 = arma::Row; T2 = arma::Row]': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:180:64: required from here C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:28:55: error: 'value' is not a member of 'arma::is_same_type<unsigned int, unsigned int>' (is_arma_type::value && is_arma_type::value && is_same_type<typename T1::elem_type, typename T2::elem_type>::value), ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:28:28: error: 'value' is not a member of 'arma::is_arma_type<arma::Row >' (is_arma_type::value && is_arma_type::value && is_same_type<typename T1::elem_type, typename T2::elem_type>::value), ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:28:28: error: 'value' is not a member of 'arma::is_arma_type<arma::Row >' C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:44:1: note: template<class eT, class T1, class T2, class T3> arma::Mat arma::join_cols(const arma::Base<eT, T1>&, const arma::Base<T, T2>&, const arma::Base<eT, T3>&) join_cols(const Base<eT,T1>& A, const Base<eT,T2>& B, const Base<eT,T3>& C) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:44:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:180:64: note: candidate expects 3 arguments, 2 provided res = arma::sp_mat(true, arma::join_cols(ti, tj), tx, nrow, ncol, true, false); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:61:1: note: template<class eT, class T1, class T2, class T3, class T4> arma::Mat arma::join_cols(const arma::Base<eT, T1>&, const arma::Base<T, T2>&, const arma::Base<eT, T3>&, const arma::Base<eT, T4>&) join_cols(const Base<eT,T1>& A, const Base<eT,T2>& B, const Base<eT,T3>& C, const Base<eT,T4>& D) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:61:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:180:64: note: candidate expects 4 arguments, 2 provided res = arma::sp_mat(true, arma::join_cols(ti, tj), tx, nrow, ncol, true, false); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:316:1: note: template<class T1, class T2> const arma::SpGlue<T1, T2, arma::spglue_join_cols> arma::join_cols(const arma::SpBase<typename T1::elem_type, T1>&, const arma::SpBase<typename T1::elem_type, T2>&) join_cols(const SpBase<typename T1::elem_type,T1>& A, const SpBase<typename T1::elem_type,T2>& B) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:316:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:180:64: note: 'arma::urowvec {aka arma::Row}' is not derived from 'const arma::SpBase<typename T1::elem_type, T1>' res = arma::sp_mat(true, arma::join_cols(ti, tj), tx, nrow, ncol, true, false); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:329:1: note: template<class eT, class T1, class T2, class T3> arma::SpMat arma::join_cols(const arma::SpBase<eT, T1>&, const arma::SpBase<eT, T2>&, const arma::SpBase<eT, T3>&) join_cols(const SpBase<eT,T1>& A, const SpBase<eT,T2>& B, const SpBase<eT,T3>& C) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:329:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:180:64: note: 'arma::urowvec {aka arma::Row}' is not derived from 'const arma::SpBase<eT, T1>' res = arma::sp_mat(true, arma::join_cols(ti, tj), tx, nrow, ncol, true, false); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:346:1: note: template<class eT, class T1, class T2, class T3, class T4> arma::SpMat arma::join_cols(const arma::SpBase<eT, T1>&, const arma::SpBase<eT, T2>&, const arma::SpBase<eT, T3>&, const arma::SpBase<eT, T4>&) join_cols(const SpBase<eT,T1>& A, const SpBase<eT,T2>& B, const SpBase<eT,T3>& C, const SpBase<eT,T4>& D) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:346:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:180:64: note: 'arma::urowvec {aka arma::Row}' is not derived from 'const arma::SpBase<eT, T1>' res = arma::sp_mat(true, arma::join_cols(ti, tj), tx, nrow, ncol, true, false); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:187:64: error: no matching function for call to 'join_cols(arma::urowvec&, arma::urowvec&)' res = arma::sp_mat(true, arma::join_cols(ti, tj), tx, nrow, ncol, true, false); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:187:64: note: candidates are: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:31:1: note: template<class T1, class T2> typename arma::enable_if2<((arma::is_arma_type::value && arma::is_arma_type::value) && arma::is_same_type<typename T1::elem_type, typename T2::elem_type>::value), const arma::Glue<T1, T2, arma::glue_join_cols> >::result arma::join_cols(const T1&, const T2&) join_cols(const T1& A, const T2& B) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:31:1: note: template argument deduction/substitution failed: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp: In substitution of 'template<class T1, class T2> typename arma::enable_if2<((arma::is_arma_type::value && arma::is_arma_type::value) && arma::is_same_type<typename T1::elem_type, typename T2::elem_type>::value), const arma::Glue<T1, T2, arma::glue_join_cols> >::result arma::join_cols(const T1&, const T2&) [with T1 = arma::Row; T2 = arma::Row]': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:187:64: required from here C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:28:55: error: 'value' is not a member of 'arma::is_same_type<unsigned int, unsigned int>' (is_arma_type::value && is_arma_type::value && is_same_type<typename T1::elem_type, typename T2::elem_type>::value), ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:28:28: error: 'value' is not a member of 'arma::is_arma_type<arma::Row >' (is_arma_type::value && is_arma_type::value && is_same_type<typename T1::elem_type, typename T2::elem_type>::value), ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:28:28: error: 'value' is not a member of 'arma::is_arma_type<arma::Row >' C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:44:1: note: template<class eT, class T1, class T2, class T3> arma::Mat arma::join_cols(const arma::Base<eT, T1>&, const arma::Base<T, T2>&, const arma::Base<eT, T3>&) join_cols(const Base<eT,T1>& A, const Base<eT,T2>& B, const Base<eT,T3>& C) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:44:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:187:64: note: candidate expects 3 arguments, 2 provided res = arma::sp_mat(true, arma::join_cols(ti, tj), tx, nrow, ncol, true, false); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:61:1: note: template<class eT, class T1, class T2, class T3, class T4> arma::Mat arma::join_cols(const arma::Base<eT, T1>&, const arma::Base<T, T2>&, const arma::Base<eT, T3>&, const arma::Base<eT, T4>&) join_cols(const Base<eT,T1>& A, const Base<eT,T2>& B, const Base<eT,T3>& C, const Base<eT,T4>& D) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:61:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:187:64: note: candidate expects 4 arguments, 2 provided res = arma::sp_mat(true, arma::join_cols(ti, tj), tx, nrow, ncol, true, false); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:316:1: note: template<class T1, class T2> const arma::SpGlue<T1, T2, arma::spglue_join_cols> arma::join_cols(const arma::SpBase<typename T1::elem_type, T1>&, const arma::SpBase<typename T1::elem_type, T2>&) join_cols(const SpBase<typename T1::elem_type,T1>& A, const SpBase<typename T1::elem_type,T2>& B) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:316:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:187:64: note: 'arma::urowvec {aka arma::Row}' is not derived from 'const arma::SpBase<typename T1::elem_type, T1>' res = arma::sp_mat(true, arma::join_cols(ti, tj), tx, nrow, ncol, true, false); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:329:1: note: template<class eT, class T1, class T2, class T3> arma::SpMat arma::join_cols(const arma::SpBase<eT, T1>&, const arma::SpBase<eT, T2>&, const arma::SpBase<eT, T3>&) join_cols(const SpBase<eT,T1>& A, const SpBase<eT,T2>& B, const SpBase<eT,T3>& C) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:329:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:187:64: note: 'arma::urowvec {aka arma::Row}' is not derived from 'const arma::SpBase<eT, T1>' res = arma::sp_mat(true, arma::join_cols(ti, tj), tx, nrow, ncol, true, false); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:346:1: note: template<class eT, class T1, class T2, class T3, class T4> arma::SpMat arma::join_cols(const arma::SpBase<eT, T1>&, const arma::SpBase<eT, T2>&, const arma::SpBase<eT, T3>&, const arma::SpBase<eT, T4>&) join_cols(const SpBase<eT,T1>& A, const SpBase<eT,T2>& B, const SpBase<eT,T3>& C, const SpBase<eT,T4>& D) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:346:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:187:64: note: 'arma::urowvec {aka arma::Row}' is not derived from 'const arma::SpBase<eT, T1>' res = arma::sp_mat(true, arma::join_cols(ti, tj), tx, nrow, ncol, true, false); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:197:64: error: no matching function for call to 'join_cols(arma::urowvec&, arma::urowvec&)' res = arma::sp_mat(true, arma::join_cols(ti, tj), tx, nrow, ncol, true, false); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:197:64: note: candidates are: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:31:1: note: template<class T1, class T2> typename arma::enable_if2<((arma::is_arma_type::value && arma::is_arma_type::value) && arma::is_same_type<typename T1::elem_type, typename T2::elem_type>::value), const arma::Glue<T1, T2, arma::glue_join_cols> >::result arma::join_cols(const T1&, const T2&) join_cols(const T1& A, const T2& B) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:31:1: note: template argument deduction/substitution failed: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp: In substitution of 'template<class T1, class T2> typename arma::enable_if2<((arma::is_arma_type::value && arma::is_arma_type::value) && arma::is_same_type<typename T1::elem_type, typename T2::elem_type>::value), const arma::Glue<T1, T2, arma::glue_join_cols> >::result arma::join_cols(const T1&, const T2&) [with T1 = arma::Row; T2 = arma::Row]': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:197:64: required from here C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:28:55: error: 'value' is not a member of 'arma::is_same_type<unsigned int, unsigned int>' (is_arma_type::value && is_arma_type::value && is_same_type<typename T1::elem_type, typename T2::elem_type>::value), ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:28:28: error: 'value' is not a member of 'arma::is_arma_type<arma::Row >' (is_arma_type::value && is_arma_type::value && is_same_type<typename T1::elem_type, typename T2::elem_type>::value), ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:28:28: error: 'value' is not a member of 'arma::is_arma_type<arma::Row >' C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:44:1: note: template<class eT, class T1, class T2, class T3> arma::Mat arma::join_cols(const arma::Base<eT, T1>&, const arma::Base<T, T2>&, const arma::Base<eT, T3>&) join_cols(const Base<eT,T1>& A, const Base<eT,T2>& B, const Base<eT,T3>& C) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:44:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:197:64: note: candidate expects 3 arguments, 2 provided res = arma::sp_mat(true, arma::join_cols(ti, tj), tx, nrow, ncol, true, false); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:61:1: note: template<class eT, class T1, class T2, class T3, class T4> arma::Mat arma::join_cols(const arma::Base<eT, T1>&, const arma::Base<T, T2>&, const arma::Base<eT, T3>&, const arma::Base<eT, T4>&) join_cols(const Base<eT,T1>& A, const Base<eT,T2>& B, const Base<eT,T3>& C, const Base<eT,T4>& D) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:61:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:197:64: note: candidate expects 4 arguments, 2 provided res = arma::sp_mat(true, arma::join_cols(ti, tj), tx, nrow, ncol, true, false); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:316:1: note: template<class T1, class T2> const arma::SpGlue<T1, T2, arma::spglue_join_cols> arma::join_cols(const arma::SpBase<typename T1::elem_type, T1>&, const arma::SpBase<typename T1::elem_type, T2>&) join_cols(const SpBase<typename T1::elem_type,T1>& A, const SpBase<typename T1::elem_type,T2>& B) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:316:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:197:64: note: 'arma::urowvec {aka arma::Row}' is not derived from 'const arma::SpBase<typename T1::elem_type, T1>' res = arma::sp_mat(true, arma::join_cols(ti, tj), tx, nrow, ncol, true, false); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:329:1: note: template<class eT, class T1, class T2, class T3> arma::SpMat arma::join_cols(const arma::SpBase<eT, T1>&, const arma::SpBase<eT, T2>&, const arma::SpBase<eT, T3>&) join_cols(const SpBase<eT,T1>& A, const SpBase<eT,T2>& B, const SpBase<eT,T3>& C) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:329:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:197:64: note: 'arma::urowvec {aka arma::Row}' is not derived from 'const arma::SpBase<eT, T1>' res = arma::sp_mat(true, arma::join_cols(ti, tj), tx, nrow, ncol, true, false); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:473:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:346:1: note: template<class eT, class T1, class T2, class T3, class T4> arma::SpMat arma::join_cols(const arma::SpBase<eT, T1>&, const arma::SpBase<eT, T2>&, const arma::SpBase<eT, T3>&, const arma::SpBase<eT, T4>&) join_cols(const SpBase<eT,T1>& A, const SpBase<eT,T2>& B, const SpBase<eT,T3>& C, const SpBase<eT,T4>& D) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_join.hpp:346:1: note: template argument deduction/substitution failed: In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:197:64: note: 'arma::urowvec {aka arma::Row}' is not derived from 'const arma::SpBase<eT, T1>' res = arma::sp_mat(true, arma::join_cols(ti, tj), tx, nrow, ncol, true, false); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:249:47: error: 'rwp' is not a member of 'arma::access' std::copy(i.begin(), i.end(), arma::access::rwp(res.row_indices)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:250:47: error: 'rwp' is not a member of 'arma::access' std::copy(p.begin(), p.end(), arma::access::rwp(res.col_ptrs)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:251:47: error: 'rwp' is not a member of 'arma::access' std::copy(x.begin(), x.end(), arma::access::rwp(res.values)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:303:47: error: 'rwp' is not a member of 'arma::access' std::copy(i.begin(), i.end(), arma::access::rwp(res.row_indices)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:304:47: error: 'rwp' is not a member of 'arma::access' std::copy(p.begin(), p.end(), arma::access::rwp(res.col_ptrs)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:305:47: error: 'rwp' is not a member of 'arma::access' std::copy(x.begin(), x.end(), arma::access::rwp(res.values)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:361:47: error: 'rwp' is not a member of 'arma::access' std::copy(i.begin(), i.end(), arma::access::rwp(res.row_indices)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:362:47: error: 'rwp' is not a member of 'arma::access' std::copy(p.begin(), p.end(), arma::access::rwp(res.col_ptrs)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:363:47: error: 'rwp' is not a member of 'arma::access' std::copy(x.begin(), x.end(), arma::access::rwp(res.values)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:411:47: error: 'rwp' is not a member of 'arma::access' std::copy(i.begin(), i.end(), arma::access::rwp(res.row_indices)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:412:47: error: 'rwp' is not a member of 'arma::access' std::copy(p.begin(), p.end(), arma::access::rwp(res.col_ptrs)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:413:47: error: 'rwp' is not a member of 'arma::access' std::copy(x.begin(), x.end(), arma::access::rwp(res.values)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:445:47: error: 'rwp' is not a member of 'arma::access' std::copy(i.begin(), i.end(), arma::access::rwp(res.row_indices)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:446:47: error: 'rwp' is not a member of 'arma::access' std::copy(p.begin(), p.end(), arma::access::rwp(res.col_ptrs)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:447:47: error: 'rwp' is not a member of 'arma::access' std::copy(x.begin(), x.end(), arma::access::rwp(res.values)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:483:47: error: 'rwp' is not a member of 'arma::access' std::copy(i.begin(), i.end(), arma::access::rwp(res.row_indices)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:484:47: error: 'rwp' is not a member of 'arma::access' std::copy(p.begin(), p.end(), arma::access::rwp(res.col_ptrs)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:485:47: error: 'rwp' is not a member of 'arma::access' std::copy(x.begin(), x.end(), arma::access::rwp(res.values)); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:495:13: error: 'rw' is not a member of 'arma::access' arma::access::rw(res.col_ptrs[static_cast(ncol + 1)]) = ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:119:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/BaseCube_bones.hpp: In instantiation of 'struct arma::BaseCube<float, arma::Cube >': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/Cube_bones.hpp:33:7: required from 'class arma::Cube' C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:550:22: required from here C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/BaseCube_bones.hpp:49:8: error: 'value' is not a member of 'arma::is_Cube<arma::Cube >' struct BaseCube ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h: In member function 'Rcpp::traits::Exporter<arma::Cube >::cube_t Rcpp::traits::Exporter<arma::Cube >::get()': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:551:60: error: call to 'static arma::Cube arma::conv_to<arma::Cube >::from(const arma::BaseCube<in_eT, T1>&, const typename arma::arma_not_cx::result) [with in_eT = double; T1 = arma::Cube; out_eT = float; typename arma::arma_not_cx::result = double]' uses the default argument for parameter 2, which is not yet defined cube_t result = arma::conv_to::from(tmp); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:119:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/BaseCube_bones.hpp: In instantiation of 'struct arma::BaseCube<float, arma::subview_cube >': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/subview_cube_bones.hpp:24:7: required from 'class arma::subview_cube' C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:551:60: required from here C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/BaseCube_bones.hpp:49:8: error: 'value' is not a member of 'arma::is_Cube<arma::subview_cube >' struct BaseCube ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h: In member function 'Rcpp::traits::Exporter<arma::Cube >::cube_t Rcpp::traits::Exporter<arma::Cube >::get()': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:569:60: error: call to 'static arma::Cube arma::conv_to<arma::Cube >::from(const arma::BaseCube<in_eT, T1>&, const typename arma::arma_not_cx::result) [with in_eT = int; T1 = arma::Cube; out_eT = unsigned int; typename arma::arma_not_cx::result = int]' uses the default argument for parameter 2, which is not yet defined cube_t result = arma::conv_to::from(tmp); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:119:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/BaseCube_bones.hpp: In instantiation of 'struct arma::BaseCube<std::complex, arma::Cube<std::complex > >': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/Cube_bones.hpp:33:7: required from 'class arma::Cube<std::complex >' C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:593:17: required from here C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/BaseCube_bones.hpp:49:8: error: 'value' is not a member of 'arma::is_Cube<arma::Cube<std::complex > >' struct BaseCube ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/BaseCube_bones.hpp: In instantiation of 'struct arma::BaseCube<std::complex, arma::subview_cube<std::complex > >': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/subview_cube_bones.hpp:24:7: required from 'class arma::subview_cube<std::complex >' C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:584:51: required from here C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/BaseCube_bones.hpp:49:8: error: 'value' is not a member of 'arma::is_Cube<arma::subview_cube<std::complex > >' C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/BaseCube_bones.hpp: In instantiation of 'struct arma::BaseCube<std::complex, arma::Cube<std::complex > >': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/Cube_bones.hpp:33:7: required from 'class arma::Cube<std::complex >' C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:586:22: required from here C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/BaseCube_bones.hpp:49:8: error: 'value' is not a member of 'arma::is_Cube<arma::Cube<std::complex > >' In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:38:0, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h: In member function 'Rcpp::traits::Exporter<arma::Cube<std::complex > >::cube_t Rcpp::traits::Exporter<arma::Cube<std::complex > >::get()': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:587:60: error: call to 'static arma::Cube arma::conv_to<arma::Cube >::from(const arma::BaseCube<in_eT, T1>&, const typename arma::arma_cx_only::result) [with in_eT = std::complex; T1 = arma::Cube<std::complex >; out_eT = std::complex; typename arma::arma_cx_only::result = std::complex]' uses the default argument for parameter 2, which is not yet defined cube_t result = arma::conv_to::from(tmp); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:119:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/BaseCube_bones.hpp: In instantiation of 'struct arma::BaseCube<std::complex, arma::subview_cube<std::complex > >': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/subview_cube_bones.hpp:24:7: required from 'class arma::subview_cube<std::complex >' C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloAs.h:587:60: required from here C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/BaseCube_bones.hpp:49:8: error: 'value' is not a member of 'arma::is_Cube<arma::subview_cube<std::complex > >' struct BaseCube ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:355:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/arma_cmath.hpp: In instantiation of 'eT arma::arma_sinc_generic(eT) [with eT = float]': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/arma_cmath.hpp:277:29: required from here C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/arma_cmath.hpp:255:31: error: 'pi' is not a member of 'arma::Datum' const eT tmp = Datum::pi x; ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/arma_cmath.hpp: In instantiation of 'eT arma::arma_sinc_generic(eT) [with eT = double]': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/arma_cmath.hpp:287:29: required from here C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/arma_cmath.hpp:255:31: error: 'pi' is not a member of 'arma::Datum' In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:86:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp: In instantiation of 'arma::Mat::~Mat() [with eT = unsigned int]': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/Col_bones.hpp:23:7: required from here C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:36:55: error: 'value' is not a member of 'arma::is_supported_elem_type' arma_type_check(( is_supported_elem_type::value == false )); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/arma_static_check.hpp:25:65: note: in definition of macro 'arma_type_check'

define arma_type_check(condition) static_assert( !(condition), "error: type mismatch or unsupported type" )

                                                             ^

C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/arma_static_check.hpp:25:120: error: 'static_assert' was not declared in this scope

define arma_type_check(condition) static_assert( !(condition), "error: type mismatch or unsupported type" )

                                                                                                                    ^

C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:36:3: note: in expansion of macro 'arma_type_check' arma_type_check(( is_supported_elem_type::value == false )); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:495:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_randi.hpp: In instantiation of 'obj_type arma::randi(arma::uword, arma::uword, const arma::distr_param&, const typename arma::arma_Mat_Col_Row_only::result*) [with obj_type = arma::Mat; arma::uword = unsigned int; typename arma::arma_Mat_Col_Row_only::result = arma::Mat]': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_randi.hpp:117:43: required from here C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_randi.hpp:33:3: error: 'value' is not a member of 'arma::is_Col<arma::Mat >' if(is_Col::value) ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_randi.hpp:38:3: error: 'value' is not a member of 'arma::is_Row<arma::Mat >' if(is_Row::value) ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:86:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp: In instantiation of 'arma::Mat::~Mat() [with eT = int]': C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/fn_randi.hpp:117:43: required from here C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:36:55: error: 'value' is not a member of 'arma::is_supported_elem_type' arma_type_check(( is_supported_elem_type::value == false )); ^ C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/arma_static_check.hpp:25:65: note: in definition of macro 'arma_type_check'

define arma_type_check(condition) static_assert( !(condition), "error: type mismatch or unsupported type" )

                                                             ^

C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/arma_static_check.hpp:25:120: error: 'static_assert' was not declared in this scope

define arma_type_check(condition) static_assert( !(condition), "error: type mismatch or unsupported type" )

                                                                                                                    ^

C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:36:3: note: in expansion of macro 'arma_type_check' arma_type_check(( is_supported_elem_type::value == false )); ^ In file included from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/armadillo:495:0, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadilloForward.h:49, from C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/include/RcppArmadillo.h:31, from RcppExports.cpp:4: C:/Users/12674/Documents/R/win-library/3.6/RcppArmadillo/inclu

bernhard-da commented 3 years ago

hi @kmsis2011 thx for providing these errors but i am not sure if they have something todo with simPop in the first place. can you provide the following (complete!) outputs (from a clean session?

devtools::session_info()
install.packages("simPop")
kmsis2011 commented 3 years ago

On Mon, Nov 2, 2020 at 2:25 PM bernhard-da notifications@github.com wrote:

Assigned #7 https://github.com/statistikat/simPop/issues/7 to @kmsis2011 https://github.com/kmsis2011.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/statistikat/simPop/issues/7#event-3949720673, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMRXG2SPJ3APEKPBVCH3LDSN4BSRANCNFSM4THQZRMA .

[1] C:/Users/12674/Documents/R/win-library/3.6 [2] C:/Program Files/R/R-3.6.1/library Warning in install.packages : package ‘simPop’ is not available (for R version 3.6.1)

bernhard-da commented 3 years ago

hi @kmsis2011 thx. i just realized that this package was archived from cran due to some notes that were not fixed in time so it is not available from cran for the time being.

you can use devtools::install_github("statistikat/simPop") in the meantime until the package is on cran again.

kmsis2011 commented 3 years ago

Thank you. Please let me know as soon as it is on (or when to expect it). we are looking forward to using it for a test pilot; the option above still throws an error (that the app is not available).

On Mon, Nov 2, 2020 at 4:00 PM bernhard-da notifications@github.com wrote:

hi @kmsis2011 https://github.com/kmsis2011 thx. i just realized that this package was archived from cran due to some notes that were not fixed in time so it is not available from cran for the time being.

you can use devtools::install_github("statistikat/simPop") in the meantime until the package is on cran again.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/statistikat/simPop/issues/7#issuecomment-720721561, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMRXG7VGELTZ2UGWOA2ORTSN4MXJANCNFSM4THQZRMA .