Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: tidyr
Title: Easily Tidy Data with 'spread()' and 'gather()' Functions
Version: 0.7.0.9000
Version: 0.7.1
Authors@R: c(
person("Hadley", "Wickham", , "hadley@rstudio.com", c("aut", "cre")),
person("Lionel", "Henry", , "lionel@rstudio.com", "aut"),
Expand Down
19 changes: 18 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@

# tidyr 0.7.0.9000
# tidyr 0.7.1

This is a hotfix release to account for some tidyselect changes in the
unit tests.

Note that the upcoming version of tidyselect backtracks on some of the
changes announced for 0.7.0. The special evaluation semantics for
selection have been changed back to the old behaviour because the new
rules were causing too much trouble and confusion. From now on data
expressions (symbols and calls to `:` and `c()`) can refer to both
registered variables and to objects from the context.

However the semantics for context expressions (any calls other than to
`:` and `c()`) remain the same. Those expressions are evaluated in the
context only and cannot refer to registered variables. If you're
writing functions and refer to contextual objects, it is still a good
idea to avoid data expressions by following the advice of the 0.7.0
release notes.


# tidyr 0.7.0
Expand Down
12 changes: 5 additions & 7 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
This is a hotfix release to fix tests in prevision of an upcoming
tidyselect update.

## Test environments

* local OS X install, R 3.4.1
Expand All @@ -12,10 +15,5 @@

## Reverse dependencies

I have run R CMD check on the 268 downstream dependencies. (Summary at
https://github.com/tidyverse/tidyr/tree/master/revdep).

There were 9 problematic packages. We carefully reviewed each failure
and determined that they were due to a deliberate backward
incompatible change to the tidyr API. Authors were notified on August
1 (two weeks ago) with a suggested fix for the problem.
I have not run the reverse dependencies since this release is
identical to the previous one except for a couple of unit tests.
4 changes: 2 additions & 2 deletions man/tidyr-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/testthat/test-drop_na.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ test_that("empty call drops every row", {

test_that("errors are raised", {
df <- tibble(x = c(1, 2, NA), y = c("a", NA, "b"))
expect_error(tidyr::drop_na(df, NULL), "must resolve to integer column positions")
expect_error(tidyr::drop_na(df, "z"), "must match column names")
expect_error(tidyr::drop_na(df, !! list()))
expect_error(tidyr::drop_na(df, "z"))
})