From f6e825cfca068729e6673724ab43816ecd1ee061 Mon Sep 17 00:00:00 2001 From: "arsenij.ustjanzew" <arsenij.ustjanzew@mpi-bn.mpg.de> Date: Mon, 2 Mar 2020 14:52:06 +0100 Subject: [PATCH] export method add_vis-object --- R/vis_objects.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/R/vis_objects.R b/R/vis_objects.R index 0ac3237..2ceb3b7 100644 --- a/R/vis_objects.R +++ b/R/vis_objects.R @@ -5,6 +5,8 @@ #' @param package The name of the R package that defines the class(object). #' @param page The name of the page to add the object to. #' @param title An optional component title. +#' +#' @export add_vis_object <- function(dashboard, object, package, page = "default", title = NULL, ...){ sanitised_page <- i2dash:::.create_page_name(page) if (!(sanitised_page %in% names(dashboard@pages))) { -- GitLab