diff --git a/DESCRIPTION b/DESCRIPTION index 6331cf4..70bb1ba 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,8 +2,9 @@ Package: lubridateExtras Type: Package Title: Convenience functions for the lubridate package Version: 0.1.0 -Authors@R: person("Ellis", "Valentiner", email = "ellis.valentiner@gmail.com", - role = c("aut", "cre")) +Authors@R: c( + person("Ellis", "Valentiner", email = "ellis.valentiner@gmail.com", role = c("aut", "cre")), + person("Geoffrey", "Hannigan", email = "hanni035@umn.edu", role = c("ctb"))) Description: Provides extra functionality to lubridate. Largely consisting of convenience functions. License: MIT + file LICENSE @@ -11,6 +12,9 @@ Encoding: UTF-8 LazyData: true Imports: lubridate (>= 1.6.0) +Suggests: + knitr Remotes: tidyverse/lubridate +VignetteBuilder: knitr RoxygenNote: 6.0.1 diff --git a/README.md b/README.md index e4f9fc4..d5464d4 100644 --- a/README.md +++ b/README.md @@ -30,16 +30,16 @@ Usage library(lubridateExtras) yesterday() -#> [1] "2017-09-23" +#> [1] "2017-10-11" tomorrow() -#> [1] "2017-09-25" +#> [1] "2017-10-13" days_ago(7) # equivalent to lubridate::today() - lubridate::days(7) -#> [1] "2017-09-17" +#> [1] "2017-10-05" days_hence(7) # equivalent to lubridate::today() + lubridate::days(7) -#> [1] "2017-10-01" +#> [1] "2017-10-19" ``` Why lubridateExtras? diff --git a/docs/articles/intro.html b/docs/articles/intro.html index 6052a03..d22ee69 100644 --- a/docs/articles/intro.html +++ b/docs/articles/intro.html @@ -64,10 +64,10 @@

Introduction to lubridateExtras

+

lubridateExtras provides functions to improve code readability and increase laziness.

suppressPackageStartupMessages(library(dplyr))
 suppressPackageStartupMessages(library(lubridate))
 library(lubridateExtras)
-

lubridateExtras provides functions to improve code readability and increase laziness.

Example

diff --git a/docs/authors.html b/docs/authors.html index a970d12..01c2c14 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -88,6 +88,10 @@

Authors

Ellis Valentiner. Author, maintainer.

+
  • +

    Geoffrey Hannigan. Contributor. +

    +
  • diff --git a/docs/index.html b/docs/index.html index 217f602..bf0aaf9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -86,16 +86,16 @@

    library(lubridateExtras)
     
     yesterday()
    -#> [1] "2017-09-23"
    +#> [1] "2017-10-11"
     
     tomorrow()
    -#> [1] "2017-09-25"
    +#> [1] "2017-10-13"
     
     days_ago(7)  # equivalent to lubridate::today() - lubridate::days(7)
    -#> [1] "2017-09-17"
    +#> [1] "2017-10-05"
     
     days_hence(7)  # equivalent to lubridate::today() + lubridate::days(7)
    -#> [1] "2017-10-01"
    +#> [1] "2017-10-19"

    @@ -114,6 +114,7 @@

    Developers

    diff --git a/docs/reference/days_ago.html b/docs/reference/days_ago.html index d3fce2a..b348584 100644 --- a/docs/reference/days_ago.html +++ b/docs/reference/days_ago.html @@ -110,7 +110,7 @@

    Value

    Examples

    -
    days_ago(3)
    #> [1] "2017-09-21"
    days_ago(1) == yesterday()
    #> [1] TRUE
    +
    days_ago(3)
    #> [1] "2017-10-09"
    days_ago(1) == yesterday()
    #> [1] TRUE