Re: [Rcpp-devel] template argument deduction/substitution failed

2021-06-13 Thread Dirk Eddelbuettel
On 13 June 2021 at 11:40, Joseph Park wrote: | Thank you. | | Changing the function argument limit to 20 variables resolves the error. Excellent. | If this limit can be relaxed, that would be helpful for future development. For that to happen someone will have to sit down and do it. | Thank

Re: [Rcpp-devel] template argument deduction/substitution failed

2021-06-13 Thread Joseph Park
Thank you. Changing the function argument limit to 20 variables resolves the error. If this limit can be relaxed, that would be helpful for future development. Thank you for Rcpp, and your patience with my ill-formed posts. JP On 6/13/21 1:15 AM, Dirk Eddelbuettel wrote: On 12 June 2021 at

Re: [Rcpp-devel] template argument deduction/substitution failed

2021-06-12 Thread Dirk Eddelbuettel
On 12 June 2021 at 16:02, Kevin Ushey wrote: | I think you're bumping into the 20 argument limit for our (now rather old) | Vector::create() implementation. I thought we also had a variadic C++11 | version for this, but apparently I am mistaken... Hm. We have a few header files that are similarly

Re: [Rcpp-devel] template argument deduction/substitution failed

2021-06-12 Thread Kevin Ushey
I think you're bumping into the 20 argument limit for our (now rather old) Vector::create() implementation. I thought we also had a variadic C++11 version for this, but apparently I am mistaken... A workaround is to use something like the ListBuilder class I put together a while back here: https:

Re: [Rcpp-devel] template argument deduction/substitution failed

2021-06-12 Thread Joseph Park
Trying a plain text version.  Apologies for the previous. Dear Rcpp-devel, Apologies in advance for the laborious problem statement.  I hope your experienced eyes will see a trivial mistake obscured to my nascent ones. We have a C++ core library pro

[Rcpp-devel] template argument deduction/substitution failed

2021-06-12 Thread Joseph Park
Dear Rcpp-devel, Apologies in advance for the laborious problem statement.  I hope your experienced eyes will see a trivial mistake obscured to my nascent ones. We have a C++ core library providing an API that is wrapped in R (Rcpp) and Python (pyb