Re: [R-pkg-devel] warning: explicit assigning values of variable of type ....

2024-06-06 Thread Søren Højsgaard via R-package-devel
to name the arguments, you can do so with comments: /* print = */ print On Thu, Jun 6, 2024, 19:16 Søren Højsgaard via R-package-devel mailto:r-package-devel@r-project.org>> wrote: Dear all, From CRAN maintainers I recieve: Flavor: r-devel-linux-x86_64-debian-gcc Check: whether package

[R-pkg-devel] warning: explicit assigning values of variable of type ....

2024-06-06 Thread Søren Højsgaard via R-package-devel
Dear all, From CRAN maintainers I recieve: Flavor: r-devel-linux-x86_64-debian-gcc Check: whether package can be installed, Result: WARNING Found the following significant warnings: grips_fit_ips.cpp:149:45: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-a