On 14 November 2022 at 16:34, Elysée Aristide wrote:
| I was convinced that the issue is local. The warning message only appears
| on MAC.
| I did not try with another computer. I used CRAN macbuilder service and got
| the warning message. I guess this is also the computer CRAN uses.
Some
Hello,
I was convinced that the issue is local. The warning message only appears
on MAC.
I did not try with another computer. I used CRAN macbuilder service and got
the warning message. I guess this is also the computer CRAN uses.
Best regards,
Aristide Elysée HOUNDETOUNGAN
*Assistant Professor
Ivan,
Thanks for following-up but I think this issue is local to the OP as R is
already setup exactly that way to skip `assert()` in builds (in perfect
congruence with the CRAN Repository Policy)
edd@rob:~$ grep NDEBUG /etc/R/Makeconf
R_XTRA_CPPFLAGS = -I"$(R_INCLUDE_DIR)" -DNDEBUG
В Sun, 13 Nov 2022 11:29:21 +
Elysée Aristide пишет:
> The only difference I saw is that all those packages put
>
> #define NDEBUG
>
> after #include .
> I did the same thing without understanding :)
Glad you got it working! If you're curious why it helped, see
;
r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] How ton print in the console from Rcpp
On 20 October 2022 at 13:16, Elys�e Aristide wrote:
| Thank you very much for your answers.
|
| I finally noticed that the issue comes from the numerical optimization, in
which I use the class
On 20 October 2022 at 13:16, Elysée Aristide wrote:
| Thank you very much for your answers.
|
| I finally noticed that the issue comes from the numerical optimization, in
which I use the class MFuncGrad of the package RcppNumerical. Is there any
problem in using this class? This is the only
Aristide ; r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] How ton print in the console from Rcpp
On 20 October 2022 at 14:46, Ivan Krylov wrote:
| �� Thu, 20 Oct 2022 12:43:30 +0200
| Elys��e Aristide ��ڧ�֧�:
|
| > What I understood is that it is better to use Rcpp functions. S
On 20 October 2022 at 14:46, Ivan Krylov wrote:
| В Thu, 20 Oct 2022 12:43:30 +0200
| Elysée Aristide пишет:
|
| > What I understood is that it is better to use Rcpp functions. So I
| > used:
| >
| > Rcpp::Rcout << "beta: \n";
| > Rcpp::print(betacpp);
| > Rcpp::Rcout << "log-likelihood: " <<
В Thu, 20 Oct 2022 12:43:30 +0200
Elysée Aristide пишет:
> What I understood is that it is better to use Rcpp functions. So I
> used:
>
> Rcpp::Rcout << "beta: \n";
> Rcpp::print(betacpp);
> Rcpp::Rcout << "log-likelihood: " << llh << "\n";
This seems to be a right way of printing from Rcpp
Hi,
On Thu, 20 Oct 2022 at 12:42, Elysée Aristide wrote:
>
> Greetings,
>
> In my CDatanet package, I want to print texts and values during a numerical
> optimization process. I saw in many posts that CRAN is not happy with
> sd::cout and sd::endl. What I understood is that it is better to use
Greetings,
In my CDatanet package, I want to print texts and values during a numerical
optimization process. I saw in many posts that CRAN is not happy with
sd::cout and sd::endl. What I understood is that it is better to use Rcpp
functions. So I used:
Rcpp::Rcout << "beta: \n";
11 matches
Mail list logo