Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Example package: https://github.com/krlmlr/RcppNoInitTest.
When using
no_init()for declaring a variable with assignment, rchk (with clang 6.0 on Ubuntu 18.04) detects an error. This goes away ifno_init()is used in a copy constructor.I have created a test package to replicate the problem.
.bcheckfileThis is important to me, because dplyr on CRAN shows these
rchkerrors: https://raw.githubusercontent.com/kalibera/cran-checks/master/rchk/results/dplyr.out.I'll submit a PR for discussion pointing to this issue. Please advise.