Skip to content

Commit

Permalink
Split up parameter documentation for r-lib/roxygen2#950
Browse files Browse the repository at this point in the history
  • Loading branch information
billdenney committed Feb 15, 2023
1 parent d336cb0 commit 97a2ec3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 3 additions & 2 deletions R/knit_print.gg.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
#'
#' @param x The plot object
#' @param ... Passed to \code{print}.
#' @param fig_prefix,fig_suffix Character strings passed to \code{cat} before
#' @param fig_prefix See \code{fig_suffix}
#' @param fig_suffix Character strings passed to \code{cat} before
#' and after printing \code{x} (if not missing).
#' @param filename Save the figure to the filename, if provided
#' @param width,height,units passed to \code{ggplot2::ggsave()}
Expand Down Expand Up @@ -62,7 +63,7 @@ knit_print.gg_list <- function(x, ..., filename=NULL, fig_suffix="\n\n") {
}

#' Make a gg_list object (a list of ggplots) for knit_printing
#'
#'
#' @param x The list
#' @return A gg_list object (just adding the class to the list)
#' @export
Expand Down
4 changes: 3 additions & 1 deletion man/knit_print.gg.Rd

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

3 changes: 3 additions & 0 deletions man/knit_print.gg_list.Rd

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

0 comments on commit 97a2ec3

Please sign in to comment.