Skip to content

Commit

Permalink
Put reexports in one place
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Sep 24, 2023
1 parent 9ae24b1 commit a16e1ad
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 28 deletions.
7 changes: 0 additions & 7 deletions R/print_html.R
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
# Reexports models ------------------------

#' @importFrom insight print_html
#' @export
insight::print_html


#' @export
print_html.describe_posterior <- function(x, digits = 2, caption = "Summary of Posterior Distribution", ...) {
.print_html_default(x = x, digits = digits, caption = caption, ...)
Expand Down
7 changes: 0 additions & 7 deletions R/print_md.R
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
# Reexports models ------------------------

#' @importFrom insight print_md
#' @export
insight::print_md


#' @export
print_md.describe_posterior <- function(x, digits = 2, caption = "Summary of Posterior Distribution", ...) {
.print_md_default(x = x, digits = digits, caption = caption, ...)
Expand Down
10 changes: 10 additions & 0 deletions R/reexports.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# DO NOT REMOVE
# Re-exported generics for which the current package defines S3 methods

#' @importFrom insight print_html
#' @export
insight::print_html

#' @importFrom insight print_md
#' @export
insight::print_md
18 changes: 5 additions & 13 deletions man/diagnostic_posterior.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/reexports.Rd

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

0 comments on commit a16e1ad

Please sign in to comment.