diff --git a/main/404.html b/main/404.html index 20500dd28d..f97a791af9 100644 --- a/main/404.html +++ b/main/404.html @@ -25,7 +25,7 @@ teal - 0.14.0.9015 + 0.14.0.9016
app <- init( - data = teal_data( - dataset("IRIS", iris), - dataset("MTCARS", mtcars) - ), + data = teal_data(IRIS = iris, MTCARS = mtcars), modules = teal_example_module() ) @@ -230,10 +217,7 @@ Modify the declaration of teal: app <- init( - data = teal_data( - dataset("IRIS", iris), - dataset("MTCARS", mtcars) - ), + data = teal_data(IRIS = iris, MTCARS = mtcars), modules = example_module_with_reporting() ) @@ -285,10 +269,7 @@ Insert < This updated module is now ready to be launched: app <- init( - data = teal_data( - dataset("IRIS", iris), - dataset("MTCARS", mtcars) - ), + data = teal_data(IRIS = iris, MTCARS = mtcars), modules = example_module_with_reporting() ) @@ -348,10 +329,7 @@ Add content to the card} app <- init( - data = teal_data( - dataset("IRIS", iris), - dataset("MTCARS", mtcars) - ), + data = teal_data(IRIS = iris, MTCARS = mtcars), modules = example_module_with_reporting() ) @@ -425,7 +403,7 @@ Example table_q <- reactive({ req(input$nrow) - teal.code::new_qenv(tdata2env(data), code = get_code(data)) %>% + teal.code::new_qenv(tdata2env(data), code = get_code(data)) %>% teal.code::eval_code( substitute( result <- head(data, nrows), @@ -491,9 +469,12 @@ Example app <- init( data = teal_data( - dataset("AIR", airquality, code = "data(airquality); AIR <- airquality"), - dataset("IRIS", iris, code = "data(iris); IRIS <- iris"), - check = FALSE + AIR = airquality, + IRI = iris, + code = "data(airquality) + AIR <- airquality + data(iris) + IRIS <- iris" ), modules = list( example_reporter_module(label = "with Reporter"), diff --git a/main/articles/blueprint/actors.html b/main/articles/blueprint/actors.html index d0a9edd265..85191af16c 100644 --- a/main/articles/blueprint/actors.html +++ b/main/articles/blueprint/actors.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/dataflow.html b/main/articles/blueprint/dataflow.html index a939a668d5..c0039e4fdd 100644 --- a/main/articles/blueprint/dataflow.html +++ b/main/articles/blueprint/dataflow.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/ddl.html b/main/articles/blueprint/ddl.html index 76764a82be..db7baa9aaa 100644 --- a/main/articles/blueprint/ddl.html +++ b/main/articles/blueprint/ddl.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/filter_panel.html b/main/articles/blueprint/filter_panel.html index 589d784243..cfd0659e2a 100644 --- a/main/articles/blueprint/filter_panel.html +++ b/main/articles/blueprint/filter_panel.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/index.html b/main/articles/blueprint/index.html index e2ae6eb417..f644b52c62 100644 --- a/main/articles/blueprint/index.html +++ b/main/articles/blueprint/index.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/intro.html b/main/articles/blueprint/intro.html index db60236614..5dfe17fe4c 100644 --- a/main/articles/blueprint/intro.html +++ b/main/articles/blueprint/intro.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/module_encapsulation.html b/main/articles/blueprint/module_encapsulation.html index 1779cb682b..9c3fa8c2a3 100644 --- a/main/articles/blueprint/module_encapsulation.html +++ b/main/articles/blueprint/module_encapsulation.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/products_map.html b/main/articles/blueprint/products_map.html index 176bc95211..2c9f1cd36e 100644 --- a/main/articles/blueprint/products_map.html +++ b/main/articles/blueprint/products_map.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/qenv.html b/main/articles/blueprint/qenv.html index d9761cb801..f1fa9cacd9 100644 --- a/main/articles/blueprint/qenv.html +++ b/main/articles/blueprint/qenv.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/creating-custom-modules.html b/main/articles/creating-custom-modules.html index 3d5971bad3..908f16f56d 100644 --- a/main/articles/creating-custom-modules.html +++ b/main/articles/creating-custom-modules.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -255,7 +245,7 @@ A More Complicated Example id = "histogram_var", datasets = data, data_extract_spec = histogram_var, - join_keys = get_join_keys(data) + join_keys = get_join_keys(data) ) dataname <- reactive(extracted()$dataname) @@ -314,8 +304,8 @@ A More Complicated Example app <- init( data = teal_data( - dataset("IRIS", iris, code = "IRIS <- iris"), - check = TRUE + IRIS = iris, + code = "IRIS <- iris" ), modules = tm_histogram_example( label = "Simple Module", diff --git a/main/articles/filter-panel.html b/main/articles/filter-panel.html index a9056b3a2e..7674ad23ff 100644 --- a/main/articles/filter-panel.html +++ b/main/articles/filter-panel.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -154,8 +144,9 @@ app <- init( data = teal_data( - dataset("IRIS", iris, code = "IRIS <- iris"), - dataset("CARS", mtcars, code = "CARS <- mtcars") + IRIS = iris, CARS = mtcars, + code = "IRIS <- iris + CARS <- mtcars" ), modules = example_module(), filter = teal_slices( @@ -185,8 +176,9 @@ Filter panel respective to app <- init( data = teal_data( - dataset("IRIS", iris, code = "IRIS <- iris"), - dataset("CARS", mtcars, code = "CARS <- mtcars") + IRIS = iris, CARS = mtcars, + code = "IRIS <- iris + CARS <- mtcars" ), modules = modules( example_module(label = "all datasets"), diff --git a/main/articles/including-adam-data-in-teal.html b/main/articles/including-adam-data-in-teal.html index 25ff549d75..d08a5a5e6a 100644 --- a/main/articles/including-adam-data-in-teal.html +++ b/main/articles/including-adam-data-in-teal.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -200,68 +190,49 @@ Keys ) cdisc_data_obj <- cdisc_data( - cdisc_dataset( - dataname = "ADSL", - x = adsl, - code = ' + ADSL = adsl, ADTTE = adtte, + code = ' adsl <- data.frame( STUDYID = "study", USUBJID = 1:10, SEX = sample(c("F", "M"), 10, replace = TRUE), AGE = rpois(10, 40) - )' - ), - cdisc_dataset( - dataname = "ADTTE", - x = adtte, - code = ' + ) adtte <- rbind(adsl, adsl, adsl) adtte$PARAMCD <- rep(c("OS", "EFS", "PFS"), each = 10) adtte$AVAL <- c( - rnorm(10, mean = 700, sd = 200), - rnorm(10, mean = 400, sd = 100), - rnorm(10, mean = 450, sd = 200) + rnorm(10, mean = 700, sd = 200), # dummy OS level + rnorm(10, mean = 400, sd = 100), # dummy EFS level + rnorm(10, mean = 450, sd = 200) # dummy PFS level )' - ) ) class(cdisc_data_obj) -## [1] "TealData" "TealDataAbstract" "R6" +## [1] "teal_data" +## attr(,"package") +## [1] "teal.data" which is equivalent to: example_data <- cdisc_data( - cdisc_dataset( - dataname = "ADSL", - x = adsl, - code = ' + ADSL = adsl, ADTTE = adtte, + code = ' adsl <- data.frame( STUDYID = "study", USUBJID = 1:10, SEX = sample(c("F", "M"), 10, replace = TRUE), AGE = rpois(10, 40) - )', - keys = c("STUDYID", "USUBJID") - ), - cdisc_dataset( - dataname = "ADTTE", - x = adtte, - code = ' + ) adtte <- rbind(adsl, adsl, adsl) adtte$PARAMCD <- rep(c("OS", "EFS", "PFS"), each = 10) adtte$AVAL <- c( rnorm(10, mean = 700, sd = 200), rnorm(10, mean = 400, sd = 100), rnorm(10, mean = 450, sd = 200) - )', - keys = c("STUDYID", "USUBJID", "PARAMCD") - ), - join_keys = join_keys( - join_key("ADSL", "ADSL", c("STUDYID", "USUBJID")), - join_key("ADTTE", "ADTTE", c("USUBJID", "STUDYID", "PARAMCD")), - join_key("ADSL", "ADTTE", c("STUDYID", "USUBJID")) - ) + )' ) class(cdisc_data_obj) -## [1] "TealData" "TealDataAbstract" "R6" +## [1] "teal_data" +## attr(,"package") +## [1] "teal.data" The teal.data::join_keys function is used to specify keys: diff --git a/main/articles/including-general-data-in-teal.html b/main/articles/including-general-data-in-teal.html index 4d9aad58b1..fea475693b 100644 --- a/main/articles/including-general-data-in-teal.html +++ b/main/articles/including-general-data-in-teal.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -149,8 +139,9 @@ Introductionapp <- init( data = teal_data( - dataset("IRIS", iris, code = "IRIS <- iris"), - dataset("CARS", mtcars, code = "CARS <- mtcars") + IRIS = iris, CARS = mtcars, + code = "IRIS <- iris + CARS <- mtcars" ), modules = example_module() ) diff --git a/main/articles/including-mae-data-in-teal.html b/main/articles/including-mae-data-in-teal.html index f6d42c2856..1a84e5fc49 100644 --- a/main/articles/including-mae-data-in-teal.html +++ b/main/articles/including-mae-data-in-teal.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -153,10 +143,8 @@ Example Applicationlibrary(teal) utils::data(miniACC, package = "MultiAssayExperiment") -mae_d <- dataset("MAE", miniACC, metadata = list(type = "example")) - app <- init( - data = teal_data(mae_d), + data = teal_data(MAE = miniACC), modules = example_module() ) diff --git a/main/articles/index.html b/main/articles/index.html index dec7ba35de..838a27a968 100644 --- a/main/articles/index.html +++ b/main/articles/index.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/preprocessing-data.html b/main/articles/preprocessing-data.html index db924db4ae..b3ae8b780d 100644 --- a/main/articles/preprocessing-data.html +++ b/main/articles/preprocessing-data.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -142,7 +132,7 @@ Usage in teal appsIn a teal app providing the code in a copy-paste style is cumbersome and can lead to an out-of-sync situation where the code does not represent the preprocessing code anymore. We therefore use the -teal.data::get_code function to extract the preprocessing +teal.data::get_code function to extract the preprocessing code from the app.R file. The get_code function requires # tags to indicate which lines of code in app.R need be included in the preprocessing code. @@ -182,7 +172,10 @@ Usage in teal apps# <code app <- init( - data = teal_data(dataset("new_iris", new_iris), code = get_code(file = "app.R")), + data = teal_data( + new_iris = new_iris, + code = get_code(file = "app.R") + ), modules = example_module() ) @@ -209,8 +202,9 @@ Usage in teal apps# <code x <- init( - data = cdisc_data(cdisc_dataset("ADSL", adsl), - code = get_code("app.R", exclude_comments = TRUE, read_sources = TRUE), + data = cdisc_data( + ADSL = adsl, + code = get_code("app.R", exclude_comments = TRUE, read_sources = TRUE), check = TRUE ), modules = example_module(), diff --git a/main/articles/teal-bs-themes.html b/main/articles/teal-bs-themes.html index 874abde062..00fed06080 100644 --- a/main/articles/teal-bs-themes.html +++ b/main/articles/teal-bs-themes.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -280,9 +270,7 @@ Interactive Theming Guidelibrary(teal) app <- init( - data = teal_data( - dataset("IRIS", iris) # nolint - ), + data = teal_data(IRIS = iris), # nolint filter = list(IRIS = list(Sepal.Length = c(5, 7))), modules = list(example_module(), example_module()), header = "My first teal application" diff --git a/main/articles/teal-options.html b/main/articles/teal-options.html index 44f45ab606..8205ba7122 100644 --- a/main/articles/teal-options.html +++ b/main/articles/teal-options.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/teal.html b/main/articles/teal.html index 69b69df7d4..a8c7ee97cc 100644 --- a/main/articles/teal.html +++ b/main/articles/teal.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -168,10 +158,7 @@ Your first teal application:library(teal) app <- init( - data = teal_data( - dataset("IRIS", iris), - dataset("MTCARS", mtcars) - ), + data = teal_data(IRIS = iris, MTCARS = mtcars), modules = example_module(), header = "My first teal application" ) diff --git a/main/authors.html b/main/authors.html index ad7bf5505d..614fe9aca2 100644 --- a/main/authors.html +++ b/main/authors.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/index.html b/main/index.html index b02b248c2a..11c755e6b2 100644 --- a/main/index.html +++ b/main/index.html @@ -33,7 +33,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -87,16 +87,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/news/index.html b/main/news/index.html index 1eec1a94b3..57adf679d5 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -101,9 +91,9 @@ Features -teal 0.14.0.9015 +teal 0.14.0.9016 -Miscellaneous +Miscellaneous Enhanced a module validation checks so that it won’t throw messages about data argument unnecessarily. Removed Report previewer module from mapping matrix display in filter manager. Added internal functions for storing and restoring of teal_slices objects. diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 62786d7b91..582b6b0c1c 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -21,7 +21,7 @@ articles: teal-bs-themes: teal-bs-themes.html teal-options: teal-options.html teal: teal.html -last_built: 2023-10-25T14:27Z +last_built: 2023-10-30T17:54Z urls: reference: https://insightsengineering.github.io/teal/reference article: https://insightsengineering.github.io/teal/articles diff --git a/main/pull_request_template.html b/main/pull_request_template.html index 8f5dd9991c..5615cd68ae 100644 --- a/main/pull_request_template.html +++ b/main/pull_request_template.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/TealReportCard.html b/main/reference/TealReportCard.html index 1c6e786bae..7a9a17445f 100644 --- a/main/reference/TealReportCard.html +++ b/main/reference/TealReportCard.html @@ -18,7 +18,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -71,16 +71,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/TealSlicesBlock.html b/main/reference/TealSlicesBlock.html index fdb2eb02aa..eb65dfa4d3 100644 --- a/main/reference/TealSlicesBlock.html +++ b/main/reference/TealSlicesBlock.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/append_module.html b/main/reference/append_module.html index c46a718d8c..2e505cfffa 100644 --- a/main/reference/append_module.html +++ b/main/reference/append_module.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/calculate_hashes.html b/main/reference/calculate_hashes.html index 361229ccfa..be4ba728c1 100644 --- a/main/reference/calculate_hashes.html +++ b/main/reference/calculate_hashes.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/deep_copy_filter.html b/main/reference/deep_copy_filter.html index 1c801183fc..cc3a5cd700 100644 --- a/main/reference/deep_copy_filter.html +++ b/main/reference/deep_copy_filter.html @@ -16,7 +16,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -69,16 +69,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/dot-datasets_to_data.html b/main/reference/dot-datasets_to_data.html index 8a9fc04b9d..d76a13068a 100644 --- a/main/reference/dot-datasets_to_data.html +++ b/main/reference/dot-datasets_to_data.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/example_cdisc_data.html b/main/reference/example_cdisc_data.html index 9e7d583dd1..fe048b7358 100644 --- a/main/reference/example_cdisc_data.html +++ b/main/reference/example_cdisc_data.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/example_datasets.html b/main/reference/example_datasets.html index d6d093d32d..a31544016c 100644 --- a/main/reference/example_datasets.html +++ b/main/reference/example_datasets.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/example_module.html b/main/reference/example_module.html index 4bbf83b7ef..a2b4b76727 100644 --- a/main/reference/example_module.html +++ b/main/reference/example_module.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -141,6 +131,10 @@ Examples ), modules = example_module() ) +#> Warning: The `data_objects` argument of `teal_data()` should use data directly. Using +#> TealDatasetConnector and TealDataset is deprecated. Find more information on +#> https://github.com/insightsengineering/teal/discussions/945 as of teal.data +#> 0.3.1. if (interactive()) { shinyApp(app$ui, app$server) } diff --git a/main/reference/example_modules.html b/main/reference/example_modules.html index e3f28f4543..4d03cfe170 100644 --- a/main/reference/example_modules.html +++ b/main/reference/example_modules.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/filter_calls_module.html b/main/reference/filter_calls_module.html index 9302a4cc2b..9c2ef95ef5 100644 --- a/main/reference/filter_calls_module.html +++ b/main/reference/filter_calls_module.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/filter_manager_module_srv.html b/main/reference/filter_manager_module_srv.html index 2ba184882a..73d26bc804 100644 --- a/main/reference/filter_manager_module_srv.html +++ b/main/reference/filter_manager_module_srv.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_client_timezone.html b/main/reference/get_client_timezone.html index 0ba65a4390..75327f41e5 100644 --- a/main/reference/get_client_timezone.html +++ b/main/reference/get_client_timezone.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_code_tdata.html b/main/reference/get_code_tdata.html index 1203141a43..4af67fe284 100644 --- a/main/reference/get_code_tdata.html +++ b/main/reference/get_code_tdata.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_datasets_code.html b/main/reference/get_datasets_code.html index c503f8d239..a76fb083be 100644 --- a/main/reference/get_datasets_code.html +++ b/main/reference/get_datasets_code.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_join_keys.html b/main/reference/get_join_keys.html index 348fe99d3e..311f0f2c48 100644 --- a/main/reference/get_join_keys.html +++ b/main/reference/get_join_keys.html @@ -1,5 +1,5 @@ -Function to get join keys from a tdata object — get_join_keys • tealExtract JoinKeys from tdata — get_join_keys.tdata • teal @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -96,38 +86,27 @@ Features - Function to get join keys from a tdata object + Extract JoinKeys from tdata Source: R/tdata.R get_join_keys.Rd - Function to get join keys from a tdata object + Extract JoinKeys from tdata Usage - get_join_keys(data) - -# S3 method for tdata -get_join_keys(data) - -# S3 method for default -get_join_keys(data) + # S3 method for tdata +get_join_keys(data) Arguments data -tdata - object to extract the join keys +(tdata) object - - Value - - -Either JoinKeys object or NULL if no join keys - diff --git a/main/reference/get_metadata.html b/main/reference/get_metadata.html index c5e13e2623..24eec8afdf 100644 --- a/main/reference/get_metadata.html +++ b/main/reference/get_metadata.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_rcode_libraries.html b/main/reference/get_rcode_libraries.html index b676d9f6fb..700216077d 100644 --- a/main/reference/get_rcode_libraries.html +++ b/main/reference/get_rcode_libraries.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_teal_bs_theme.html b/main/reference/get_teal_bs_theme.html index 9abba03189..b7c092daf3 100644 --- a/main/reference/get_teal_bs_theme.html +++ b/main/reference/get_teal_bs_theme.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/include_css_files.html b/main/reference/include_css_files.html index 13c685ccc9..c5839983b3 100644 --- a/main/reference/include_css_files.html +++ b/main/reference/include_css_files.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/include_js_files.html b/main/reference/include_js_files.html index b322ce82a7..f7d236e470 100644 --- a/main/reference/include_js_files.html +++ b/main/reference/include_js_files.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/include_teal_css_js.html b/main/reference/include_teal_css_js.html index 628b42543c..d1ab450c16 100644 --- a/main/reference/include_teal_css_js.html +++ b/main/reference/include_teal_css_js.html @@ -18,7 +18,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -71,16 +71,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/index.html b/main/reference/index.html index a5bc27de6e..407185cb5b 100644 --- a/main/reference/index.html +++ b/main/reference/index.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -223,11 +213,6 @@ Functions for Module Developerstdata object - get_join_keys() - - Function to get join keys from a tdata object - - get_metadata() Function to get metadata from a tdata object diff --git a/main/reference/init.html b/main/reference/init.html index 7dc3da5f10..31d54960c0 100644 --- a/main/reference/init.html +++ b/main/reference/init.html @@ -20,7 +20,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -73,16 +73,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -137,7 +127,7 @@ Usage Arguments data (TealData or TealDataset or TealDatasetConnector or list or data.frame -or MultiAssayExperiment)R6 object as returned by teal.data::cdisc_data(), teal.data::teal_data(), +or MultiAssayExperiment, teal_data)R6 object as returned by teal.data::cdisc_data(), teal.data::teal_data(), teal.data::cdisc_dataset(), teal.data::dataset(), teal.data::dataset_connector() or teal.data::cdisc_dataset_connector() or a single data.frame or a MultiAssayExperiment or a list of the previous objects or function returning a named list. diff --git a/main/reference/is_arg_used.html b/main/reference/is_arg_used.html index b2d09f0309..d1bd461a0e 100644 --- a/main/reference/is_arg_used.html +++ b/main/reference/is_arg_used.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/landing_popup_module.html b/main/reference/landing_popup_module.html index e91875bcb2..dfb3d068a2 100644 --- a/main/reference/landing_popup_module.html +++ b/main/reference/landing_popup_module.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -159,7 +149,7 @@ Examples example_module() ) ) -#> [INFO] 2023-10-25 14:27:28.9447 pid:889 token:[] teal Initializing landing_popup_module +#> [INFO] 2023-10-30 17:54:23.4300 pid:881 token:[] teal Initializing landing_popup_module #> module "Landing Popup" server function takes no data so "datanames" will be ignored if (interactive()) { shinyApp(app1$ui, app1$server) @@ -185,7 +175,7 @@ Examples example_module() ) ) -#> [INFO] 2023-10-25 14:27:29.0210 pid:889 token:[] teal Initializing landing_popup_module +#> [INFO] 2023-10-30 17:54:23.5455 pid:881 token:[] teal Initializing landing_popup_module #> module "Landing Popup" server function takes no data so "datanames" will be ignored if (interactive()) { diff --git a/main/reference/matrix_to_mapping.html b/main/reference/matrix_to_mapping.html index e681e25d54..3cae80076b 100644 --- a/main/reference/matrix_to_mapping.html +++ b/main/reference/matrix_to_mapping.html @@ -16,7 +16,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -69,16 +69,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module.html b/main/reference/module.html index 8d9274b023..c155573011 100644 --- a/main/reference/module.html +++ b/main/reference/module.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_filter_manager.html b/main/reference/module_filter_manager.html index 86f7d7de8a..edc52e73f7 100644 --- a/main/reference/module_filter_manager.html +++ b/main/reference/module_filter_manager.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_filter_manager_modal.html b/main/reference/module_filter_manager_modal.html index 6cf23c5696..84c61625f3 100644 --- a/main/reference/module_filter_manager_modal.html +++ b/main/reference/module_filter_manager_modal.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_management.html b/main/reference/module_management.html index cbea9049a8..dccc79026b 100644 --- a/main/reference/module_management.html +++ b/main/reference/module_management.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_nested_tabs.html b/main/reference/module_nested_tabs.html index cfd18fde6c..d3f9f62794 100644 --- a/main/reference/module_nested_tabs.html +++ b/main/reference/module_nested_tabs.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_tabs_with_filters.html b/main/reference/module_tabs_with_filters.html index a1159c9a10..ba3eaf2f45 100644 --- a/main/reference/module_tabs_with_filters.html +++ b/main/reference/module_tabs_with_filters.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_teal.html b/main/reference/module_teal.html index f11bd91834..2dcb94b02f 100644 --- a/main/reference/module_teal.html +++ b/main/reference/module_teal.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -150,7 +140,7 @@ Arguments diff --git a/main/reference/modules.html b/main/reference/modules.html index dd1b0bb48a..ba4cd8ffde 100644 --- a/main/reference/modules.html +++ b/main/reference/modules.html @@ -18,7 +18,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -71,16 +71,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/modules_depth.html b/main/reference/modules_depth.html index dae6427507..31510f6bd7 100644 --- a/main/reference/modules_depth.html +++ b/main/reference/modules_depth.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/reexports.html b/main/reference/reexports.html index fb9ef531e7..2de23b43e2 100644 --- a/main/reference/reexports.html +++ b/main/reference/reexports.html @@ -32,7 +32,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -85,16 +85,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/report_card_template.html b/main/reference/report_card_template.html index 69b9b63639..efee9c2d00 100644 --- a/main/reference/report_card_template.html +++ b/main/reference/report_card_template.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/reporter_previewer_module.html b/main/reference/reporter_previewer_module.html index f3f1dad3ae..0af97b08fc 100644 --- a/main/reference/reporter_previewer_module.html +++ b/main/reference/reporter_previewer_module.html @@ -22,7 +22,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -75,16 +75,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/resolve_modules_datanames.html b/main/reference/resolve_modules_datanames.html new file mode 100644 index 0000000000..f8e1f51f05 --- /dev/null +++ b/main/reference/resolve_modules_datanames.html @@ -0,0 +1,143 @@ + +Resolve datanames for the modules — resolve_modules_datanames • teal + Skip to contents + + + + + teal + + 0.14.0.9016 + + part of + + + + + + + Get started + + + Reference + + + Articles + + Using teal + Filter Panel + Modifying a teal Application With R Options + Bootstrap Themes in teal + + Data in teal Apps + Using ADaM Data in teal Applications + Using General Data in teal Applications + Using MultiAssayExperiment data in teal Applications + Preprocessing Data + + Extending teal + Creating Custom Modules + Adding Support for Reporting to Custom Modules + + More articles... + + + + Technical Blueprint + + About Blueprint + Introduction + Actors + Data Flow + Product Map + Features + `qenv` + Filter Panel + Delayed Data Loading (DDL) + Module and Encapsulation + + + + Changelog + + + Reports + + Coverage report + Unit test report + + + + + + + + + + + + + + + + + + + Resolve datanames for the modules + Source: R/utils.R + resolve_modules_datanames.Rd + + + + Modifies module$datanames to include names of the parent dataset (taken from join_keys). +When datanames is set to "all" it is replaced with all available datasets names. + + + + Usage +
teal
app <- init( - data = teal_data( - dataset("IRIS", iris), - dataset("MTCARS", mtcars) - ), + data = teal_data(IRIS = iris, MTCARS = mtcars), modules = example_module_with_reporting() ) @@ -285,10 +269,7 @@ Insert < This updated module is now ready to be launched: app <- init( - data = teal_data( - dataset("IRIS", iris), - dataset("MTCARS", mtcars) - ), + data = teal_data(IRIS = iris, MTCARS = mtcars), modules = example_module_with_reporting() ) @@ -348,10 +329,7 @@ Add content to the card} app <- init( - data = teal_data( - dataset("IRIS", iris), - dataset("MTCARS", mtcars) - ), + data = teal_data(IRIS = iris, MTCARS = mtcars), modules = example_module_with_reporting() ) @@ -425,7 +403,7 @@ Example table_q <- reactive({ req(input$nrow) - teal.code::new_qenv(tdata2env(data), code = get_code(data)) %>% + teal.code::new_qenv(tdata2env(data), code = get_code(data)) %>% teal.code::eval_code( substitute( result <- head(data, nrows), @@ -491,9 +469,12 @@ Example app <- init( data = teal_data( - dataset("AIR", airquality, code = "data(airquality); AIR <- airquality"), - dataset("IRIS", iris, code = "data(iris); IRIS <- iris"), - check = FALSE + AIR = airquality, + IRI = iris, + code = "data(airquality) + AIR <- airquality + data(iris) + IRIS <- iris" ), modules = list( example_reporter_module(label = "with Reporter"), diff --git a/main/articles/blueprint/actors.html b/main/articles/blueprint/actors.html index d0a9edd265..85191af16c 100644 --- a/main/articles/blueprint/actors.html +++ b/main/articles/blueprint/actors.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/dataflow.html b/main/articles/blueprint/dataflow.html index a939a668d5..c0039e4fdd 100644 --- a/main/articles/blueprint/dataflow.html +++ b/main/articles/blueprint/dataflow.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/ddl.html b/main/articles/blueprint/ddl.html index 76764a82be..db7baa9aaa 100644 --- a/main/articles/blueprint/ddl.html +++ b/main/articles/blueprint/ddl.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/filter_panel.html b/main/articles/blueprint/filter_panel.html index 589d784243..cfd0659e2a 100644 --- a/main/articles/blueprint/filter_panel.html +++ b/main/articles/blueprint/filter_panel.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/index.html b/main/articles/blueprint/index.html index e2ae6eb417..f644b52c62 100644 --- a/main/articles/blueprint/index.html +++ b/main/articles/blueprint/index.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/intro.html b/main/articles/blueprint/intro.html index db60236614..5dfe17fe4c 100644 --- a/main/articles/blueprint/intro.html +++ b/main/articles/blueprint/intro.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/module_encapsulation.html b/main/articles/blueprint/module_encapsulation.html index 1779cb682b..9c3fa8c2a3 100644 --- a/main/articles/blueprint/module_encapsulation.html +++ b/main/articles/blueprint/module_encapsulation.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/products_map.html b/main/articles/blueprint/products_map.html index 176bc95211..2c9f1cd36e 100644 --- a/main/articles/blueprint/products_map.html +++ b/main/articles/blueprint/products_map.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/qenv.html b/main/articles/blueprint/qenv.html index d9761cb801..f1fa9cacd9 100644 --- a/main/articles/blueprint/qenv.html +++ b/main/articles/blueprint/qenv.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/creating-custom-modules.html b/main/articles/creating-custom-modules.html index 3d5971bad3..908f16f56d 100644 --- a/main/articles/creating-custom-modules.html +++ b/main/articles/creating-custom-modules.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -255,7 +245,7 @@ A More Complicated Example id = "histogram_var", datasets = data, data_extract_spec = histogram_var, - join_keys = get_join_keys(data) + join_keys = get_join_keys(data) ) dataname <- reactive(extracted()$dataname) @@ -314,8 +304,8 @@ A More Complicated Example app <- init( data = teal_data( - dataset("IRIS", iris, code = "IRIS <- iris"), - check = TRUE + IRIS = iris, + code = "IRIS <- iris" ), modules = tm_histogram_example( label = "Simple Module", diff --git a/main/articles/filter-panel.html b/main/articles/filter-panel.html index a9056b3a2e..7674ad23ff 100644 --- a/main/articles/filter-panel.html +++ b/main/articles/filter-panel.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -154,8 +144,9 @@ app <- init( data = teal_data( - dataset("IRIS", iris, code = "IRIS <- iris"), - dataset("CARS", mtcars, code = "CARS <- mtcars") + IRIS = iris, CARS = mtcars, + code = "IRIS <- iris + CARS <- mtcars" ), modules = example_module(), filter = teal_slices( @@ -185,8 +176,9 @@ Filter panel respective to app <- init( data = teal_data( - dataset("IRIS", iris, code = "IRIS <- iris"), - dataset("CARS", mtcars, code = "CARS <- mtcars") + IRIS = iris, CARS = mtcars, + code = "IRIS <- iris + CARS <- mtcars" ), modules = modules( example_module(label = "all datasets"), diff --git a/main/articles/including-adam-data-in-teal.html b/main/articles/including-adam-data-in-teal.html index 25ff549d75..d08a5a5e6a 100644 --- a/main/articles/including-adam-data-in-teal.html +++ b/main/articles/including-adam-data-in-teal.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -200,68 +190,49 @@ Keys ) cdisc_data_obj <- cdisc_data( - cdisc_dataset( - dataname = "ADSL", - x = adsl, - code = ' + ADSL = adsl, ADTTE = adtte, + code = ' adsl <- data.frame( STUDYID = "study", USUBJID = 1:10, SEX = sample(c("F", "M"), 10, replace = TRUE), AGE = rpois(10, 40) - )' - ), - cdisc_dataset( - dataname = "ADTTE", - x = adtte, - code = ' + ) adtte <- rbind(adsl, adsl, adsl) adtte$PARAMCD <- rep(c("OS", "EFS", "PFS"), each = 10) adtte$AVAL <- c( - rnorm(10, mean = 700, sd = 200), - rnorm(10, mean = 400, sd = 100), - rnorm(10, mean = 450, sd = 200) + rnorm(10, mean = 700, sd = 200), # dummy OS level + rnorm(10, mean = 400, sd = 100), # dummy EFS level + rnorm(10, mean = 450, sd = 200) # dummy PFS level )' - ) ) class(cdisc_data_obj) -## [1] "TealData" "TealDataAbstract" "R6" +## [1] "teal_data" +## attr(,"package") +## [1] "teal.data" which is equivalent to: example_data <- cdisc_data( - cdisc_dataset( - dataname = "ADSL", - x = adsl, - code = ' + ADSL = adsl, ADTTE = adtte, + code = ' adsl <- data.frame( STUDYID = "study", USUBJID = 1:10, SEX = sample(c("F", "M"), 10, replace = TRUE), AGE = rpois(10, 40) - )', - keys = c("STUDYID", "USUBJID") - ), - cdisc_dataset( - dataname = "ADTTE", - x = adtte, - code = ' + ) adtte <- rbind(adsl, adsl, adsl) adtte$PARAMCD <- rep(c("OS", "EFS", "PFS"), each = 10) adtte$AVAL <- c( rnorm(10, mean = 700, sd = 200), rnorm(10, mean = 400, sd = 100), rnorm(10, mean = 450, sd = 200) - )', - keys = c("STUDYID", "USUBJID", "PARAMCD") - ), - join_keys = join_keys( - join_key("ADSL", "ADSL", c("STUDYID", "USUBJID")), - join_key("ADTTE", "ADTTE", c("USUBJID", "STUDYID", "PARAMCD")), - join_key("ADSL", "ADTTE", c("STUDYID", "USUBJID")) - ) + )' ) class(cdisc_data_obj) -## [1] "TealData" "TealDataAbstract" "R6" +## [1] "teal_data" +## attr(,"package") +## [1] "teal.data" The teal.data::join_keys function is used to specify keys: diff --git a/main/articles/including-general-data-in-teal.html b/main/articles/including-general-data-in-teal.html index 4d9aad58b1..fea475693b 100644 --- a/main/articles/including-general-data-in-teal.html +++ b/main/articles/including-general-data-in-teal.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -149,8 +139,9 @@ Introductionapp <- init( data = teal_data( - dataset("IRIS", iris, code = "IRIS <- iris"), - dataset("CARS", mtcars, code = "CARS <- mtcars") + IRIS = iris, CARS = mtcars, + code = "IRIS <- iris + CARS <- mtcars" ), modules = example_module() ) diff --git a/main/articles/including-mae-data-in-teal.html b/main/articles/including-mae-data-in-teal.html index f6d42c2856..1a84e5fc49 100644 --- a/main/articles/including-mae-data-in-teal.html +++ b/main/articles/including-mae-data-in-teal.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -153,10 +143,8 @@ Example Applicationlibrary(teal) utils::data(miniACC, package = "MultiAssayExperiment") -mae_d <- dataset("MAE", miniACC, metadata = list(type = "example")) - app <- init( - data = teal_data(mae_d), + data = teal_data(MAE = miniACC), modules = example_module() ) diff --git a/main/articles/index.html b/main/articles/index.html index dec7ba35de..838a27a968 100644 --- a/main/articles/index.html +++ b/main/articles/index.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/preprocessing-data.html b/main/articles/preprocessing-data.html index db924db4ae..b3ae8b780d 100644 --- a/main/articles/preprocessing-data.html +++ b/main/articles/preprocessing-data.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -142,7 +132,7 @@ Usage in teal appsIn a teal app providing the code in a copy-paste style is cumbersome and can lead to an out-of-sync situation where the code does not represent the preprocessing code anymore. We therefore use the -teal.data::get_code function to extract the preprocessing +teal.data::get_code function to extract the preprocessing code from the app.R file. The get_code function requires # tags to indicate which lines of code in app.R need be included in the preprocessing code. @@ -182,7 +172,10 @@ Usage in teal apps# <code app <- init( - data = teal_data(dataset("new_iris", new_iris), code = get_code(file = "app.R")), + data = teal_data( + new_iris = new_iris, + code = get_code(file = "app.R") + ), modules = example_module() ) @@ -209,8 +202,9 @@ Usage in teal apps# <code x <- init( - data = cdisc_data(cdisc_dataset("ADSL", adsl), - code = get_code("app.R", exclude_comments = TRUE, read_sources = TRUE), + data = cdisc_data( + ADSL = adsl, + code = get_code("app.R", exclude_comments = TRUE, read_sources = TRUE), check = TRUE ), modules = example_module(), diff --git a/main/articles/teal-bs-themes.html b/main/articles/teal-bs-themes.html index 874abde062..00fed06080 100644 --- a/main/articles/teal-bs-themes.html +++ b/main/articles/teal-bs-themes.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -280,9 +270,7 @@ Interactive Theming Guidelibrary(teal) app <- init( - data = teal_data( - dataset("IRIS", iris) # nolint - ), + data = teal_data(IRIS = iris), # nolint filter = list(IRIS = list(Sepal.Length = c(5, 7))), modules = list(example_module(), example_module()), header = "My first teal application" diff --git a/main/articles/teal-options.html b/main/articles/teal-options.html index 44f45ab606..8205ba7122 100644 --- a/main/articles/teal-options.html +++ b/main/articles/teal-options.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/teal.html b/main/articles/teal.html index 69b69df7d4..a8c7ee97cc 100644 --- a/main/articles/teal.html +++ b/main/articles/teal.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -168,10 +158,7 @@ Your first teal application:library(teal) app <- init( - data = teal_data( - dataset("IRIS", iris), - dataset("MTCARS", mtcars) - ), + data = teal_data(IRIS = iris, MTCARS = mtcars), modules = example_module(), header = "My first teal application" ) diff --git a/main/authors.html b/main/authors.html index ad7bf5505d..614fe9aca2 100644 --- a/main/authors.html +++ b/main/authors.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/index.html b/main/index.html index b02b248c2a..11c755e6b2 100644 --- a/main/index.html +++ b/main/index.html @@ -33,7 +33,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -87,16 +87,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/news/index.html b/main/news/index.html index 1eec1a94b3..57adf679d5 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -101,9 +91,9 @@ Features -teal 0.14.0.9015 +teal 0.14.0.9016 -Miscellaneous +Miscellaneous Enhanced a module validation checks so that it won’t throw messages about data argument unnecessarily. Removed Report previewer module from mapping matrix display in filter manager. Added internal functions for storing and restoring of teal_slices objects. diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 62786d7b91..582b6b0c1c 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -21,7 +21,7 @@ articles: teal-bs-themes: teal-bs-themes.html teal-options: teal-options.html teal: teal.html -last_built: 2023-10-25T14:27Z +last_built: 2023-10-30T17:54Z urls: reference: https://insightsengineering.github.io/teal/reference article: https://insightsengineering.github.io/teal/articles diff --git a/main/pull_request_template.html b/main/pull_request_template.html index 8f5dd9991c..5615cd68ae 100644 --- a/main/pull_request_template.html +++ b/main/pull_request_template.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/TealReportCard.html b/main/reference/TealReportCard.html index 1c6e786bae..7a9a17445f 100644 --- a/main/reference/TealReportCard.html +++ b/main/reference/TealReportCard.html @@ -18,7 +18,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -71,16 +71,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/TealSlicesBlock.html b/main/reference/TealSlicesBlock.html index fdb2eb02aa..eb65dfa4d3 100644 --- a/main/reference/TealSlicesBlock.html +++ b/main/reference/TealSlicesBlock.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/append_module.html b/main/reference/append_module.html index c46a718d8c..2e505cfffa 100644 --- a/main/reference/append_module.html +++ b/main/reference/append_module.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/calculate_hashes.html b/main/reference/calculate_hashes.html index 361229ccfa..be4ba728c1 100644 --- a/main/reference/calculate_hashes.html +++ b/main/reference/calculate_hashes.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/deep_copy_filter.html b/main/reference/deep_copy_filter.html index 1c801183fc..cc3a5cd700 100644 --- a/main/reference/deep_copy_filter.html +++ b/main/reference/deep_copy_filter.html @@ -16,7 +16,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -69,16 +69,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/dot-datasets_to_data.html b/main/reference/dot-datasets_to_data.html index 8a9fc04b9d..d76a13068a 100644 --- a/main/reference/dot-datasets_to_data.html +++ b/main/reference/dot-datasets_to_data.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/example_cdisc_data.html b/main/reference/example_cdisc_data.html index 9e7d583dd1..fe048b7358 100644 --- a/main/reference/example_cdisc_data.html +++ b/main/reference/example_cdisc_data.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/example_datasets.html b/main/reference/example_datasets.html index d6d093d32d..a31544016c 100644 --- a/main/reference/example_datasets.html +++ b/main/reference/example_datasets.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/example_module.html b/main/reference/example_module.html index 4bbf83b7ef..a2b4b76727 100644 --- a/main/reference/example_module.html +++ b/main/reference/example_module.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -141,6 +131,10 @@ Examples ), modules = example_module() ) +#> Warning: The `data_objects` argument of `teal_data()` should use data directly. Using +#> TealDatasetConnector and TealDataset is deprecated. Find more information on +#> https://github.com/insightsengineering/teal/discussions/945 as of teal.data +#> 0.3.1. if (interactive()) { shinyApp(app$ui, app$server) } diff --git a/main/reference/example_modules.html b/main/reference/example_modules.html index e3f28f4543..4d03cfe170 100644 --- a/main/reference/example_modules.html +++ b/main/reference/example_modules.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/filter_calls_module.html b/main/reference/filter_calls_module.html index 9302a4cc2b..9c2ef95ef5 100644 --- a/main/reference/filter_calls_module.html +++ b/main/reference/filter_calls_module.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/filter_manager_module_srv.html b/main/reference/filter_manager_module_srv.html index 2ba184882a..73d26bc804 100644 --- a/main/reference/filter_manager_module_srv.html +++ b/main/reference/filter_manager_module_srv.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_client_timezone.html b/main/reference/get_client_timezone.html index 0ba65a4390..75327f41e5 100644 --- a/main/reference/get_client_timezone.html +++ b/main/reference/get_client_timezone.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_code_tdata.html b/main/reference/get_code_tdata.html index 1203141a43..4af67fe284 100644 --- a/main/reference/get_code_tdata.html +++ b/main/reference/get_code_tdata.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_datasets_code.html b/main/reference/get_datasets_code.html index c503f8d239..a76fb083be 100644 --- a/main/reference/get_datasets_code.html +++ b/main/reference/get_datasets_code.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_join_keys.html b/main/reference/get_join_keys.html index 348fe99d3e..311f0f2c48 100644 --- a/main/reference/get_join_keys.html +++ b/main/reference/get_join_keys.html @@ -1,5 +1,5 @@ -Function to get join keys from a tdata object — get_join_keys • tealExtract JoinKeys from tdata — get_join_keys.tdata • teal @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -96,38 +86,27 @@ Features - Function to get join keys from a tdata object + Extract JoinKeys from tdata Source: R/tdata.R get_join_keys.Rd - Function to get join keys from a tdata object + Extract JoinKeys from tdata Usage - get_join_keys(data) - -# S3 method for tdata -get_join_keys(data) - -# S3 method for default -get_join_keys(data) + # S3 method for tdata +get_join_keys(data) Arguments data -tdata - object to extract the join keys +(tdata) object - - Value - - -Either JoinKeys object or NULL if no join keys - diff --git a/main/reference/get_metadata.html b/main/reference/get_metadata.html index c5e13e2623..24eec8afdf 100644 --- a/main/reference/get_metadata.html +++ b/main/reference/get_metadata.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_rcode_libraries.html b/main/reference/get_rcode_libraries.html index b676d9f6fb..700216077d 100644 --- a/main/reference/get_rcode_libraries.html +++ b/main/reference/get_rcode_libraries.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_teal_bs_theme.html b/main/reference/get_teal_bs_theme.html index 9abba03189..b7c092daf3 100644 --- a/main/reference/get_teal_bs_theme.html +++ b/main/reference/get_teal_bs_theme.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/include_css_files.html b/main/reference/include_css_files.html index 13c685ccc9..c5839983b3 100644 --- a/main/reference/include_css_files.html +++ b/main/reference/include_css_files.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/include_js_files.html b/main/reference/include_js_files.html index b322ce82a7..f7d236e470 100644 --- a/main/reference/include_js_files.html +++ b/main/reference/include_js_files.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/include_teal_css_js.html b/main/reference/include_teal_css_js.html index 628b42543c..d1ab450c16 100644 --- a/main/reference/include_teal_css_js.html +++ b/main/reference/include_teal_css_js.html @@ -18,7 +18,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -71,16 +71,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/index.html b/main/reference/index.html index a5bc27de6e..407185cb5b 100644 --- a/main/reference/index.html +++ b/main/reference/index.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -223,11 +213,6 @@ Functions for Module Developerstdata object - get_join_keys() - - Function to get join keys from a tdata object - - get_metadata() Function to get metadata from a tdata object diff --git a/main/reference/init.html b/main/reference/init.html index 7dc3da5f10..31d54960c0 100644 --- a/main/reference/init.html +++ b/main/reference/init.html @@ -20,7 +20,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -73,16 +73,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -137,7 +127,7 @@ Usage Arguments data (TealData or TealDataset or TealDatasetConnector or list or data.frame -or MultiAssayExperiment)R6 object as returned by teal.data::cdisc_data(), teal.data::teal_data(), +or MultiAssayExperiment, teal_data)R6 object as returned by teal.data::cdisc_data(), teal.data::teal_data(), teal.data::cdisc_dataset(), teal.data::dataset(), teal.data::dataset_connector() or teal.data::cdisc_dataset_connector() or a single data.frame or a MultiAssayExperiment or a list of the previous objects or function returning a named list. diff --git a/main/reference/is_arg_used.html b/main/reference/is_arg_used.html index b2d09f0309..d1bd461a0e 100644 --- a/main/reference/is_arg_used.html +++ b/main/reference/is_arg_used.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/landing_popup_module.html b/main/reference/landing_popup_module.html index e91875bcb2..dfb3d068a2 100644 --- a/main/reference/landing_popup_module.html +++ b/main/reference/landing_popup_module.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -159,7 +149,7 @@ Examples example_module() ) ) -#> [INFO] 2023-10-25 14:27:28.9447 pid:889 token:[] teal Initializing landing_popup_module +#> [INFO] 2023-10-30 17:54:23.4300 pid:881 token:[] teal Initializing landing_popup_module #> module "Landing Popup" server function takes no data so "datanames" will be ignored if (interactive()) { shinyApp(app1$ui, app1$server) @@ -185,7 +175,7 @@ Examples example_module() ) ) -#> [INFO] 2023-10-25 14:27:29.0210 pid:889 token:[] teal Initializing landing_popup_module +#> [INFO] 2023-10-30 17:54:23.5455 pid:881 token:[] teal Initializing landing_popup_module #> module "Landing Popup" server function takes no data so "datanames" will be ignored if (interactive()) { diff --git a/main/reference/matrix_to_mapping.html b/main/reference/matrix_to_mapping.html index e681e25d54..3cae80076b 100644 --- a/main/reference/matrix_to_mapping.html +++ b/main/reference/matrix_to_mapping.html @@ -16,7 +16,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -69,16 +69,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module.html b/main/reference/module.html index 8d9274b023..c155573011 100644 --- a/main/reference/module.html +++ b/main/reference/module.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_filter_manager.html b/main/reference/module_filter_manager.html index 86f7d7de8a..edc52e73f7 100644 --- a/main/reference/module_filter_manager.html +++ b/main/reference/module_filter_manager.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_filter_manager_modal.html b/main/reference/module_filter_manager_modal.html index 6cf23c5696..84c61625f3 100644 --- a/main/reference/module_filter_manager_modal.html +++ b/main/reference/module_filter_manager_modal.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_management.html b/main/reference/module_management.html index cbea9049a8..dccc79026b 100644 --- a/main/reference/module_management.html +++ b/main/reference/module_management.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_nested_tabs.html b/main/reference/module_nested_tabs.html index cfd18fde6c..d3f9f62794 100644 --- a/main/reference/module_nested_tabs.html +++ b/main/reference/module_nested_tabs.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_tabs_with_filters.html b/main/reference/module_tabs_with_filters.html index a1159c9a10..ba3eaf2f45 100644 --- a/main/reference/module_tabs_with_filters.html +++ b/main/reference/module_tabs_with_filters.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_teal.html b/main/reference/module_teal.html index f11bd91834..2dcb94b02f 100644 --- a/main/reference/module_teal.html +++ b/main/reference/module_teal.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -150,7 +140,7 @@ Arguments diff --git a/main/reference/modules.html b/main/reference/modules.html index dd1b0bb48a..ba4cd8ffde 100644 --- a/main/reference/modules.html +++ b/main/reference/modules.html @@ -18,7 +18,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -71,16 +71,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/modules_depth.html b/main/reference/modules_depth.html index dae6427507..31510f6bd7 100644 --- a/main/reference/modules_depth.html +++ b/main/reference/modules_depth.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/reexports.html b/main/reference/reexports.html index fb9ef531e7..2de23b43e2 100644 --- a/main/reference/reexports.html +++ b/main/reference/reexports.html @@ -32,7 +32,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -85,16 +85,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/report_card_template.html b/main/reference/report_card_template.html index 69b9b63639..efee9c2d00 100644 --- a/main/reference/report_card_template.html +++ b/main/reference/report_card_template.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/reporter_previewer_module.html b/main/reference/reporter_previewer_module.html index f3f1dad3ae..0af97b08fc 100644 --- a/main/reference/reporter_previewer_module.html +++ b/main/reference/reporter_previewer_module.html @@ -22,7 +22,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -75,16 +75,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/resolve_modules_datanames.html b/main/reference/resolve_modules_datanames.html new file mode 100644 index 0000000000..f8e1f51f05 --- /dev/null +++ b/main/reference/resolve_modules_datanames.html @@ -0,0 +1,143 @@ + +Resolve datanames for the modules — resolve_modules_datanames • teal + Skip to contents + + + + + teal + + 0.14.0.9016 + + part of + + + + + + + Get started + + + Reference + + + Articles + + Using teal + Filter Panel + Modifying a teal Application With R Options + Bootstrap Themes in teal + + Data in teal Apps + Using ADaM Data in teal Applications + Using General Data in teal Applications + Using MultiAssayExperiment data in teal Applications + Preprocessing Data + + Extending teal + Creating Custom Modules + Adding Support for Reporting to Custom Modules + + More articles... + + + + Technical Blueprint + + About Blueprint + Introduction + Actors + Data Flow + Product Map + Features + `qenv` + Filter Panel + Delayed Data Loading (DDL) + Module and Encapsulation + + + + Changelog + + + Reports + + Coverage report + Unit test report + + + + + + + + + + + + + + + + + + + Resolve datanames for the modules + Source: R/utils.R + resolve_modules_datanames.Rd + + + + Modifies module$datanames to include names of the parent dataset (taken from join_keys). +When datanames is set to "all" it is replaced with all available datasets names. + + + + Usage +
This updated module is now ready to be launched:
app <- init( - data = teal_data( - dataset("IRIS", iris), - dataset("MTCARS", mtcars) - ), + data = teal_data(IRIS = iris, MTCARS = mtcars), modules = example_module_with_reporting() ) @@ -348,10 +329,7 @@ Add content to the card}
app <- init( - data = teal_data( - dataset("IRIS", iris), - dataset("MTCARS", mtcars) - ), + data = teal_data(IRIS = iris, MTCARS = mtcars), modules = example_module_with_reporting() ) @@ -425,7 +403,7 @@ Example table_q <- reactive({ req(input$nrow) - teal.code::new_qenv(tdata2env(data), code = get_code(data)) %>% + teal.code::new_qenv(tdata2env(data), code = get_code(data)) %>% teal.code::eval_code( substitute( result <- head(data, nrows), @@ -491,9 +469,12 @@ Example app <- init( data = teal_data( - dataset("AIR", airquality, code = "data(airquality); AIR <- airquality"), - dataset("IRIS", iris, code = "data(iris); IRIS <- iris"), - check = FALSE + AIR = airquality, + IRI = iris, + code = "data(airquality) + AIR <- airquality + data(iris) + IRIS <- iris" ), modules = list( example_reporter_module(label = "with Reporter"), diff --git a/main/articles/blueprint/actors.html b/main/articles/blueprint/actors.html index d0a9edd265..85191af16c 100644 --- a/main/articles/blueprint/actors.html +++ b/main/articles/blueprint/actors.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/dataflow.html b/main/articles/blueprint/dataflow.html index a939a668d5..c0039e4fdd 100644 --- a/main/articles/blueprint/dataflow.html +++ b/main/articles/blueprint/dataflow.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/ddl.html b/main/articles/blueprint/ddl.html index 76764a82be..db7baa9aaa 100644 --- a/main/articles/blueprint/ddl.html +++ b/main/articles/blueprint/ddl.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/filter_panel.html b/main/articles/blueprint/filter_panel.html index 589d784243..cfd0659e2a 100644 --- a/main/articles/blueprint/filter_panel.html +++ b/main/articles/blueprint/filter_panel.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/index.html b/main/articles/blueprint/index.html index e2ae6eb417..f644b52c62 100644 --- a/main/articles/blueprint/index.html +++ b/main/articles/blueprint/index.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/intro.html b/main/articles/blueprint/intro.html index db60236614..5dfe17fe4c 100644 --- a/main/articles/blueprint/intro.html +++ b/main/articles/blueprint/intro.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/module_encapsulation.html b/main/articles/blueprint/module_encapsulation.html index 1779cb682b..9c3fa8c2a3 100644 --- a/main/articles/blueprint/module_encapsulation.html +++ b/main/articles/blueprint/module_encapsulation.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/products_map.html b/main/articles/blueprint/products_map.html index 176bc95211..2c9f1cd36e 100644 --- a/main/articles/blueprint/products_map.html +++ b/main/articles/blueprint/products_map.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/blueprint/qenv.html b/main/articles/blueprint/qenv.html index d9761cb801..f1fa9cacd9 100644 --- a/main/articles/blueprint/qenv.html +++ b/main/articles/blueprint/qenv.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/creating-custom-modules.html b/main/articles/creating-custom-modules.html index 3d5971bad3..908f16f56d 100644 --- a/main/articles/creating-custom-modules.html +++ b/main/articles/creating-custom-modules.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -255,7 +245,7 @@ A More Complicated Example id = "histogram_var", datasets = data, data_extract_spec = histogram_var, - join_keys = get_join_keys(data) + join_keys = get_join_keys(data) ) dataname <- reactive(extracted()$dataname) @@ -314,8 +304,8 @@ A More Complicated Example app <- init( data = teal_data( - dataset("IRIS", iris, code = "IRIS <- iris"), - check = TRUE + IRIS = iris, + code = "IRIS <- iris" ), modules = tm_histogram_example( label = "Simple Module", diff --git a/main/articles/filter-panel.html b/main/articles/filter-panel.html index a9056b3a2e..7674ad23ff 100644 --- a/main/articles/filter-panel.html +++ b/main/articles/filter-panel.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -154,8 +144,9 @@ app <- init( data = teal_data( - dataset("IRIS", iris, code = "IRIS <- iris"), - dataset("CARS", mtcars, code = "CARS <- mtcars") + IRIS = iris, CARS = mtcars, + code = "IRIS <- iris + CARS <- mtcars" ), modules = example_module(), filter = teal_slices( @@ -185,8 +176,9 @@ Filter panel respective to app <- init( data = teal_data( - dataset("IRIS", iris, code = "IRIS <- iris"), - dataset("CARS", mtcars, code = "CARS <- mtcars") + IRIS = iris, CARS = mtcars, + code = "IRIS <- iris + CARS <- mtcars" ), modules = modules( example_module(label = "all datasets"), diff --git a/main/articles/including-adam-data-in-teal.html b/main/articles/including-adam-data-in-teal.html index 25ff549d75..d08a5a5e6a 100644 --- a/main/articles/including-adam-data-in-teal.html +++ b/main/articles/including-adam-data-in-teal.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -200,68 +190,49 @@ Keys ) cdisc_data_obj <- cdisc_data( - cdisc_dataset( - dataname = "ADSL", - x = adsl, - code = ' + ADSL = adsl, ADTTE = adtte, + code = ' adsl <- data.frame( STUDYID = "study", USUBJID = 1:10, SEX = sample(c("F", "M"), 10, replace = TRUE), AGE = rpois(10, 40) - )' - ), - cdisc_dataset( - dataname = "ADTTE", - x = adtte, - code = ' + ) adtte <- rbind(adsl, adsl, adsl) adtte$PARAMCD <- rep(c("OS", "EFS", "PFS"), each = 10) adtte$AVAL <- c( - rnorm(10, mean = 700, sd = 200), - rnorm(10, mean = 400, sd = 100), - rnorm(10, mean = 450, sd = 200) + rnorm(10, mean = 700, sd = 200), # dummy OS level + rnorm(10, mean = 400, sd = 100), # dummy EFS level + rnorm(10, mean = 450, sd = 200) # dummy PFS level )' - ) ) class(cdisc_data_obj) -## [1] "TealData" "TealDataAbstract" "R6" +## [1] "teal_data" +## attr(,"package") +## [1] "teal.data" which is equivalent to: example_data <- cdisc_data( - cdisc_dataset( - dataname = "ADSL", - x = adsl, - code = ' + ADSL = adsl, ADTTE = adtte, + code = ' adsl <- data.frame( STUDYID = "study", USUBJID = 1:10, SEX = sample(c("F", "M"), 10, replace = TRUE), AGE = rpois(10, 40) - )', - keys = c("STUDYID", "USUBJID") - ), - cdisc_dataset( - dataname = "ADTTE", - x = adtte, - code = ' + ) adtte <- rbind(adsl, adsl, adsl) adtte$PARAMCD <- rep(c("OS", "EFS", "PFS"), each = 10) adtte$AVAL <- c( rnorm(10, mean = 700, sd = 200), rnorm(10, mean = 400, sd = 100), rnorm(10, mean = 450, sd = 200) - )', - keys = c("STUDYID", "USUBJID", "PARAMCD") - ), - join_keys = join_keys( - join_key("ADSL", "ADSL", c("STUDYID", "USUBJID")), - join_key("ADTTE", "ADTTE", c("USUBJID", "STUDYID", "PARAMCD")), - join_key("ADSL", "ADTTE", c("STUDYID", "USUBJID")) - ) + )' ) class(cdisc_data_obj) -## [1] "TealData" "TealDataAbstract" "R6" +## [1] "teal_data" +## attr(,"package") +## [1] "teal.data" The teal.data::join_keys function is used to specify keys: diff --git a/main/articles/including-general-data-in-teal.html b/main/articles/including-general-data-in-teal.html index 4d9aad58b1..fea475693b 100644 --- a/main/articles/including-general-data-in-teal.html +++ b/main/articles/including-general-data-in-teal.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -149,8 +139,9 @@ Introductionapp <- init( data = teal_data( - dataset("IRIS", iris, code = "IRIS <- iris"), - dataset("CARS", mtcars, code = "CARS <- mtcars") + IRIS = iris, CARS = mtcars, + code = "IRIS <- iris + CARS <- mtcars" ), modules = example_module() ) diff --git a/main/articles/including-mae-data-in-teal.html b/main/articles/including-mae-data-in-teal.html index f6d42c2856..1a84e5fc49 100644 --- a/main/articles/including-mae-data-in-teal.html +++ b/main/articles/including-mae-data-in-teal.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -153,10 +143,8 @@ Example Applicationlibrary(teal) utils::data(miniACC, package = "MultiAssayExperiment") -mae_d <- dataset("MAE", miniACC, metadata = list(type = "example")) - app <- init( - data = teal_data(mae_d), + data = teal_data(MAE = miniACC), modules = example_module() ) diff --git a/main/articles/index.html b/main/articles/index.html index dec7ba35de..838a27a968 100644 --- a/main/articles/index.html +++ b/main/articles/index.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/preprocessing-data.html b/main/articles/preprocessing-data.html index db924db4ae..b3ae8b780d 100644 --- a/main/articles/preprocessing-data.html +++ b/main/articles/preprocessing-data.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -142,7 +132,7 @@ Usage in teal appsIn a teal app providing the code in a copy-paste style is cumbersome and can lead to an out-of-sync situation where the code does not represent the preprocessing code anymore. We therefore use the -teal.data::get_code function to extract the preprocessing +teal.data::get_code function to extract the preprocessing code from the app.R file. The get_code function requires # tags to indicate which lines of code in app.R need be included in the preprocessing code. @@ -182,7 +172,10 @@ Usage in teal apps# <code app <- init( - data = teal_data(dataset("new_iris", new_iris), code = get_code(file = "app.R")), + data = teal_data( + new_iris = new_iris, + code = get_code(file = "app.R") + ), modules = example_module() ) @@ -209,8 +202,9 @@ Usage in teal apps# <code x <- init( - data = cdisc_data(cdisc_dataset("ADSL", adsl), - code = get_code("app.R", exclude_comments = TRUE, read_sources = TRUE), + data = cdisc_data( + ADSL = adsl, + code = get_code("app.R", exclude_comments = TRUE, read_sources = TRUE), check = TRUE ), modules = example_module(), diff --git a/main/articles/teal-bs-themes.html b/main/articles/teal-bs-themes.html index 874abde062..00fed06080 100644 --- a/main/articles/teal-bs-themes.html +++ b/main/articles/teal-bs-themes.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -280,9 +270,7 @@ Interactive Theming Guidelibrary(teal) app <- init( - data = teal_data( - dataset("IRIS", iris) # nolint - ), + data = teal_data(IRIS = iris), # nolint filter = list(IRIS = list(Sepal.Length = c(5, 7))), modules = list(example_module(), example_module()), header = "My first teal application" diff --git a/main/articles/teal-options.html b/main/articles/teal-options.html index 44f45ab606..8205ba7122 100644 --- a/main/articles/teal-options.html +++ b/main/articles/teal-options.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/teal.html b/main/articles/teal.html index 69b69df7d4..a8c7ee97cc 100644 --- a/main/articles/teal.html +++ b/main/articles/teal.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -168,10 +158,7 @@ Your first teal application:library(teal) app <- init( - data = teal_data( - dataset("IRIS", iris), - dataset("MTCARS", mtcars) - ), + data = teal_data(IRIS = iris, MTCARS = mtcars), modules = example_module(), header = "My first teal application" ) diff --git a/main/authors.html b/main/authors.html index ad7bf5505d..614fe9aca2 100644 --- a/main/authors.html +++ b/main/authors.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/index.html b/main/index.html index b02b248c2a..11c755e6b2 100644 --- a/main/index.html +++ b/main/index.html @@ -33,7 +33,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -87,16 +87,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/news/index.html b/main/news/index.html index 1eec1a94b3..57adf679d5 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -101,9 +91,9 @@ Features -teal 0.14.0.9015 +teal 0.14.0.9016 -Miscellaneous +Miscellaneous Enhanced a module validation checks so that it won’t throw messages about data argument unnecessarily. Removed Report previewer module from mapping matrix display in filter manager. Added internal functions for storing and restoring of teal_slices objects. diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 62786d7b91..582b6b0c1c 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -21,7 +21,7 @@ articles: teal-bs-themes: teal-bs-themes.html teal-options: teal-options.html teal: teal.html -last_built: 2023-10-25T14:27Z +last_built: 2023-10-30T17:54Z urls: reference: https://insightsengineering.github.io/teal/reference article: https://insightsengineering.github.io/teal/articles diff --git a/main/pull_request_template.html b/main/pull_request_template.html index 8f5dd9991c..5615cd68ae 100644 --- a/main/pull_request_template.html +++ b/main/pull_request_template.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/TealReportCard.html b/main/reference/TealReportCard.html index 1c6e786bae..7a9a17445f 100644 --- a/main/reference/TealReportCard.html +++ b/main/reference/TealReportCard.html @@ -18,7 +18,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -71,16 +71,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/TealSlicesBlock.html b/main/reference/TealSlicesBlock.html index fdb2eb02aa..eb65dfa4d3 100644 --- a/main/reference/TealSlicesBlock.html +++ b/main/reference/TealSlicesBlock.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/append_module.html b/main/reference/append_module.html index c46a718d8c..2e505cfffa 100644 --- a/main/reference/append_module.html +++ b/main/reference/append_module.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/calculate_hashes.html b/main/reference/calculate_hashes.html index 361229ccfa..be4ba728c1 100644 --- a/main/reference/calculate_hashes.html +++ b/main/reference/calculate_hashes.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/deep_copy_filter.html b/main/reference/deep_copy_filter.html index 1c801183fc..cc3a5cd700 100644 --- a/main/reference/deep_copy_filter.html +++ b/main/reference/deep_copy_filter.html @@ -16,7 +16,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -69,16 +69,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/dot-datasets_to_data.html b/main/reference/dot-datasets_to_data.html index 8a9fc04b9d..d76a13068a 100644 --- a/main/reference/dot-datasets_to_data.html +++ b/main/reference/dot-datasets_to_data.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/example_cdisc_data.html b/main/reference/example_cdisc_data.html index 9e7d583dd1..fe048b7358 100644 --- a/main/reference/example_cdisc_data.html +++ b/main/reference/example_cdisc_data.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/example_datasets.html b/main/reference/example_datasets.html index d6d093d32d..a31544016c 100644 --- a/main/reference/example_datasets.html +++ b/main/reference/example_datasets.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/example_module.html b/main/reference/example_module.html index 4bbf83b7ef..a2b4b76727 100644 --- a/main/reference/example_module.html +++ b/main/reference/example_module.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -141,6 +131,10 @@ Examples ), modules = example_module() ) +#> Warning: The `data_objects` argument of `teal_data()` should use data directly. Using +#> TealDatasetConnector and TealDataset is deprecated. Find more information on +#> https://github.com/insightsengineering/teal/discussions/945 as of teal.data +#> 0.3.1. if (interactive()) { shinyApp(app$ui, app$server) } diff --git a/main/reference/example_modules.html b/main/reference/example_modules.html index e3f28f4543..4d03cfe170 100644 --- a/main/reference/example_modules.html +++ b/main/reference/example_modules.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/filter_calls_module.html b/main/reference/filter_calls_module.html index 9302a4cc2b..9c2ef95ef5 100644 --- a/main/reference/filter_calls_module.html +++ b/main/reference/filter_calls_module.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/filter_manager_module_srv.html b/main/reference/filter_manager_module_srv.html index 2ba184882a..73d26bc804 100644 --- a/main/reference/filter_manager_module_srv.html +++ b/main/reference/filter_manager_module_srv.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_client_timezone.html b/main/reference/get_client_timezone.html index 0ba65a4390..75327f41e5 100644 --- a/main/reference/get_client_timezone.html +++ b/main/reference/get_client_timezone.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_code_tdata.html b/main/reference/get_code_tdata.html index 1203141a43..4af67fe284 100644 --- a/main/reference/get_code_tdata.html +++ b/main/reference/get_code_tdata.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_datasets_code.html b/main/reference/get_datasets_code.html index c503f8d239..a76fb083be 100644 --- a/main/reference/get_datasets_code.html +++ b/main/reference/get_datasets_code.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_join_keys.html b/main/reference/get_join_keys.html index 348fe99d3e..311f0f2c48 100644 --- a/main/reference/get_join_keys.html +++ b/main/reference/get_join_keys.html @@ -1,5 +1,5 @@ -Function to get join keys from a tdata object — get_join_keys • tealExtract JoinKeys from tdata — get_join_keys.tdata • teal @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -96,38 +86,27 @@ Features - Function to get join keys from a tdata object + Extract JoinKeys from tdata Source: R/tdata.R get_join_keys.Rd - Function to get join keys from a tdata object + Extract JoinKeys from tdata Usage - get_join_keys(data) - -# S3 method for tdata -get_join_keys(data) - -# S3 method for default -get_join_keys(data) + # S3 method for tdata +get_join_keys(data) Arguments data -tdata - object to extract the join keys +(tdata) object - - Value - - -Either JoinKeys object or NULL if no join keys - diff --git a/main/reference/get_metadata.html b/main/reference/get_metadata.html index c5e13e2623..24eec8afdf 100644 --- a/main/reference/get_metadata.html +++ b/main/reference/get_metadata.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_rcode_libraries.html b/main/reference/get_rcode_libraries.html index b676d9f6fb..700216077d 100644 --- a/main/reference/get_rcode_libraries.html +++ b/main/reference/get_rcode_libraries.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_teal_bs_theme.html b/main/reference/get_teal_bs_theme.html index 9abba03189..b7c092daf3 100644 --- a/main/reference/get_teal_bs_theme.html +++ b/main/reference/get_teal_bs_theme.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/include_css_files.html b/main/reference/include_css_files.html index 13c685ccc9..c5839983b3 100644 --- a/main/reference/include_css_files.html +++ b/main/reference/include_css_files.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/include_js_files.html b/main/reference/include_js_files.html index b322ce82a7..f7d236e470 100644 --- a/main/reference/include_js_files.html +++ b/main/reference/include_js_files.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/include_teal_css_js.html b/main/reference/include_teal_css_js.html index 628b42543c..d1ab450c16 100644 --- a/main/reference/include_teal_css_js.html +++ b/main/reference/include_teal_css_js.html @@ -18,7 +18,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -71,16 +71,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/index.html b/main/reference/index.html index a5bc27de6e..407185cb5b 100644 --- a/main/reference/index.html +++ b/main/reference/index.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -223,11 +213,6 @@ Functions for Module Developerstdata object - get_join_keys() - - Function to get join keys from a tdata object - - get_metadata() Function to get metadata from a tdata object diff --git a/main/reference/init.html b/main/reference/init.html index 7dc3da5f10..31d54960c0 100644 --- a/main/reference/init.html +++ b/main/reference/init.html @@ -20,7 +20,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -73,16 +73,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -137,7 +127,7 @@ Usage Arguments data (TealData or TealDataset or TealDatasetConnector or list or data.frame -or MultiAssayExperiment)R6 object as returned by teal.data::cdisc_data(), teal.data::teal_data(), +or MultiAssayExperiment, teal_data)R6 object as returned by teal.data::cdisc_data(), teal.data::teal_data(), teal.data::cdisc_dataset(), teal.data::dataset(), teal.data::dataset_connector() or teal.data::cdisc_dataset_connector() or a single data.frame or a MultiAssayExperiment or a list of the previous objects or function returning a named list. diff --git a/main/reference/is_arg_used.html b/main/reference/is_arg_used.html index b2d09f0309..d1bd461a0e 100644 --- a/main/reference/is_arg_used.html +++ b/main/reference/is_arg_used.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/landing_popup_module.html b/main/reference/landing_popup_module.html index e91875bcb2..dfb3d068a2 100644 --- a/main/reference/landing_popup_module.html +++ b/main/reference/landing_popup_module.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -159,7 +149,7 @@ Examples example_module() ) ) -#> [INFO] 2023-10-25 14:27:28.9447 pid:889 token:[] teal Initializing landing_popup_module +#> [INFO] 2023-10-30 17:54:23.4300 pid:881 token:[] teal Initializing landing_popup_module #> module "Landing Popup" server function takes no data so "datanames" will be ignored if (interactive()) { shinyApp(app1$ui, app1$server) @@ -185,7 +175,7 @@ Examples example_module() ) ) -#> [INFO] 2023-10-25 14:27:29.0210 pid:889 token:[] teal Initializing landing_popup_module +#> [INFO] 2023-10-30 17:54:23.5455 pid:881 token:[] teal Initializing landing_popup_module #> module "Landing Popup" server function takes no data so "datanames" will be ignored if (interactive()) { diff --git a/main/reference/matrix_to_mapping.html b/main/reference/matrix_to_mapping.html index e681e25d54..3cae80076b 100644 --- a/main/reference/matrix_to_mapping.html +++ b/main/reference/matrix_to_mapping.html @@ -16,7 +16,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -69,16 +69,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module.html b/main/reference/module.html index 8d9274b023..c155573011 100644 --- a/main/reference/module.html +++ b/main/reference/module.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_filter_manager.html b/main/reference/module_filter_manager.html index 86f7d7de8a..edc52e73f7 100644 --- a/main/reference/module_filter_manager.html +++ b/main/reference/module_filter_manager.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_filter_manager_modal.html b/main/reference/module_filter_manager_modal.html index 6cf23c5696..84c61625f3 100644 --- a/main/reference/module_filter_manager_modal.html +++ b/main/reference/module_filter_manager_modal.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_management.html b/main/reference/module_management.html index cbea9049a8..dccc79026b 100644 --- a/main/reference/module_management.html +++ b/main/reference/module_management.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_nested_tabs.html b/main/reference/module_nested_tabs.html index cfd18fde6c..d3f9f62794 100644 --- a/main/reference/module_nested_tabs.html +++ b/main/reference/module_nested_tabs.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_tabs_with_filters.html b/main/reference/module_tabs_with_filters.html index a1159c9a10..ba3eaf2f45 100644 --- a/main/reference/module_tabs_with_filters.html +++ b/main/reference/module_tabs_with_filters.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_teal.html b/main/reference/module_teal.html index f11bd91834..2dcb94b02f 100644 --- a/main/reference/module_teal.html +++ b/main/reference/module_teal.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -150,7 +140,7 @@ Arguments diff --git a/main/reference/modules.html b/main/reference/modules.html index dd1b0bb48a..ba4cd8ffde 100644 --- a/main/reference/modules.html +++ b/main/reference/modules.html @@ -18,7 +18,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -71,16 +71,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/modules_depth.html b/main/reference/modules_depth.html index dae6427507..31510f6bd7 100644 --- a/main/reference/modules_depth.html +++ b/main/reference/modules_depth.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/reexports.html b/main/reference/reexports.html index fb9ef531e7..2de23b43e2 100644 --- a/main/reference/reexports.html +++ b/main/reference/reexports.html @@ -32,7 +32,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -85,16 +85,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/report_card_template.html b/main/reference/report_card_template.html index 69b9b63639..efee9c2d00 100644 --- a/main/reference/report_card_template.html +++ b/main/reference/report_card_template.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/reporter_previewer_module.html b/main/reference/reporter_previewer_module.html index f3f1dad3ae..0af97b08fc 100644 --- a/main/reference/reporter_previewer_module.html +++ b/main/reference/reporter_previewer_module.html @@ -22,7 +22,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -75,16 +75,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/resolve_modules_datanames.html b/main/reference/resolve_modules_datanames.html new file mode 100644 index 0000000000..f8e1f51f05 --- /dev/null +++ b/main/reference/resolve_modules_datanames.html @@ -0,0 +1,143 @@ + +Resolve datanames for the modules — resolve_modules_datanames • teal + Skip to contents + + + + + teal + + 0.14.0.9016 + + part of + + + + + + + Get started + + + Reference + + + Articles + + Using teal + Filter Panel + Modifying a teal Application With R Options + Bootstrap Themes in teal + + Data in teal Apps + Using ADaM Data in teal Applications + Using General Data in teal Applications + Using MultiAssayExperiment data in teal Applications + Preprocessing Data + + Extending teal + Creating Custom Modules + Adding Support for Reporting to Custom Modules + + More articles... + + + + Technical Blueprint + + About Blueprint + Introduction + Actors + Data Flow + Product Map + Features + `qenv` + Filter Panel + Delayed Data Loading (DDL) + Module and Encapsulation + + + + Changelog + + + Reports + + Coverage report + Unit test report + + + + + + + + + + + + + + + + + + + Resolve datanames for the modules + Source: R/utils.R + resolve_modules_datanames.Rd + + + + Modifies module$datanames to include names of the parent dataset (taken from join_keys). +When datanames is set to "all" it is replaced with all available datasets names. + + + + Usage +
app <- init( data = teal_data( - dataset("IRIS", iris, code = "IRIS <- iris"), - dataset("CARS", mtcars, code = "CARS <- mtcars") + IRIS = iris, CARS = mtcars, + code = "IRIS <- iris + CARS <- mtcars" ), modules = modules( example_module(label = "all datasets"), diff --git a/main/articles/including-adam-data-in-teal.html b/main/articles/including-adam-data-in-teal.html index 25ff549d75..d08a5a5e6a 100644 --- a/main/articles/including-adam-data-in-teal.html +++ b/main/articles/including-adam-data-in-teal.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -200,68 +190,49 @@ Keys ) cdisc_data_obj <- cdisc_data( - cdisc_dataset( - dataname = "ADSL", - x = adsl, - code = ' + ADSL = adsl, ADTTE = adtte, + code = ' adsl <- data.frame( STUDYID = "study", USUBJID = 1:10, SEX = sample(c("F", "M"), 10, replace = TRUE), AGE = rpois(10, 40) - )' - ), - cdisc_dataset( - dataname = "ADTTE", - x = adtte, - code = ' + ) adtte <- rbind(adsl, adsl, adsl) adtte$PARAMCD <- rep(c("OS", "EFS", "PFS"), each = 10) adtte$AVAL <- c( - rnorm(10, mean = 700, sd = 200), - rnorm(10, mean = 400, sd = 100), - rnorm(10, mean = 450, sd = 200) + rnorm(10, mean = 700, sd = 200), # dummy OS level + rnorm(10, mean = 400, sd = 100), # dummy EFS level + rnorm(10, mean = 450, sd = 200) # dummy PFS level )' - ) ) class(cdisc_data_obj) -## [1] "TealData" "TealDataAbstract" "R6" +## [1] "teal_data" +## attr(,"package") +## [1] "teal.data" which is equivalent to: example_data <- cdisc_data( - cdisc_dataset( - dataname = "ADSL", - x = adsl, - code = ' + ADSL = adsl, ADTTE = adtte, + code = ' adsl <- data.frame( STUDYID = "study", USUBJID = 1:10, SEX = sample(c("F", "M"), 10, replace = TRUE), AGE = rpois(10, 40) - )', - keys = c("STUDYID", "USUBJID") - ), - cdisc_dataset( - dataname = "ADTTE", - x = adtte, - code = ' + ) adtte <- rbind(adsl, adsl, adsl) adtte$PARAMCD <- rep(c("OS", "EFS", "PFS"), each = 10) adtte$AVAL <- c( rnorm(10, mean = 700, sd = 200), rnorm(10, mean = 400, sd = 100), rnorm(10, mean = 450, sd = 200) - )', - keys = c("STUDYID", "USUBJID", "PARAMCD") - ), - join_keys = join_keys( - join_key("ADSL", "ADSL", c("STUDYID", "USUBJID")), - join_key("ADTTE", "ADTTE", c("USUBJID", "STUDYID", "PARAMCD")), - join_key("ADSL", "ADTTE", c("STUDYID", "USUBJID")) - ) + )' ) class(cdisc_data_obj) -## [1] "TealData" "TealDataAbstract" "R6" +## [1] "teal_data" +## attr(,"package") +## [1] "teal.data" The teal.data::join_keys function is used to specify keys: diff --git a/main/articles/including-general-data-in-teal.html b/main/articles/including-general-data-in-teal.html index 4d9aad58b1..fea475693b 100644 --- a/main/articles/including-general-data-in-teal.html +++ b/main/articles/including-general-data-in-teal.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -149,8 +139,9 @@ Introductionapp <- init( data = teal_data( - dataset("IRIS", iris, code = "IRIS <- iris"), - dataset("CARS", mtcars, code = "CARS <- mtcars") + IRIS = iris, CARS = mtcars, + code = "IRIS <- iris + CARS <- mtcars" ), modules = example_module() ) diff --git a/main/articles/including-mae-data-in-teal.html b/main/articles/including-mae-data-in-teal.html index f6d42c2856..1a84e5fc49 100644 --- a/main/articles/including-mae-data-in-teal.html +++ b/main/articles/including-mae-data-in-teal.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -153,10 +143,8 @@ Example Applicationlibrary(teal) utils::data(miniACC, package = "MultiAssayExperiment") -mae_d <- dataset("MAE", miniACC, metadata = list(type = "example")) - app <- init( - data = teal_data(mae_d), + data = teal_data(MAE = miniACC), modules = example_module() ) diff --git a/main/articles/index.html b/main/articles/index.html index dec7ba35de..838a27a968 100644 --- a/main/articles/index.html +++ b/main/articles/index.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/preprocessing-data.html b/main/articles/preprocessing-data.html index db924db4ae..b3ae8b780d 100644 --- a/main/articles/preprocessing-data.html +++ b/main/articles/preprocessing-data.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -142,7 +132,7 @@ Usage in teal appsIn a teal app providing the code in a copy-paste style is cumbersome and can lead to an out-of-sync situation where the code does not represent the preprocessing code anymore. We therefore use the -teal.data::get_code function to extract the preprocessing +teal.data::get_code function to extract the preprocessing code from the app.R file. The get_code function requires # tags to indicate which lines of code in app.R need be included in the preprocessing code. @@ -182,7 +172,10 @@ Usage in teal apps# <code app <- init( - data = teal_data(dataset("new_iris", new_iris), code = get_code(file = "app.R")), + data = teal_data( + new_iris = new_iris, + code = get_code(file = "app.R") + ), modules = example_module() ) @@ -209,8 +202,9 @@ Usage in teal apps# <code x <- init( - data = cdisc_data(cdisc_dataset("ADSL", adsl), - code = get_code("app.R", exclude_comments = TRUE, read_sources = TRUE), + data = cdisc_data( + ADSL = adsl, + code = get_code("app.R", exclude_comments = TRUE, read_sources = TRUE), check = TRUE ), modules = example_module(), diff --git a/main/articles/teal-bs-themes.html b/main/articles/teal-bs-themes.html index 874abde062..00fed06080 100644 --- a/main/articles/teal-bs-themes.html +++ b/main/articles/teal-bs-themes.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -280,9 +270,7 @@ Interactive Theming Guidelibrary(teal) app <- init( - data = teal_data( - dataset("IRIS", iris) # nolint - ), + data = teal_data(IRIS = iris), # nolint filter = list(IRIS = list(Sepal.Length = c(5, 7))), modules = list(example_module(), example_module()), header = "My first teal application" diff --git a/main/articles/teal-options.html b/main/articles/teal-options.html index 44f45ab606..8205ba7122 100644 --- a/main/articles/teal-options.html +++ b/main/articles/teal-options.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/articles/teal.html b/main/articles/teal.html index 69b69df7d4..a8c7ee97cc 100644 --- a/main/articles/teal.html +++ b/main/articles/teal.html @@ -27,7 +27,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -81,16 +81,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -168,10 +158,7 @@ Your first teal application:library(teal) app <- init( - data = teal_data( - dataset("IRIS", iris), - dataset("MTCARS", mtcars) - ), + data = teal_data(IRIS = iris, MTCARS = mtcars), modules = example_module(), header = "My first teal application" ) diff --git a/main/authors.html b/main/authors.html index ad7bf5505d..614fe9aca2 100644 --- a/main/authors.html +++ b/main/authors.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/index.html b/main/index.html index b02b248c2a..11c755e6b2 100644 --- a/main/index.html +++ b/main/index.html @@ -33,7 +33,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -87,16 +87,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/news/index.html b/main/news/index.html index 1eec1a94b3..57adf679d5 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -101,9 +91,9 @@ Features -teal 0.14.0.9015 +teal 0.14.0.9016 -Miscellaneous +Miscellaneous Enhanced a module validation checks so that it won’t throw messages about data argument unnecessarily. Removed Report previewer module from mapping matrix display in filter manager. Added internal functions for storing and restoring of teal_slices objects. diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 62786d7b91..582b6b0c1c 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -21,7 +21,7 @@ articles: teal-bs-themes: teal-bs-themes.html teal-options: teal-options.html teal: teal.html -last_built: 2023-10-25T14:27Z +last_built: 2023-10-30T17:54Z urls: reference: https://insightsengineering.github.io/teal/reference article: https://insightsengineering.github.io/teal/articles diff --git a/main/pull_request_template.html b/main/pull_request_template.html index 8f5dd9991c..5615cd68ae 100644 --- a/main/pull_request_template.html +++ b/main/pull_request_template.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/TealReportCard.html b/main/reference/TealReportCard.html index 1c6e786bae..7a9a17445f 100644 --- a/main/reference/TealReportCard.html +++ b/main/reference/TealReportCard.html @@ -18,7 +18,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -71,16 +71,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/TealSlicesBlock.html b/main/reference/TealSlicesBlock.html index fdb2eb02aa..eb65dfa4d3 100644 --- a/main/reference/TealSlicesBlock.html +++ b/main/reference/TealSlicesBlock.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/append_module.html b/main/reference/append_module.html index c46a718d8c..2e505cfffa 100644 --- a/main/reference/append_module.html +++ b/main/reference/append_module.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/calculate_hashes.html b/main/reference/calculate_hashes.html index 361229ccfa..be4ba728c1 100644 --- a/main/reference/calculate_hashes.html +++ b/main/reference/calculate_hashes.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/deep_copy_filter.html b/main/reference/deep_copy_filter.html index 1c801183fc..cc3a5cd700 100644 --- a/main/reference/deep_copy_filter.html +++ b/main/reference/deep_copy_filter.html @@ -16,7 +16,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -69,16 +69,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/dot-datasets_to_data.html b/main/reference/dot-datasets_to_data.html index 8a9fc04b9d..d76a13068a 100644 --- a/main/reference/dot-datasets_to_data.html +++ b/main/reference/dot-datasets_to_data.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/example_cdisc_data.html b/main/reference/example_cdisc_data.html index 9e7d583dd1..fe048b7358 100644 --- a/main/reference/example_cdisc_data.html +++ b/main/reference/example_cdisc_data.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/example_datasets.html b/main/reference/example_datasets.html index d6d093d32d..a31544016c 100644 --- a/main/reference/example_datasets.html +++ b/main/reference/example_datasets.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/example_module.html b/main/reference/example_module.html index 4bbf83b7ef..a2b4b76727 100644 --- a/main/reference/example_module.html +++ b/main/reference/example_module.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -141,6 +131,10 @@ Examples ), modules = example_module() ) +#> Warning: The `data_objects` argument of `teal_data()` should use data directly. Using +#> TealDatasetConnector and TealDataset is deprecated. Find more information on +#> https://github.com/insightsengineering/teal/discussions/945 as of teal.data +#> 0.3.1. if (interactive()) { shinyApp(app$ui, app$server) } diff --git a/main/reference/example_modules.html b/main/reference/example_modules.html index e3f28f4543..4d03cfe170 100644 --- a/main/reference/example_modules.html +++ b/main/reference/example_modules.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/filter_calls_module.html b/main/reference/filter_calls_module.html index 9302a4cc2b..9c2ef95ef5 100644 --- a/main/reference/filter_calls_module.html +++ b/main/reference/filter_calls_module.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/filter_manager_module_srv.html b/main/reference/filter_manager_module_srv.html index 2ba184882a..73d26bc804 100644 --- a/main/reference/filter_manager_module_srv.html +++ b/main/reference/filter_manager_module_srv.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_client_timezone.html b/main/reference/get_client_timezone.html index 0ba65a4390..75327f41e5 100644 --- a/main/reference/get_client_timezone.html +++ b/main/reference/get_client_timezone.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_code_tdata.html b/main/reference/get_code_tdata.html index 1203141a43..4af67fe284 100644 --- a/main/reference/get_code_tdata.html +++ b/main/reference/get_code_tdata.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_datasets_code.html b/main/reference/get_datasets_code.html index c503f8d239..a76fb083be 100644 --- a/main/reference/get_datasets_code.html +++ b/main/reference/get_datasets_code.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_join_keys.html b/main/reference/get_join_keys.html index 348fe99d3e..311f0f2c48 100644 --- a/main/reference/get_join_keys.html +++ b/main/reference/get_join_keys.html @@ -1,5 +1,5 @@ -Function to get join keys from a tdata object — get_join_keys • tealExtract JoinKeys from tdata — get_join_keys.tdata • teal @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -96,38 +86,27 @@ Features - Function to get join keys from a tdata object + Extract JoinKeys from tdata Source: R/tdata.R get_join_keys.Rd - Function to get join keys from a tdata object + Extract JoinKeys from tdata Usage - get_join_keys(data) - -# S3 method for tdata -get_join_keys(data) - -# S3 method for default -get_join_keys(data) + # S3 method for tdata +get_join_keys(data) Arguments data -tdata - object to extract the join keys +(tdata) object - - Value - - -Either JoinKeys object or NULL if no join keys - diff --git a/main/reference/get_metadata.html b/main/reference/get_metadata.html index c5e13e2623..24eec8afdf 100644 --- a/main/reference/get_metadata.html +++ b/main/reference/get_metadata.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_rcode_libraries.html b/main/reference/get_rcode_libraries.html index b676d9f6fb..700216077d 100644 --- a/main/reference/get_rcode_libraries.html +++ b/main/reference/get_rcode_libraries.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/get_teal_bs_theme.html b/main/reference/get_teal_bs_theme.html index 9abba03189..b7c092daf3 100644 --- a/main/reference/get_teal_bs_theme.html +++ b/main/reference/get_teal_bs_theme.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/include_css_files.html b/main/reference/include_css_files.html index 13c685ccc9..c5839983b3 100644 --- a/main/reference/include_css_files.html +++ b/main/reference/include_css_files.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/include_js_files.html b/main/reference/include_js_files.html index b322ce82a7..f7d236e470 100644 --- a/main/reference/include_js_files.html +++ b/main/reference/include_js_files.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/include_teal_css_js.html b/main/reference/include_teal_css_js.html index 628b42543c..d1ab450c16 100644 --- a/main/reference/include_teal_css_js.html +++ b/main/reference/include_teal_css_js.html @@ -18,7 +18,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -71,16 +71,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/index.html b/main/reference/index.html index a5bc27de6e..407185cb5b 100644 --- a/main/reference/index.html +++ b/main/reference/index.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -223,11 +213,6 @@ Functions for Module Developerstdata object - get_join_keys() - - Function to get join keys from a tdata object - - get_metadata() Function to get metadata from a tdata object diff --git a/main/reference/init.html b/main/reference/init.html index 7dc3da5f10..31d54960c0 100644 --- a/main/reference/init.html +++ b/main/reference/init.html @@ -20,7 +20,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -73,16 +73,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -137,7 +127,7 @@ Usage Arguments data (TealData or TealDataset or TealDatasetConnector or list or data.frame -or MultiAssayExperiment)R6 object as returned by teal.data::cdisc_data(), teal.data::teal_data(), +or MultiAssayExperiment, teal_data)R6 object as returned by teal.data::cdisc_data(), teal.data::teal_data(), teal.data::cdisc_dataset(), teal.data::dataset(), teal.data::dataset_connector() or teal.data::cdisc_dataset_connector() or a single data.frame or a MultiAssayExperiment or a list of the previous objects or function returning a named list. diff --git a/main/reference/is_arg_used.html b/main/reference/is_arg_used.html index b2d09f0309..d1bd461a0e 100644 --- a/main/reference/is_arg_used.html +++ b/main/reference/is_arg_used.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/landing_popup_module.html b/main/reference/landing_popup_module.html index e91875bcb2..dfb3d068a2 100644 --- a/main/reference/landing_popup_module.html +++ b/main/reference/landing_popup_module.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -159,7 +149,7 @@ Examples example_module() ) ) -#> [INFO] 2023-10-25 14:27:28.9447 pid:889 token:[] teal Initializing landing_popup_module +#> [INFO] 2023-10-30 17:54:23.4300 pid:881 token:[] teal Initializing landing_popup_module #> module "Landing Popup" server function takes no data so "datanames" will be ignored if (interactive()) { shinyApp(app1$ui, app1$server) @@ -185,7 +175,7 @@ Examples example_module() ) ) -#> [INFO] 2023-10-25 14:27:29.0210 pid:889 token:[] teal Initializing landing_popup_module +#> [INFO] 2023-10-30 17:54:23.5455 pid:881 token:[] teal Initializing landing_popup_module #> module "Landing Popup" server function takes no data so "datanames" will be ignored if (interactive()) { diff --git a/main/reference/matrix_to_mapping.html b/main/reference/matrix_to_mapping.html index e681e25d54..3cae80076b 100644 --- a/main/reference/matrix_to_mapping.html +++ b/main/reference/matrix_to_mapping.html @@ -16,7 +16,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -69,16 +69,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module.html b/main/reference/module.html index 8d9274b023..c155573011 100644 --- a/main/reference/module.html +++ b/main/reference/module.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_filter_manager.html b/main/reference/module_filter_manager.html index 86f7d7de8a..edc52e73f7 100644 --- a/main/reference/module_filter_manager.html +++ b/main/reference/module_filter_manager.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_filter_manager_modal.html b/main/reference/module_filter_manager_modal.html index 6cf23c5696..84c61625f3 100644 --- a/main/reference/module_filter_manager_modal.html +++ b/main/reference/module_filter_manager_modal.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_management.html b/main/reference/module_management.html index cbea9049a8..dccc79026b 100644 --- a/main/reference/module_management.html +++ b/main/reference/module_management.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_nested_tabs.html b/main/reference/module_nested_tabs.html index cfd18fde6c..d3f9f62794 100644 --- a/main/reference/module_nested_tabs.html +++ b/main/reference/module_nested_tabs.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_tabs_with_filters.html b/main/reference/module_tabs_with_filters.html index a1159c9a10..ba3eaf2f45 100644 --- a/main/reference/module_tabs_with_filters.html +++ b/main/reference/module_tabs_with_filters.html @@ -14,7 +14,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -67,16 +67,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/module_teal.html b/main/reference/module_teal.html index f11bd91834..2dcb94b02f 100644 --- a/main/reference/module_teal.html +++ b/main/reference/module_teal.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -63,16 +63,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports @@ -150,7 +140,7 @@ Arguments diff --git a/main/reference/modules.html b/main/reference/modules.html index dd1b0bb48a..ba4cd8ffde 100644 --- a/main/reference/modules.html +++ b/main/reference/modules.html @@ -18,7 +18,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -71,16 +71,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/modules_depth.html b/main/reference/modules_depth.html index dae6427507..31510f6bd7 100644 --- a/main/reference/modules_depth.html +++ b/main/reference/modules_depth.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/reexports.html b/main/reference/reexports.html index fb9ef531e7..2de23b43e2 100644 --- a/main/reference/reexports.html +++ b/main/reference/reexports.html @@ -32,7 +32,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -85,16 +85,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/report_card_template.html b/main/reference/report_card_template.html index 69b9b63639..efee9c2d00 100644 --- a/main/reference/report_card_template.html +++ b/main/reference/report_card_template.html @@ -12,7 +12,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -65,16 +65,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/reporter_previewer_module.html b/main/reference/reporter_previewer_module.html index f3f1dad3ae..0af97b08fc 100644 --- a/main/reference/reporter_previewer_module.html +++ b/main/reference/reporter_previewer_module.html @@ -22,7 +22,7 @@ teal - 0.14.0.9015 + 0.14.0.9016 part of @@ -75,16 +75,6 @@ Features Changelog - - Versions main -latest-tag -v0.14.0 -v0.13.0 -v0.12.0 - Reports diff --git a/main/reference/resolve_modules_datanames.html b/main/reference/resolve_modules_datanames.html new file mode 100644 index 0000000000..f8e1f51f05 --- /dev/null +++ b/main/reference/resolve_modules_datanames.html @@ -0,0 +1,143 @@ + +Resolve datanames for the modules — resolve_modules_datanames • teal + Skip to contents + + + + + teal + + 0.14.0.9016 + + part of + + + + + + + Get started + + + Reference + + + Articles + + Using teal + Filter Panel + Modifying a teal Application With R Options + Bootstrap Themes in teal + + Data in teal Apps + Using ADaM Data in teal Applications + Using General Data in teal Applications + Using MultiAssayExperiment data in teal Applications + Preprocessing Data + + Extending teal + Creating Custom Modules + Adding Support for Reporting to Custom Modules + + More articles... + + + + Technical Blueprint + + About Blueprint + Introduction + Actors + Data Flow + Product Map + Features + `qenv` + Filter Panel + Delayed Data Loading (DDL) + Module and Encapsulation + + + + Changelog + + + Reports + + Coverage report + Unit test report + + + + + + + + + + + + + + + + + + + Resolve datanames for the modules + Source: R/utils.R + resolve_modules_datanames.Rd + + + + Modifies module$datanames to include names of the parent dataset (taken from join_keys). +When datanames is set to "all" it is replaced with all available datasets names. + + + + Usage +
## [1] "TealData" "TealDataAbstract" "R6"
## [1] "teal_data" +## attr(,"package") +## [1] "teal.data"
which is equivalent to:
example_data <- cdisc_data( - cdisc_dataset( - dataname = "ADSL", - x = adsl, - code = ' + ADSL = adsl, ADTTE = adtte, + code = ' adsl <- data.frame( STUDYID = "study", USUBJID = 1:10, SEX = sample(c("F", "M"), 10, replace = TRUE), AGE = rpois(10, 40) - )', - keys = c("STUDYID", "USUBJID") - ), - cdisc_dataset( - dataname = "ADTTE", - x = adtte, - code = ' + ) adtte <- rbind(adsl, adsl, adsl) adtte$PARAMCD <- rep(c("OS", "EFS", "PFS"), each = 10) adtte$AVAL <- c( rnorm(10, mean = 700, sd = 200), rnorm(10, mean = 400, sd = 100), rnorm(10, mean = 450, sd = 200) - )', - keys = c("STUDYID", "USUBJID", "PARAMCD") - ), - join_keys = join_keys( - join_key("ADSL", "ADSL", c("STUDYID", "USUBJID")), - join_key("ADTTE", "ADTTE", c("USUBJID", "STUDYID", "PARAMCD")), - join_key("ADSL", "ADTTE", c("STUDYID", "USUBJID")) - ) + )' ) class(cdisc_data_obj)
The teal.data::join_keys function is used to specify keys:
teal.data::join_keys
teal.data::get_code
app.R
get_code
#
module
data
Report previewer
teal_slices
tdata
JoinKeys
R/tdata.R
get_join_keys.Rd
Function to get join keys from a tdata object
Extract JoinKeys from tdata
get_join_keys(data) - -# S3 method for tdata -get_join_keys(data) - -# S3 method for default -get_join_keys(data)
# S3 method for tdata +get_join_keys(data)
tdata - object to extract the join keys
(tdata) object
Either JoinKeys object or NULL if no join keys
NULL
get_join_keys()
get_metadata()
(TealData or TealDataset or TealDatasetConnector or list or data.frame -or MultiAssayExperiment)R6 object as returned by teal.data::cdisc_data(), teal.data::teal_data(), +or MultiAssayExperiment, teal_data)R6 object as returned by teal.data::cdisc_data(), teal.data::teal_data(), teal.data::cdisc_dataset(), teal.data::dataset(), teal.data::dataset_connector() or teal.data::cdisc_dataset_connector() or a single data.frame or a MultiAssayExperiment or a list of the previous objects or function returning a named list. diff --git a/main/reference/is_arg_used.html b/main/reference/is_arg_used.html index b2d09f0309..d1bd461a0e 100644 --- a/main/reference/is_arg_used.html +++ b/main/reference/is_arg_used.html @@ -10,7 +10,7 @@ teal - 0.14.0.9015 + 0.14.0.9016
TealData
TealDataset
TealDatasetConnector
list
data.frame
MultiAssayExperiment
R6
teal.data::cdisc_data()
teal.data::teal_data()
teal_data
teal.data::cdisc_dataset()
teal.data::dataset()
teal.data::dataset_connector()
teal.data::cdisc_dataset_connector()
datanames
R/utils.R
resolve_modules_datanames.Rd
Modifies module$datanames to include names of the parent dataset (taken from join_keys). +When datanames is set to "all" it is replaced with all available datasets names.
module$datanames
join_keys
"all"