Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Namespace for packages in Imports not loaded #178

Closed
mannyishere opened this Issue · 3 comments

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 referenced this issue from a commit
@hadley Require packages in depends.
Fixes #161, #178
d5cebda
@hadley hadley referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@hadley hadley referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@hadley hadley referenced this issue from a commit
@hadley Require packages in depends.
Fixes #161, #178, #192
1cfcbd3
@hadley
Owner

Closed in fa70de6

@hadley hadley closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.