Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repair vignettes. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@ LazyData: true
URL: http://github.com/ekothe/nzbabynames
BugReports: https://github.com/ekothe/nzbabynames/issues
Roxygen: list(markdown = TRUE)
RoxygenNote: 6.1.0
RoxygenNote: 7.1.2
Suggests:
knitr,
rmarkdown
rmarkdown,
dplyr,
gganimate,
ggplot2,
lubridate,
matrixStats,
stringr
VignetteBuilder: knitr
Depends:
R (>= 2.10)
1 change: 0 additions & 1 deletion R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#' \item{\code{sx}}{Proportion of age group x to x+5 surviving another 5 years}
#' \item{\code{qx}}{Probabilty a person who reaches that age dies within the age interval}
#' }

"life_tables"

#' nzbirths
Expand Down
6 changes: 4 additions & 2 deletions man/life_tables.Rd

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

6 changes: 4 additions & 2 deletions man/maorinames.Rd

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

6 changes: 4 additions & 2 deletions man/nzbabynames.Rd

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

6 changes: 4 additions & 2 deletions man/nzbirths.Rd

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

2 changes: 1 addition & 1 deletion vignettes/guess_the_age.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ output:
rmarkdown::html_vignette:
keep_md: yes
vignette: >
%\VignetteIndexEntry{Vignette Title}
%\VignetteIndexEntry{How to Tell Someone's Age When All You Know Is Her Name}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
Expand Down
6 changes: 3 additions & 3 deletions vignettes/popularity_over_time.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ author: "Emily Kothe"
date: "`r Sys.Date()`"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Vignette Title}
%\VignetteIndexEntry{Top 10 Names}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
Expand Down Expand Up @@ -73,7 +73,7 @@ time <- ggplot(names_top_female, aes(x = Rank, y = Count, fill = Name)) +
labs(title="{current_frame}") +
transition_manual(Year)

animate(time, duration=120)
animate(time, duration=100)
```

```{r}
Expand All @@ -92,6 +92,6 @@ time <- ggplot(names_top_male, aes(x = Rank, y = Count, fill = Name)) +
labs(title="{current_frame}") +
transition_manual(Year)

animate(time, duration=120)
animate(time, duration=100)
```