Skip to content

Commit

Permalink
fix Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunuuuu committed Sep 17, 2024
1 parent 45f6b89 commit 9a2527e
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 25 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

* add `patch` method for `gList`, `function`, `recordedplot`, `trellis`, `pheatmap`, `Heatmap`, `HeatmapAnnotation`, and `HeatmapList`

* fix a bud in `wrap()` function where duplicated names in gtable cause some grobs missing
* fix a bug in `wrap()` function where duplicated names in gtable cause some grobs missing

* new `free_vp()` function to customize the viewport when aligning.

Expand Down
5 changes: 3 additions & 2 deletions R/alignpatch-title.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
#' titles to each border of the plot: top, left, bottom, and right.
#'
#' @details
#' You can also use [labs()][ggplot2::labs] to specify titles for the top, left,
#' bottom, and right borders of the plot.
#' You can also use [labs()][ggplot2::labs] to specify the titles (use arguments
#' `r rd_values(.TLBR)`) for the top, left, bottom, and right borders of the
#' plot.
#'
#' The appearance and alignment of these patch titles can be customized using
#' [theme()][ggplot2::theme]:
Expand Down
2 changes: 1 addition & 1 deletion R/utils-rd.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
rd_values <- function(x, quote = TRUE, code = TRUE, sep = ",", final = "and") {
rd_values <- function(x, quote = TRUE, code = TRUE, sep = ", ", final = "and") {
if (quote) x <- paste0("\"", x, "\"")
if (code) x <- paste0("`", x, "`")
oxford_comma(x, sep = sep, final = final)
Expand Down
4 changes: 2 additions & 2 deletions man/align.Rd

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

4 changes: 2 additions & 2 deletions man/align_dendro.Rd

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

4 changes: 2 additions & 2 deletions man/align_gg.Rd

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

4 changes: 2 additions & 2 deletions man/align_panel.Rd

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

2 changes: 1 addition & 1 deletion man/align_plots.Rd

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

8 changes: 4 additions & 4 deletions man/free.Rd

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

6 changes: 3 additions & 3 deletions man/hmanno.Rd

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

5 changes: 3 additions & 2 deletions man/patch_titles.Rd

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

6 changes: 3 additions & 3 deletions man/stack_active.Rd

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

0 comments on commit 9a2527e

Please sign in to comment.