diff --git a/R/geom-text-repel.R b/R/geom-text-repel.R index 907df72..42c4beb 100644 --- a/R/geom-text-repel.R +++ b/R/geom-text-repel.R @@ -82,7 +82,8 @@ #' Defaults to 0.5. #' @param max.iter Maximum number of iterations to try to resolve overlaps. #' Defaults to 10000. -#' @param max.overlaps Exclude text labels that overlap too many things. +#' @param max.overlaps Exclude text labels when they overlap too many other +#' things (other text labels or other data points). #' Defaults to 10. #' @param direction "both", "x", or "y" -- direction in which to adjust position of labels #' @param seed Random seed passed to \code{\link[base]{set.seed}}. Defaults to diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index fe0f3a0..9094b8b 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -5,7 +5,7 @@ articles: examples: examples.html ggrepel: ggrepel.html related-work: related-work.html -last_built: 2024-01-05T18:16Z +last_built: 2024-01-05T18:44Z urls: reference: https://ggrepel.slowkow.com/reference article: https://ggrepel.slowkow.com/articles diff --git a/docs/reference/Rplot001.png b/docs/reference/Rplot001.png index 8a2fcc1..2d0f67c 100644 Binary files a/docs/reference/Rplot001.png and b/docs/reference/Rplot001.png differ diff --git a/docs/reference/Rplot002.png b/docs/reference/Rplot002.png index 7bbd495..3b17ee3 100644 Binary files a/docs/reference/Rplot002.png and b/docs/reference/Rplot002.png differ diff --git a/docs/reference/Rplot004.png b/docs/reference/Rplot004.png index c96658e..a4cfc6d 100644 Binary files a/docs/reference/Rplot004.png and b/docs/reference/Rplot004.png differ diff --git a/docs/reference/geom_text_repel-1.png b/docs/reference/geom_text_repel-1.png index 911341c..afba2cf 100644 Binary files a/docs/reference/geom_text_repel-1.png and b/docs/reference/geom_text_repel-1.png differ diff --git a/docs/reference/geom_text_repel-2.png b/docs/reference/geom_text_repel-2.png index a0d60c7..4c542b8 100644 Binary files a/docs/reference/geom_text_repel-2.png and b/docs/reference/geom_text_repel-2.png differ diff --git a/docs/reference/position_nudge_repel-1.png b/docs/reference/position_nudge_repel-1.png index 203f4b8..69f9c7d 100644 Binary files a/docs/reference/position_nudge_repel-1.png and b/docs/reference/position_nudge_repel-1.png differ diff --git a/docs/reference/position_nudge_repel-2.png b/docs/reference/position_nudge_repel-2.png index 6533386..813b80a 100644 Binary files a/docs/reference/position_nudge_repel-2.png and b/docs/reference/position_nudge_repel-2.png differ diff --git a/docs/reference/position_nudge_repel-3.png b/docs/reference/position_nudge_repel-3.png index 3ccb321..d498808 100644 Binary files a/docs/reference/position_nudge_repel-3.png and b/docs/reference/position_nudge_repel-3.png differ diff --git a/docs/reference/position_nudge_repel-5.png b/docs/reference/position_nudge_repel-5.png index 1b2743f..bbf518b 100644 Binary files a/docs/reference/position_nudge_repel-5.png and b/docs/reference/position_nudge_repel-5.png differ diff --git a/justfile b/justfile index 16f703b..e89fb57 100644 --- a/justfile +++ b/justfile @@ -1,6 +1,9 @@ examples: R -e 'rmarkdown::render("vignettes/examples.Rmd"); beepr::beep()' +man: + R -e 'devtools::document()' + site: R -e 'pkgdown::build_site(); beepr::beep()' diff --git a/man/geom_text_repel.Rd b/man/geom_text_repel.Rd index 14ce044..f292f5b 100644 --- a/man/geom_text_repel.Rd +++ b/man/geom_text_repel.Rd @@ -130,7 +130,8 @@ Defaults to 0.5.} \item{max.iter}{Maximum number of iterations to try to resolve overlaps. Defaults to 10000.} -\item{max.overlaps}{Exclude text labels that overlap too many things. +\item{max.overlaps}{Exclude text labels when they overlap too many other +things (other text labels or other data points). Defaults to 10.} \item{nudge_x, nudge_y}{Horizontal and vertical adjustments to nudge the diff --git a/man/ggrepel.Rd b/man/ggrepel.Rd index b676ce0..c8d2c74 100644 --- a/man/ggrepel.Rd +++ b/man/ggrepel.Rd @@ -35,6 +35,7 @@ Please report issues and suggest improvements at Github: Useful links: \itemize{ + \item \url{https://ggrepel.slowkow.com/} \item \url{https://github.com/slowkow/ggrepel} \item Report bugs at \url{https://github.com/slowkow/ggrepel/issues} } @@ -61,6 +62,7 @@ Other contributors: \item MichaƂ Krassowski (\href{https://orcid.org/0000-0002-9638-7785}{ORCID}) [contributor] \item Michael Chirico (\href{https://orcid.org/0000-0003-0787-087X}{ORCID}) [contributor] \item Pedro Aphalo (\href{https://orcid.org/0000-0003-3385-972X}{ORCID}) [contributor] + \item Francis Barton [contributor] } }