Namespace for packages in Imports not loaded #178

Closed
mannyishere opened this Issue Oct 26, 2012 · 3 comments

Projects

None yet

3 participants

@mannyishere

Hi guys

I have developed packagea that has a data set data_everywhere with LazyData: true in the DESCRIPTION file. I have another package packageb that needs data_everywhere from packagea. I've added packagea as an "Depends" item in the DESCRIPTION file (rather than as "Import") as "Depends" will attach the data set rather than simply loading NAMESPACE (which does not include data set).

When I check() and install() packageb, everything works as expected. However, when I test() packageb, I get errors saying that it can't find data_everywhere.

Is this linked to Issue 161?

@wch
Collaborator

Yes, this is probably the same issue. Right now devtools doesn't attach packages that are listed as Depends.

@mannyishere

I think this makes devtools special functionality close to unusable for me. Is there a way around this bug?

@hadley hadley added a commit that referenced this issue Dec 12, 2012
@hadley Require packages in depends.
Fixes #161, #178
d5cebda
@hadley hadley added a commit that referenced this issue Dec 14, 2012
@hadley Require packages in depends.
Fixes #161, #178, #192
1cfcbd3
@hadley
Owner

Closed in fa70de6

@hadley hadley closed this Dec 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment