Closed moodymudskipper closed 4 years ago
I've made a change in 5cd8acd so that it now says:
Error in initialize(...) : argument "foo" is missing, with no default
Note that the cause of the error is the function (initialize
) tries to use the foo
argument, but you're calling initialize
without providing a value for foo
. You'll get that same error message if you call any R function that way, not just something from R6.
This was a bit of a pain to debug :
adding body containing foo in initialize, I get a cryptic message
Created on 2019-11-15 by the reprex package (v0.3.0)
I would suggest a more helpful error message, and maybe some documentation about this behavior (I didn't find any in the doc)