Skip to content
Prev 346094 / 398502 Next

cyclic dependency when building a package

On 30/11/2014, 10:15 AM, Glenn Schultz wrote:
I don't see why this would cause the error you saw, but when I look at
your DESCRIPTION file, I see:

Depends: termstrc, reshape2, ggplot2, lubridate, methods, plyr, grid, optimx

It's a good idea to strongly limit the number of "Depends" entries.
Each of those potentially causes a change to the user's search list, and
may break something.

It's much better to use "Imports" instead, because that makes the other
packages available to you, but doesn't put them in the search list.

Duncan Murdoch