Skip to content

Commit

Permalink
Fix documentation that broke build. "%" chars needed to be escaped ev…
Browse files Browse the repository at this point in the history
…en in the example section.
  • Loading branch information
bghill committed Sep 3, 2014
1 parent 476eab9 commit 9cac82b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/h2o-package/man/as.Date.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ library(h2o)
localH2O = h2o.init(ip = "localhost", port = 54321, startH2O = TRUE)
df = data.frame(c("Fri Jan 10 00:00:00 1969 -0800", "Tue Jan 10 04:00:00 2068 -0800", "Mon Dec 30 01:00:00 2002 -0800", "Wed Jan 1 12:00:00 2003 -0800"))
hdf = as.h2o(localH2O, df, "hdf", TRUE)
hdf[,1] = as.Date(hdf[,1], "%c %z")
hdf[,1] = as.Date(hdf[,1], "\%c \%z")
hdf[,1]
}

0 comments on commit 9cac82b

Please sign in to comment.