From 57a6ca8e287d2036403e7e1641d3bdda5eef858b Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Sun, 17 Sep 2023 20:39:42 +0200 Subject: [PATCH] move all reexports to single location --- R/display.R | 10 ---------- R/print_md.R | 10 ---------- R/reexports.R | 8 ++++++++ man/reexports.Rd | 6 +++--- 4 files changed, 11 insertions(+), 23 deletions(-) diff --git a/R/display.R b/R/display.R index 036d28154..daaf4d249 100644 --- a/R/display.R +++ b/R/display.R @@ -223,13 +223,3 @@ display.equivalence_test_lm <- function(object, format = "markdown", digits = 2, display.parameters_distribution <- function(object, format = "markdown", digits = 2, ...) { print_md(x = object, digits = digits, ...) } - - - - - -# Reexports models ------------------------ - -#' @importFrom insight display -#' @export -insight::display diff --git a/R/print_md.R b/R/print_md.R index 264a42bef..9464a97e9 100644 --- a/R/print_md.R +++ b/R/print_md.R @@ -322,13 +322,3 @@ print_md.parameters_distribution <- function(x, digits = 2, ci_brackets = c("(", insight::export_table(formatted_table, format = "markdown", align = "firstleft", ...) } - - - - - -# Reexports models ------------------------ - -#' @importFrom insight print_md -#' @export -insight::print_md diff --git a/R/reexports.R b/R/reexports.R index ef37cd768..cae9aba95 100644 --- a/R/reexports.R +++ b/R/reexports.R @@ -12,6 +12,14 @@ insight::supported_models #' @export insight::print_html +#' @importFrom insight print_md +#' @export +insight::print_md + +#' @importFrom insight display +#' @export +insight::display + # ----------------------- datawizard ------------------------------------- #' @importFrom datawizard describe_distribution diff --git a/man/reexports.Rd b/man/reexports.Rd index 72dccd42e..362b172f6 100644 --- a/man/reexports.Rd +++ b/man/reexports.Rd @@ -1,10 +1,9 @@ % Generated by roxygen2: do not edit by hand -% Please edit documentation in R/display.R, R/equivalence_test.R, -% R/methods_bayestestR.R, R/n_parameters.R, R/print_md.R, R/reexports.R +% Please edit documentation in R/equivalence_test.R, R/methods_bayestestR.R, +% R/n_parameters.R, R/print_md.R, R/reexports.R \docType{import} \name{reexports} \alias{reexports} -\alias{display} \alias{equivalence_test} \alias{ci} \alias{n_parameters} @@ -12,6 +11,7 @@ \alias{standardize_names} \alias{supported_models} \alias{print_html} +\alias{display} \alias{describe_distribution} \alias{demean} \alias{rescale_weights}