partial match to 'calls'
Closed this issue · 1 comments
clarkfitzg commented
Minor issue, similar to #22. Discovered by @nick-ulle.
> options(warnPartialMatchDollar = TRUE)
> options(warn = 2)
> CodeDepends::getInputs(quote(foo$bar))
Error in collector$call :
(converted from warning) partial match of 'call' to 'calls'
Looks like it shows up in a few places:
clark@DSI-CF ~/dev/CodeDepends/R (master)
$ grep "collector\$call[^s]" *
functionHandlers.R: collector$call(as.character(e[[1]]))
functionHandlers.R: collector$call(paste(fname, "<-", sep = ""))
functionHandlers.R: collector$call(as.character(e[[1]]))
functionHandlers.R: collector$call(asVarName(e[[1]]))
functionHandlers.R: collector$call(asVarName(e[[1]]))
functionHandlers.R: collector$call(nameToUse)
functionHandlers.R: collector$call("spread")
functionHandlers.R: collector$call(as.character(e[[1]]))
If you like I can submit a patch.
gmbecker commented
That would be great. Thanks for the report, and for the forthcoming PR.
~G
…On Mon, Jul 16, 2018 at 12:47 PM, Clark Fitzgerald ***@***.*** > wrote:
Minor issue, similar to #22
<#22>. Discovered by
@nick-ulle <https://github.com/nick-ulle>.
> options(warnPartialMatchDollar = TRUE)
> options(warn = 2)
> CodeDepends::getInputs(quote(foo$bar))
Error in collector$call :
(converted from warning) partial match of 'call' to 'calls'
Looks like it shows up in a few places:
***@***.*** ~/dev/CodeDepends/R (master)
$ grep "collector\$call[^s]" *
functionHandlers.R: collector$call(as.character(e[[1]]))
functionHandlers.R: collector$call(paste(fname, "<-", sep = ""))
functionHandlers.R: collector$call(as.character(e[[1]]))
functionHandlers.R: collector$call(asVarName(e[[1]]))
functionHandlers.R: collector$call(asVarName(e[[1]]))
functionHandlers.R: collector$call(nameToUse)
functionHandlers.R: collector$call("spread")
functionHandlers.R: collector$call(as.character(e[[1]]))
If you like I can submit a patch.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#35>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA3dsWobxa8eg6q0Tq7QfzdXr15YxCKoks5uHO3ggaJpZM4VRsbS>
.
--
Gabriel Becker, Ph.D
Scientist
Bioinformatics and Computational Biology
Genentech Research