Skip to content

bugs in fetchData() when loading data from a package. #5

@rpruim

Description

@rpruim

From @rpruim on April 17, 2013 14:39

Currently there is a side effect (I think) that the data set with the original name also shows up in the global environment. See the Good Practice section of the data() documentation.

Also, it appears that the workspace takes precedence over the packages:

> HELP <- 3
> HELP
[1] 3
> hhh <- fetchData("HELP")
Data HELP found in package.
> str(hhh)
 num 3
> data(HELP)
> str(HELP)
'data.frame':   453 obs. of  27 variables:

Copied from original issue: ProjectMOSAIC/mosaic#199

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions