Message-ID: <ed827c45-c429-85ea-7c52-c94186bb8387@gmail.com>
Date: 2018-03-25T00:37:36Z
From: Wenchao Ma
Subject: [R-pkg-devel] Warnings and error message in CRAN Package Check Results
In-Reply-To: <351DFF40-2F64-4D38-BF12-46DEA3E8B273@gmail.com>
Hi Joshua and Peter,
Thank you so much for your help. Yes, it's definitely my mistake in
mixing R and c++ function calls...
I think I can fix the problems now.
Thank you once again,
Wenchao
On 3/24/2018 7:31 PM, peter dalgaard wrote:
>
>
>> On 25 Mar 2018, at 00:42 , Wenchao Ma <wenchao2012 at gmail.com> wrote:
>>
>> arma::vec Pj = Calc_Pj(par = par, designMj = designMj, linkfunc = linkfunc, boundary = boundary, eps = eps);
>
> I was never any good at C++, but that syntax looks like R code. Does C++ allow tag=value argument specification? Aren't all the subexpressions of type "par = par" just assignments??
>