diff --git a/R/vis_objects.R b/R/vis_objects.R index 0ac32374f4cbab484c3c64196406a2666cbee15b..2ceb3b7ff7838c25b56e7d2f8ce5e5554a6e7d1e 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))) {