Skip to content

Commit

Permalink
Merge pull request #78 from sjmgarnier/develop
Browse files Browse the repository at this point in the history
Add unemployment data to package to avoid CRAN check error when origi…
  • Loading branch information
sjmgarnier authored May 4, 2021
2 parents b6ed31f + eadf840 commit 118a82e
Show file tree
Hide file tree
Showing 23 changed files with 336 additions and 46 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ README.md
^pkgdown$
^revdep$
cran-comments.md
^CRAN-RELEASE$
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: viridis
Type: Package
Title: Default Color Maps from 'matplotlib'
Version: 0.6.0
Title: Colorblind-Friendly Color Maps for R
Version: 0.6.1
Authors@R: c(
person("Simon", "Garnier", email = "garnier@njit.edu", role = c("aut", "cre")),
person("Noam", "Ross", email = "noam.ross@gmail.com", role = c("ctb", "cph")),
Expand Down Expand Up @@ -44,6 +44,7 @@ Suggests:
covr,
rmarkdown,
rgdal
LazyData: true
VignetteBuilder: knitr
URL: https://sjmgarnier.github.io/viridis/, https://github.com/sjmgarnier/viridis/
BugReports: https://github.com/sjmgarnier/viridis/issues
Expand Down
17 changes: 15 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
# viridisLite 0.4.0
# viridisLite 0.6.1

## New features

* N/A.

## Minor improvements and fixes

* Include unemployment data in package to avoid CRAN check errors when original
data is not accessible.

---

# viridisLite 0.6.0

## New features

Expand All @@ -8,4 +21,4 @@

* Minor bug fixes and improvements here and there.

---
---
20 changes: 20 additions & 0 deletions R/scales.R
Original file line number Diff line number Diff line change
Expand Up @@ -216,3 +216,23 @@ viridisLite::turbo
#' @importFrom viridisLite viridis.map
#' @export
viridisLite::viridis.map


#' @title USA Unemployment in 2009
#'
#' @description A data set containing the 2009 unemployment data in the USA by
#' county.
#'
#' @format A data frame with 3218 rows and 8 variables:
#' \describe{
#' \item{id}{the county ID number}
#' \item{state_fips}{the state FIPS number}
#' \item{county_fips}{the county FIPS number}
#' \item{name}{the county name}
#' \item{year}{the year}
#' \item{rate}{the unemployment rate}
#' \item{county}{the county abbreviated name}
#' \item{state}{the state acronym}
#' }
#' @source \url{http://datasets.flowingdata.com/unemployment09.csv}
"unemp"
Binary file added data/unemp.RData
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/404.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/LICENSE-text.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/articles/index.html

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

19 changes: 10 additions & 9 deletions docs/articles/intro-to-viridis.html

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

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions docs/authors.html

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

6 changes: 3 additions & 3 deletions docs/index.html

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

30 changes: 25 additions & 5 deletions docs/news/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/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pkgdown: 1.6.1
pkgdown_sha: ~
articles:
intro-to-viridis: intro-to-viridis.html
last_built: 2021-04-14T15:18Z
last_built: 2021-05-04T09:42Z
urls:
reference: https://sjmgarnier.github.io/viridis/reference
article: https://sjmgarnier.github.io/viridis/articles
Expand Down
8 changes: 7 additions & 1 deletion docs/reference/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/reexports.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/scale_viridis.html

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

Loading

0 comments on commit 118a82e

Please sign in to comment.