Skip to content

Commit b61d944

Browse files
authored
Fixes missing imports (#784)
# Pull Request Fixes #783 There were a few missing imports that made the package unusable if we want to load functions with `box`.
1 parent 2d73acd commit b61d944

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

R/tm_variable_browser.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -907,9 +907,9 @@ render_tab_header <- function(dataset_name, output, data) {
907907
dataset_ui_id <- paste0("dataset_summary_", dataset_name)
908908
output[[dataset_ui_id]] <- renderText({
909909
df <- data()[[dataset_name]]
910-
join_keys <- join_keys(data())
910+
join_keys <- teal.data::join_keys(data())
911911
if (!is.null(join_keys)) {
912-
key <- join_keys(data())[dataset_name, dataset_name]
912+
key <- teal.data::join_keys(data())[dataset_name, dataset_name]
913913
} else {
914914
key <- NULL
915915
}
@@ -979,7 +979,7 @@ render_tab_table <- function(dataset_name, parent_dataname, output, data, input,
979979
# get icons proper for the data types
980980
icons <- vapply(df, function(x) class(x)[1L], character(1L))
981981

982-
join_keys <- join_keys(data())
982+
join_keys <- teal.data::join_keys(data())
983983
if (!is.null(join_keys)) {
984984
icons[intersect(join_keys[dataset_name, dataset_name], colnames(df))] <- "primary_key"
985985
}

0 commit comments

Comments
 (0)