Re: [R-pkg-devel] How ton print in the console from Rcpp

2022-11-14 Thread Elysée Aristide
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

Re: [R-pkg-devel] How ton print in the console from Rcpp

2022-11-14 Thread Dirk Eddelbuettel
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

Re: [R-pkg-devel] How ton print in the console from Rcpp

2022-11-14 Thread Ivan Krylov
В 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