New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict with reshape package #88

Closed
ldecicco-USGS opened this Issue Jun 18, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@ldecicco-USGS

ldecicco-USGS commented Jun 18, 2015

Is there any way to fix the conflict caused by reshape?

library(tidyr)
df <- data.frame(x=rep("a",4),
                 y=c(1:3,NA),
                 key=c("g","g","c","d"),
                 stringsAsFactors = FALSE)
gather(df, variable, value, -key)
library(reshape)
gather(df, variable, value, -key)

I have tried recommending to not use the reshape package, but it still seems like an issue that could be fixed at the package level.

@hadley

This comment has been minimized.

Member

hadley commented Aug 24, 2015

At some point tidyr will become self-contained and will no longer rely on reshape2. That will fix this problem.

@hadley hadley closed this Aug 24, 2015

hadley added a commit that referenced this issue Aug 24, 2015

@hadley

This comment has been minimized.

Member

hadley commented Aug 24, 2015

Decided to go ahead and do this for the next version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment