Skip to content

Commit

Permalink
Fixed NA bug in parse_dates. Fixes #107.
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettgman committed Feb 28, 2012
1 parent 98339f8 commit b8e90c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/parse.r
Expand Up @@ -495,7 +495,7 @@ parse_date <- function(x, formats, seps = find_separator(x)) {


find_separator <- function(x) {
x <- as.character(x)
x <- as.character(na.omit(x))
chars <- unlist(strsplit(x, ""))

alpha <- c(LETTERS, letters, 0:9)
Expand Down

0 comments on commit b8e90c8

Please sign in to comment.