Skip to content

Commit

Permalink
New argument ignore for test_frame() (tidyverse#1941)
Browse files Browse the repository at this point in the history
* new arg ignore for test_frame()

* NEWS
  • Loading branch information
krlmlr authored and hadley committed Jun 23, 2016
1 parent 3b7a60f commit e6da46f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Functions to related to the creation and coercion of `tbl_df`s, now live in thei

* The backend testing system has been improved. This lead to the removal of
`temp_srcs()`. In the unlikely event that you were using this function,
you can instead use `test_register_src()` and `test_load()`.
you can instead use `test_register_src()`, `test_load()`, and `test_frame()`.

* You can now use `right_join()` and `full_join()` with remote tables (#1172).

Expand Down
4 changes: 2 additions & 2 deletions R/data-temp.r
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ test_load <- function(df, name = random_table_name(), srcs = test_srcs$get(),

#' @export
#' @rdname testing
test_frame <- function(..., srcs = test_srcs$get()) {
test_frame <- function(..., srcs = test_srcs$get(), ignore = character()) {
df <- data_frame(...)
test_load(df, srcs = srcs)
test_load(df, srcs = srcs, ignore = ignore)
}

# Manage cache of testing srcs
Expand Down

0 comments on commit e6da46f

Please sign in to comment.