You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A fair point, but this code analysis is all static. In do.call(order, temp), CodeDepends would need to evaluate the symbol order to know that it is a function and do.call to know that it takes a function as an argument. The same is true for getInputs(quote(vapply(1:10, sqrt, FUN.VALUE = numeric(1))))
and getInputs(quote(purrr::map(1:10, sqrt))). It seems like CodeDepends would need to either evaluate code or look for every special case in order to notice all functions that take functions as arguments, and there are just so many.
The command
CodeDepends::getInputs(quote(do.call(order, temp)))
outputs (with deleted empty slots)I would have expected
The text was updated successfully, but these errors were encountered: