Gitlab Community Edition Instance

Skip to content
Snippets Groups Projects

Export method add_vis-object

Closed arsenij.ustjanzew requested to merge patch-2 into master
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
+ 2
0
@@ -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))) {
Loading