Skip to content

Commit

Permalink
fledge: Bump version to 0.7.4.9005
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Apr 12, 2018
1 parent 36d7460 commit 97fb286
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 61 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: dplyr
Title: A Grammar of Data Manipulation
Version: 0.7.4.9004
Version: 0.7.4.9005
Authors@R: c(
person("Hadley", "Wickham", , "[email protected]", c("aut", "cre")),
person("Romain", "Fran\u00e7ois", role = "aut", comment = c(ORCID = "0000-0002-2444-4226")),
Expand Down
111 changes: 51 additions & 60 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,4 @@
# dplyr 0.7.4.9004 (2018-04-10)

* The hybrid evaluator finds functions from dplyr even if dplyr is not attached (#3456).

* Dedicated error message when trying to use columns of the `Interval` or `Period` classes (#2568).

* Improved documentation for set operations (#3238, @edublancas).


# dplyr 0.7.4.9003 (2018-03-29)

* `row_number()` works on empty subsets (#3454).

* Support `!!!` in `recode_factor()` (#3390).

* Specify `[`-type base subsetting in filter docs.

* Hybrid functions can now be masked by regular R functions to turn off hybrid evaluation (#3255).

* Reindexing grouped data frames never updates the `"class"` attribute. This also avoids unintended updates to the original object (#3438).

* Avoid cleaning the data mask, a temporary environment used to evaluate expressions. If the environment, in which e.g. a `mutate()` expression is evaluated, is preserved until after the operation, accessing variables from that environment now gives a warning but still returns `NULL` (#3318).

* `do()` operations with more than one named argument can access `.` (#2998).

* Improve column name compatibility for `mutate_each()` and `summarize_each()` with dplyr 0.5.0 and earlier in an edge case (#3020).


# dplyr 0.7.4.9002 (2018-03-16)
# dplyr 0.7.4.9005 (2018-04-13)

## Breaking changes for package developers

Expand All @@ -40,24 +12,23 @@
import functions from dplyr selectively rather than in bulk, or do not import
`Biobase::exprs()` and refer to it with a namespace qualifier.

## Bug fixes

## Changes

* Show clear error message for bad arguments to `funs()` (#3368).
* Reindexing grouped data frames never updates the `"class"` attribute. This also avoids unintended updates to the original object (#3438).

* Improved documentation for `funs()` (#3094).
* `do()` operations with more than one named argument can access `.` (#2998).

* Compute variable names for joins in R (#3430).
* Summaries of summaries (such as `summarise(b = sum(a), c = sum(b))`) are now
computed using standard evaluation for simplicity and correctness, but
slightly slower (#3233).

* Hybrid evaluation simplifies `dplyr::foo` to `foo` (#3309)
* Fixed rare column name clash in joins with non-join columns of the same name in both tables (#3266).

* `bind_cols()` handles unnamed list (#3402).
* Fix `summarise()` for empty data frames with zero columns (#3071).

* Bumped Rcpp dependency to 0.12.15 to avoid imperfect detection of `NA` values in hybrid evaluation fixed in RcppCore/Rcpp#790 (#2919).
* Fix `row_number()` and `ntile()` ordering to use the locale-dependent ordering functions in R when dealing with character vectors, rather than always using the C-locale ordering function in C (#2792, @foo-bar-baz-qux).

* Summaries of summaries (such as `summarise(b = sum(a), c = sum(b))`) are now
computed using standard evaluation for simplicity and correctness, but
slightly slower (#3233).
## Changes

* `sym()`, `syms()`, `expr()`, `exprs()` and `enexpr()` are now
exported. `sym()` and `syms()` construct symbols from strings or character
Expand All @@ -84,48 +55,68 @@
input in mutating operations and `mutate(df, "foo")` creates a new column by
recycling "foo" to the number of rows.

* Fixed rare column name clash in joins with non-join columns of the same name in both tables (#3266).
* Support for raw vector columns in `mutate`, `summarise`, `arrange`, `group_by`
and joins (minimal `raw` x `raw` support initially) (#1803).

* Hybrid evaluation simplifies `dplyr::foo` to `foo` (#3309). Hybrid functions can now be masked by regular R functions to turn off hybrid evaluation (#3255). The hybrid evaluator finds functions from dplyr even if dplyr is not attached (#3456).

* Scoped select and rename functions (`select_all()`, `rename_if()` etc.) now work with grouped data frames, adapting the grouping as necessary (#2947, #3410). `group_by_at` can group by an existing grouping variable (#3351). `arrange_at` can use grouping variables (#3332).

* `row_number()` works on empty subsets (#3454).

* `bind_cols()` handles unnamed list (#3402).

* `select()` and `vars()` now treat `NULL` as empty inputs (#3023).

* Scoped select and rename functions (`select_all()`, `rename_if()` etc.) now work with grouped data frames, adapting the grouping as necessary (#2947, #3410).
* Support `!!!` in `recode_factor()` (#3390).

* Fix `summarise()` for empty data frames with zero columns (#3071).
* `distinct()` now supports renaming columns (#3234).

* Add warning with explanation to `distinct()` if any of the selected columns are of type `list` (#3088, @foo-bar-baz-qux).
* It is now illegal to use `data.frame` in the rhs of `mutate()` (#3298).

* `sample_n()` and `sample_frac()` on grouped data frame are now faster especially for those with large number of groups (#3193, @saurfang).
* `combine()` returns `logical()` when all inputs are `NULL` (or when there are no inputs) (#3365, @zeehio).

* Better error message if dbplyr is not installed when accessing database backends (#3225).
* `bind_rows()` works around corrupt columns that have the object bit set while having no class attribute (#3349).

* Corrected error message when calling `cbind()` with an object of wrong length (#3085).
* `slice()` no longer enforce tibble classes when input is a simple `data.frame`, and ignores 0 (#3297, #3313).

* Fix `row_number()` and `ntile()` ordering to use the locale-dependent ordering functions in R when dealing with character vectors, rather than always using the C-locale ordering function in C (#2792, @foo-bar-baz-qux).
## Documentation

* `distinct()` now supports renaming columns (#3234).
* Improved documentation for set operations (#3238, @edublancas).

* Better error message when joining data frames with duplicate or `NA` column names. Joining such data frames with a semi- or anti-join now gives a warning, which may be converted to an error in future versions (#3243, #3417).
* Improved documentation for `funs()` (#3094).

* Added an `.onDetach()` hook that allows for plyr to be loaded and attached without the warning message that says functions in dplyr will be masked, since dplyr is no longer attached (#3359, @jwnorman).
## Error messages

* It is now illegal to use `data.frame` in the rhs of `mutate()` (#3298).
* Dedicated error message when trying to use columns of the `Interval` or `Period` classes (#2568).

* `combine()` returns `logical()` when all inputs are `NULL` (or when there are no inputs) (#3365, @zeehio).
* Show clear error message for bad arguments to `funs()` (#3368).

* `distinct()` now gives a warning when used on unknown columns (#2867, @foo-bar-baz-qux).
* Add warning with explanation to `distinct()` if any of the selected columns are of type `list` (#3088, @foo-bar-baz-qux).

* `bind_rows()` works around corrupt columns that have the object bit set while having no class attribute (#3349).
* Better error message if dbplyr is not installed when accessing database backends (#3225).

* Corrected error message when calling `cbind()` with an object of wrong length (#3085).

* Better error message when joining data frames with duplicate or `NA` column names. Joining such data frames with a semi- or anti-join now gives a warning, which may be converted to an error in future versions (#3243, #3417).

* `distinct()` now gives a warning when used on unknown columns (#2867, @foo-bar-baz-qux).

* `arrange()` fails gracefully on `data.frame` columns (#3153).

* `slice()` no longer enforce tibble classes when input is a simple `data.frame`, and ignores 0 (#3297, #3313).
* Added an `.onDetach()` hook that allows for plyr to be loaded and attached without the warning message that says functions in dplyr will be masked, since dplyr is no longer attached (#3359, @jwnorman).

* Support for raw vector columns in `mutate`, `summarise`, `arrange`, `group_by`
and joins (minimal `raw` x `raw` support initially) (#1803).
## Performance

* `sample_n()` and `sample_frac()` on grouped data frame are now faster especially for those with large number of groups (#3193, @saurfang).

* `group_by_at` can group by an existing grouping variable (#3351).
## Internal

* `arrange_at` can use grouping variables (#3332).
* Compute variable names for joins in R (#3430).

* Bumped Rcpp dependency to 0.12.15 to avoid imperfect detection of `NA` values in hybrid evaluation fixed in RcppCore/Rcpp#790 (#2919).

* Avoid cleaning the data mask, a temporary environment used to evaluate expressions. If the environment, in which e.g. a `mutate()` expression is evaluated, is preserved until after the operation, accessing variables from that environment now gives a warning but still returns `NULL` (#3318).

# dplyr 0.7.4

Expand Down

0 comments on commit 97fb286

Please sign in to comment.