Skip to content

select not gets overruled #644

@rgknight

Description

@rgknight

Per Hadley's comment on the manipulatr thread, select is supposed to return the first instance of a name mentioned, i.e.,

names( select(iris, starts_with("S"), sepal.wid = Sepal.Width))
[1] "Sepal.Length" "Sepal.Width"  "Species"  

is correct. However, when you use the not option, it gets overruled when additional conditions are specified, i.e.

> names( select(iris, -starts_with("P"), Sepal.Width))
[1] "Sepal.Width"

should return all names that don't start with P.

Metadata

Metadata

Assignees

Labels

bugan unexpected problem or unintended behavior

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions