File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,13 +33,10 @@ Thumbs.db
3333
3434# Package-specific
3535playground.R
36- CLAUDE.md
37- AGENTS.md
3836iris_plot.svg
3937scratch /
4038* .Rproj.user /
4139Rplots * .pdf
42- a.pdf
4340
4441# pkgdown local build (deployed from CI to gh-pages branch)
4542docs /
Original file line number Diff line number Diff line change @@ -315,16 +315,20 @@ mark_violin <- S7::new_generic(
315315# ' @param plot A plotit object
316316# ' @param mapping Optional new aesthetics
317317# ' @param data Optional sf data frame for this layer
318- # ' @param position Position adjustment.
318+ # ' @param position Position adjustment (ignored for sf layers) .
319319# ' @param rasterize If `TRUE`, rasterize via `ggrastr::rasterise()`.
320320# ' @param rasterize_dpi DPI for rasterization (default 300).
321321# ' @param rasterize_dev Graphics device for rasterization (default `"cairo"`).
322322# ' @param ... Other arguments passed to `geom_sf`
323323# ' @return Modified plotit object
324+ # ' @references
325+ # ' Vega-Lite: \href{https://vega.github.io/vega-lite/docs/geoshape.html}{Geoshape}
326+ # '
327+ # ' AntV G2: \href{https://g2.antv.antgroup.com/en/api/mark/geo-path}{GeoPath}
324328# ' @examples
325- # ' \dontrun {
326- # ' nc <- sf::st_read(system.file("shape/nc.shp", package = "sf"), quiet = TRUE)
327- # ' plotit(nc, encode(geometry = geometry)) |> mark_map()
329+ # ' if (requireNamespace("sf", quietly = TRUE)) {
330+ # ' nc <- sf::st_read(system.file("shape/nc.shp", package = "sf"), quiet = TRUE)
331+ # ' plotit(nc, encode(geometry = geometry)) |> mark_map()
328332# ' }
329333# ' @export
330334mark_map <- S7 :: new_generic(
Original file line number Diff line number Diff line change @@ -69,11 +69,14 @@ reference:
6969 desc : Combine multiple plots into layouts.
7070 contents :
7171 - starts_with("compose_")
72- - title : Theme & Export
73- desc : Style and save your plots.
72+ - title : Theme
73+ desc : Style your plots with built-in or custom themes .
7474 contents :
7575 - style
7676 - style_default
77+ - title : Export
78+ desc : Render and save your plots to files.
79+ contents :
7780 - export
7881
7982# Exclude from search, sitemap, and navbar.
You can’t perform that action at this time.
0 commit comments