Skip to content

Commit

Permalink
fix missing @examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mjskay committed Aug 12, 2023
1 parent b959692 commit 5aead64
Show file tree
Hide file tree
Showing 14 changed files with 226 additions and 565 deletions.
1 change: 1 addition & 0 deletions R/add_draws.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ globalVariables(".draw")
#' @author Matthew Kay
#' @seealso [add_predicted_draws()], [add_draws()]
#' @keywords manip
#' @examples
#' \dontrun{
#'
#' library(ggplot2)
Expand Down
1 change: 1 addition & 0 deletions R/density_bins.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#' @seealso See [add_predicted_draws()] and [stat_lineribbon()] for a better approach. These
#' functions may be deprecated in the future.
#' @keywords manip
#' @examples
#' \dontrun{
#'
#' library(ggplot2)
Expand Down
1 change: 1 addition & 0 deletions R/gather_emmeans_draws.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#' @author Matthew Kay
#' @seealso [emmeans::emmeans()]
#' @keywords manip
#' @examples
#' \dontrun{
#'
#' library(dplyr)
Expand Down
1 change: 1 addition & 0 deletions R/predicted_draws.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
#' @seealso [add_draws()] for the variant of these functions for use with packages that do not have
#' explicit support for these functions yet. See [spread_draws()] for manipulating posteriors directly.
#' @keywords manip
#' @examples
#' \dontrun{
#'
#' library(ggplot2)
Expand Down
1 change: 1 addition & 0 deletions R/predicted_rvars.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#' @seealso [add_predicted_draws()] for the analogous functions that use a long-data-frame-of-draws
#' format instead of a data-frame-of-`rvar`s format. See [spread_rvars()] for manipulating posteriors directly.
#' @keywords manip
#' @examples
#' \dontrun{
#'
#' library(ggplot2)
Expand Down
4 changes: 2 additions & 2 deletions R/recover_types.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ apply_prototypes = function(...) {
#' @aliases apply_prototypes
#' @seealso [spread_draws()], [gather_draws()], [compose_data()].
#' @keywords manip
#' @examplesIf requireNamespace("rstan", quietly = TRUE)
#' \donttest{
#' @examples
#' \dontrun{
#'
#' library(dplyr)
#' library(magrittr)
Expand Down
1 change: 1 addition & 0 deletions R/sample_draws.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#' @param draw The name of the column indexing the draws; default `".draw"`.
#' @author Matthew Kay
#' @keywords manip
#' @examples
#' \dontrun{
#'
#' library(ggplot2)
Expand Down
111 changes: 29 additions & 82 deletions man/add_draws.Rd

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

141 changes: 38 additions & 103 deletions man/add_predicted_draws.Rd

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

Loading

0 comments on commit 5aead64

Please sign in to comment.