DominikRafacz/deepdep

Unlimited deepdep depth

ErdaradunGaztea opened this issue · 0 comments

There should be a way to generate deepdep object for given package without depth limit. It would be intuitive to achieve this by using depth = Inf, but our current implementation disallow that. It would try to create an infinite-length numeric vector, which is... kinda impossible:

# R/deepdep.R line 58
for (level in 2:depth)

There are two ways to approach this: the simpler one would be to make this iteration conditional; the other -- to rewrite this code, perhaps more efficiently.