Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
jimhester committed Dec 11, 2017
1 parent d6a4a22 commit ddbb5f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/collectors.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ collector_find <- function(name) {
#' @export
#' @examples
#' x <- c("1", "2", "3", "NA")
#' parse_vector(x, col_integer(), trim_ws = trim_ws)
#' parse_vector(x, col_double(), trim_ws = trim_ws)
#' parse_vector(x, col_integer())
#' parse_vector(x, col_double())
parse_vector <- function(x, collector, na = c("", "NA"), locale = default_locale(), trim_ws = TRUE) {
if (is.character(collector)) {
collector <- collector_find(collector)
Expand Down
4 changes: 2 additions & 2 deletions man/parse_vector.Rd

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

0 comments on commit ddbb5f4

Please sign in to comment.