diff --git a/NAMESPACE b/NAMESPACE index 242ffaf984..51ae8f93df 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -2,6 +2,7 @@ S3method(c,teal_slices) S3method(get_code,tdata) +S3method(get_join_keys,default) S3method(get_join_keys,tdata) S3method(get_metadata,default) S3method(get_metadata,tdata) @@ -20,6 +21,7 @@ export(TealReportCard) export(as.teal_slices) export(example_module) export(get_code_tdata) +export(get_join_keys) export(get_metadata) export(init) export(landing_popup_module) diff --git a/R/tdata.R b/R/tdata.R index ecfc1abd15..5e027ff8e7 100644 --- a/R/tdata.R +++ b/R/tdata.R @@ -126,6 +126,7 @@ get_code_tdata <- function(data) { #' Temporary generic method till we support tdata. As `teal.data` deprecated the method #' @rdname get_join_keys #' @keywords internal +#' @export get_join_keys <- function(data) { UseMethod("get_join_keys", data) } @@ -143,6 +144,7 @@ get_join_keys.tdata <- function(data) { #' @param data object to extract the join keys from #' @rdname get_join_keys #' @keywords internal +#' @export get_join_keys.default <- function(data) { teal.data::get_join_keys(data) }