From f4b398d5541ef4116237fc63fbc88204d55ea497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Ver=C3=ADssimo?= <211358+averissimo@users.noreply.github.com> Date: Fri, 1 Nov 2024 16:39:13 +0000 Subject: [PATCH 1/2] chore: convert all datanames() instances to ls() or remove assignment --- R/utils.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/utils.R b/R/utils.R index 44d034fe..9fb7f213 100644 --- a/R/utils.R +++ b/R/utils.R @@ -177,7 +177,7 @@ convert_teal_data <- function(datasets) { }) } else if (is.reactive(datasets) && inherits(isolate(datasets()), "teal_data")) { sapply( - isolate(teal.data::datanames(datasets())), + isolate(ls(datasets())), function(dataname) { reactive(datasets()[[dataname]]) }, From 0dc58e4056dc3ffde51b03d5eb46e648e1f71e57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Ver=C3=ADssimo?= <211358+averissimo@users.noreply.github.com> Date: Tue, 5 Nov 2024 17:31:41 +0000 Subject: [PATCH 2/2] chore: ls() -> names() and bumps dependencies --- DESCRIPTION | 2 +- R/utils.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 5dc0fa97..26214175 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -31,7 +31,7 @@ Imports: shinyjs, shinyvalidate (>= 0.1.3), stats, - teal.data (>= 0.5.0), + teal.data (>= 0.6.0.9015), teal.logger (>= 0.1.3.9013), teal.widgets (>= 0.4.2), tidyr (>= 1.0.0), diff --git a/R/utils.R b/R/utils.R index 9fb7f213..21ba4956 100644 --- a/R/utils.R +++ b/R/utils.R @@ -177,7 +177,7 @@ convert_teal_data <- function(datasets) { }) } else if (is.reactive(datasets) && inherits(isolate(datasets()), "teal_data")) { sapply( - isolate(ls(datasets())), + isolate(names(datasets())), function(dataname) { reactive(datasets()[[dataname]]) },