Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Test suite warnings from missing compute function #2208
Comments
|
Yeah I've been getting these warnings (and studiously putting off dealing with them for the time being |
karawoo
added the
bug
label
Jul 15, 2017
karawoo
closed this
in #2209
Jul 17, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dylan-stark commentedJul 15, 2017
Warnings are issued from
ggproto_formals(calculate)call intest-function-args.rwhen using R 3.4.1.In each case,
calculateisNULLand so the string name of the function is passed to.Internal(formals(fun)). It looks like the warning for this case (and a TODO comment to stop on this condition in the future) was added in R 3.4.0.From what I can see,
computewas changed tocompute_panelin a previous commit. And I verified that making the same update in the test fixes the issue -- I'm happy to put together a PR with that patch if that's sufficient.To reproduce, go to the package root and use the following with R >= 3.4.0 to see the warnings: