Skip to content

Commit

Permalink
Fix documentation typos (#20) (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Oct 22, 2016
1 parent 3b5583b commit 555b8ac
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
8 changes: 4 additions & 4 deletions R/anytime.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

##' These function use the Boost Date_Time library to parse
##' datetimes (and dates) from strings, integers, factors or even numeric values
##' (which are cast to strings internall). They return a vector of
##' (which are cast to strings internally). They return a vector of
##' \code{POSIXct} objects (or \code{Date} objects in the case of \code{anydate}).
##' \code{POSIXct} objects represent dates and time as (possibly
##' fractional) seconds since the \sQuote{epoch} of January 1, 1970.
Expand Down Expand Up @@ -77,16 +77,16 @@
##' On Windows systems, accessing the \code{isdst} flag on dates or times
##' before January 1, 1970, can lead to a crash. Therefore, the lookup of this
##' value has been disabled for those dates and times, which could therefore be
##' off by an hour (the common value that needs to be correctect).
##' It should not afffect dates, but may affect datetime objects.
##' off by an hour (the common value that needs to be corrected).
##' It should not affect dates, but may affect datetime objects.
##'
##' @title Parse POSIXct objects from input data
##' @param x A vector of type character, integer or numeric with
##' date(time) expressions to be parsed and converted.
##' @param tz A string with the timezone, defaults to \sQuote{UTC} if unset
##' @param asUTC A logical value indicating if parsing should be to UTC; default
##' is false implying localtime.
##' ##' @return A vector of \code{POSIXct} elements, or, in the case of \code{anydate},
##' @return A vector of \code{POSIXct} elements, or, in the case of \code{anydate},
##' a vector of \code{Date} objects.
##' @seealso \code{\link{anytime-package}}
##' @references This StackOverflow answer provided the initial idea:
Expand Down
14 changes: 8 additions & 6 deletions man/anytime.Rd

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

0 comments on commit 555b8ac

Please sign in to comment.