Skip to content

Commit

Permalink
chore: export get_join_keys method to support external calls
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhav committed Nov 7, 2023
1 parent 6be71cb commit cfa2be7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions R/tdata.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand All @@ -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)
}
Expand Down

0 comments on commit cfa2be7

Please sign in to comment.