github tidyverse/dplyr v0.8.2
dplyr 0.8.2

latest releases: v1.1.4, v1.1.3, v1.1.2...
5 years ago

New functions

  • top_frac(data, proportion) is a shorthand for top_n(data, proportion * n()) (#4017).

colwise changes

  • Using quosures in colwise verbs is deprecated (#4330).

  • Updated distinct_if(), distinct_at() and distinct_all() to include .keep_all argument (@beansrowning, #4343).

  • rename_at() handles empty selection (#4324).

  • *_if() functions correctly handle columns with special names (#4380).

  • colwise functions support constants in formulas (#4374).

Hybrid evaluation changes

  • hybrid rank functions correctly handle NA (#4427).

  • first(), last() and nth() hybrid version handles factors (#4295).

Minor changes

  • top_n() quotes its n argument, n no longer needs to be constant for all groups (#4017).

  • tbl_vars() keeps information on grouping columns by returning a dplyr_sel_vars object (#4106).

  • group_split() always sets the ptype attribute, which make it more robust in the case where there
    are 0 groups.

  • group_map() and group_modify() work in the 0 group edge case (#4421)

  • select.list() method added so that select() does not dispatch on lists (#4279).

  • view() is reexported from tibble (#4423).

  • group_by() puts NA groups last in character vectors (#4227).

  • arrange() handles integer64 objects (#4366).

  • summarise() correctly resolves summarised list columns (#4349).

Don't miss a new dplyr release

NewReleases is sending notifications on new releases.