Skip to content

Commit 8780e44

Browse files
committed
chore: fix minor r cmd check errors
1 parent 87945c3 commit 8780e44

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/tm_variable_browser.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ srv_variable_browser <- function(id,
493493
reactive({
494494
validation_checks()
495495
qenv <- teal.data::teal_data(plot = variable_plot_r()) |> teal.code::eval_code("plot")
496-
teal_card(qenv)[length(teal_card(qenv))]
496+
teal.reporter::teal_card(qenv)[length(teal.reporter::teal_card(qenv))]
497497
})
498498
})
499499
}

R/utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ set_chunk_attrs <- function(teal_card,
435435
set_chunk_dims <- function(pws, decorated_output_q, inner_classes = NULL) {
436436
checkmate::assert_list(pws)
437437
checkmate::assert_names(names(pws), must.include = "dim")
438-
assert_reactive(pws$dim)
438+
teal::assert_reactive(pws$dim)
439439
checkmate::assert_class(decorated_output_q, "reactive")
440440
checkmate::assert_character(inner_classes, null.ok = TRUE)
441441

0 commit comments

Comments
 (0)