Skip to content

Conflict with reshape package #88

@ldecicco-USGS

Description

@ldecicco-USGS

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions