Skip to content

Commit

Permalink
Merge pull request #5 from ellisvalentiner/Microbiology-patch-1
Browse files Browse the repository at this point in the history
Added author information.
  • Loading branch information
ellisvalentiner authored Oct 12, 2017
2 parents 50d337c + bc07d67 commit b6171f2
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 22 deletions.
8 changes: 6 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@ Package: lubridateExtras
Type: Package
Title: Convenience functions for the lubridate package
Version: 0.1.0
Authors@R: person("Ellis", "Valentiner", email = "[email protected]",
role = c("aut", "cre"))
Authors@R: c(
person("Ellis", "Valentiner", email = "[email protected]", role = c("aut", "cre")),
person("Geoffrey", "Hannigan", email = "[email protected]", role = c("ctb")))
Description: Provides extra functionality to lubridate. Largely consisting of
convenience functions.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Imports:
lubridate (>= 1.6.0)
Suggests:
knitr
Remotes:
tidyverse/lubridate
VignetteBuilder: knitr
RoxygenNote: 6.0.1
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/intro.html

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

4 changes: 4 additions & 0 deletions docs/authors.html

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

9 changes: 5 additions & 4 deletions docs/index.html

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

2 changes: 1 addition & 1 deletion docs/reference/days_ago.html

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

2 changes: 1 addition & 1 deletion docs/reference/days_hence.html

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

2 changes: 1 addition & 1 deletion docs/reference/tomorrow.html

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

2 changes: 1 addition & 1 deletion docs/reference/yesterday.html

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

2 changes: 1 addition & 1 deletion lubridateExtras.Rproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ StripTrailingWhitespace: Yes
BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageRoxygenize: rd,collate,namespace
PackageRoxygenize: rd,collate,namespace,vignette
14 changes: 8 additions & 6 deletions vignettes/intro.Rmd
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
---
title: "Introduction to lubridateExtras"
output: html_document
editor_options:
chunk_output_type: console
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Introduction to lubridateExtras}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---

```{r}
lubridateExtras provides functions to improve code readability and increase laziness.

```{r, eval=FALSE}
suppressPackageStartupMessages(library(dplyr))
suppressPackageStartupMessages(library(lubridate))
library(lubridateExtras)
```

lubridateExtras provides functions to improve code readability and increase laziness.

## Example

Suppose you want to review transactions from the past 7 days.
Expand Down

0 comments on commit b6171f2

Please sign in to comment.