Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
David Hodge committed Feb 15, 2022
1 parent 551d5e0 commit 176dea2
Show file tree
Hide file tree
Showing 20 changed files with 53 additions and 29 deletions.
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ Encoding: UTF-8
LazyData: true
Depends: R (>= 3.5.0)
Imports: dplyr, forcats, ggplot2, htmlwidgets, leaflet, leafem, leafpop,
lifecycle, lubridate, magrittr, palmerpenguins, plotly, purrr, rlang,
scales, sf, shiny, snakecase, stars, stringr, tidyr, tidyselect, viridis
Suggests: DT, glue, knitr, pals, patchwork, rgdal, rgeos, rmarkdown, s2,
shinycssloaders, tibble
lubridate, magrittr, plotly, purrr, rlang, scales, sf, shiny,
snakecase, stars, stringr, tidyr, tidyselect, viridis
Suggests: DT, glue, knitr, pals, palmerpenguins, patchwork, rgdal, rgeos,
rmarkdown, s2, shinycssloaders, tibble
RoxygenNote: 7.1.2
VignetteBuilder: knitr
6 changes: 5 additions & 1 deletion R/leaf_sf.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
#' @return A leaflet object.
#' @export
#' @examples
#' \dontrun{
#' leaf_sf(example_point)
#'
#' leaf_sf(example_polygon)
#' }
#'
leaf_sf <- function(data,
popup = TRUE,
Expand Down Expand Up @@ -252,6 +254,7 @@ leaf_sf <- function(data,
#' @return A leaflet object.
#' @export
#' @examples
#' \dontrun{
#' leaf_sf_col(example_point,
#' col_var = trend_category)
#'
Expand All @@ -277,7 +280,8 @@ leaf_sf <- function(data,
#' col_var = density,
#' col_method = "quantile",
#' col_cuts = c(0, 0.25, 0.5, 0.75, 0.95, 1))
#'
#' }
#'
leaf_sf_col <- function(data,
col_var,
label_var = NULL,
Expand Down
4 changes: 4 additions & 0 deletions R/leaf_stars.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
#' @return A leaflet object.
#' @export
#' @examples
#' \dontrun{
#' library(simplevis)
#'
#' leaf_stars(example_stars)
#' }
#'
leaf_stars <- function(data,
pal = pal_viridis_reorder(1),
Expand Down Expand Up @@ -96,11 +98,13 @@ leaf_stars <- function(data,
#' @return A leaflet object.
#' @export
#' @examples
#' \dontrun{
#' library(simplevis)
#'
#' leaf_stars_col(example_stars,
#' col_var = nitrate,
#' col_na_rm = TRUE)
#' }
#'
leaf_stars_col <- function(data,
col_var,
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/colour.html

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

16 changes: 8 additions & 8 deletions docs/articles/ggplotly.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/articles/leaflet.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/scales.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/shiny.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/simplevis.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/themes.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/titles.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 @@ -10,5 +10,5 @@ articles:
simplevis: simplevis.html
themes: themes.html
titles: titles.html
last_built: 2022-02-15T00:55Z
last_built: 2022-02-15T21:50Z

6 changes: 4 additions & 2 deletions docs/reference/leaf_sf.html

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

6 changes: 4 additions & 2 deletions docs/reference/leaf_sf_col.html

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

6 changes: 4 additions & 2 deletions docs/reference/leaf_stars.html

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

6 changes: 4 additions & 2 deletions docs/reference/leaf_stars_col.html

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

2 changes: 2 additions & 0 deletions man/leaf_sf.Rd

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

2 changes: 2 additions & 0 deletions man/leaf_sf_col.Rd

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

2 changes: 2 additions & 0 deletions man/leaf_stars.Rd

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

2 changes: 2 additions & 0 deletions man/leaf_stars_col.Rd

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

0 comments on commit 176dea2

Please sign in to comment.