Skip to content

Commit

Permalink
Add news and option documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
gorcha committed Mar 29, 2020
1 parent 3d40496 commit 09a8cbc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# testdat (development version)

* Added `quosure` argument to `use_testdata()` (#1). This allows the dataset to be specified as a quosure, so all tests will be run against the current version.

* Added a new `testdat.scipen` (default: `999`) to avoid issues from checks converting numeric variables to scientific notation (#3).

* Added >= 0.8.0 dplyr version dependency (#2).

# testdat 0.1.0

Initial release.
Expand Down
2 changes: 2 additions & 0 deletions R/testdat.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#' (default: `c("error", "null", "0", ".", "-", ",", "na", "#n/a", "", NA)`).
#' - `testdat.stop_on_fail`: Should an expectation raise an error on failure?
#' Useful for interactive use of expectation functions (default: `TRUE`).
#' - `testdat.scipen`: When it is necessary to convert a numeric vector to
#' character for checking, this value will be used for `scipen` (default: `999`).
#'
#' @import rlang
#' @import dplyr
Expand Down
2 changes: 2 additions & 0 deletions man/testdat-package.Rd

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

0 comments on commit 09a8cbc

Please sign in to comment.