-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior
Milestone
Description
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))
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior