Skip to content

Commit 20aa28e

Browse files
committed
simplify namespace
1 parent 8f44d65 commit 20aa28e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

NAMESPACE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,3 @@ import(teal)
3232
import(teal.transform)
3333
importFrom(dplyr,"%>%")
3434
importFrom(lifecycle,deprecated)
35-
importFrom(utils,modifyList)

R/utils.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,6 @@ select_decorators <- function(decorators, scope) {
371371
#' it will only change `chunk_output` objects.
372372
#' @param inner_classes (`character`) classes within `chunk_output` that should be modified.
373373
#' This can be used to only change `recordedplot`, `ggplot2` or other type of objects.
374-
#' @importFrom utils modifyList
375374
#' @keywords internal
376375
set_chunk_attrs <- function(teal_card,
377376
attributes,
@@ -410,7 +409,7 @@ set_chunk_attrs <- function(teal_card,
410409
next
411410
}
412411

413-
attributes(teal_card[[current_ix]]) <- modifyList(
412+
attributes(teal_card[[current_ix]]) <- utils::modifyList(
414413
attributes(teal_card[[current_ix]]),
415414
attributes
416415
)

0 commit comments

Comments
 (0)