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

2024-06-06 Thread Søren Højsgaard via R-package-devel
Thanks :) -Original Message- From: Iris Simmons mailto:iris%20simmons%20%3cikwsi...@gmail.com%3e>> To: Søren Højsgaard mailto:%3d%3fiso-8859-1%3fq%3fs%3df8ren_h%3df8jsgaard%3f%3d%20%3csor...@math.aau.dk%3e>> Cc: List r-package-devel mailto:list%20r-package-devel%20%3cr-package-de...@r-p

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

2024-06-06 Thread Iris Simmons
Unless I'm misunderstanding, you're trying to pass a value by name to a function. That is not a thing in C nor C++. However if you want 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 < r-package-devel@r-projec

[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