Skip to content

dplyr crash with arrange on R 3.3.0 #1870

@RobertMyles

Description

@RobertMyles

Any idea why this might be happening?

I'll use a reprex from Hadley's R for Data Science book, Exercise 4.4.1, 1: put NA at the top of the flights dataframe with arrange().

library(dplyr)
library(nycflights13)

Any of these causes a crash:

arrange(flights, is.na(flights))
arrange(flights, desc=is.na(flights))

But not this:

arrange(flights, is.na(arr_delay))

Metadata

Metadata

Assignees

No one assigned

    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