Skip to content

Commit

Permalink
[skip vbump] upversion to 0.15.0 (#1096)
Browse files Browse the repository at this point in the history
Related to #1013
  • Loading branch information
donyunardi authored Feb 9, 2024
1 parent d2beb4d commit e3a369b
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 18 deletions.
16 changes: 9 additions & 7 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
Type: Package
Package: teal
Title: Exploratory Web Apps for Analyzing Clinical Trials Data
Version: 0.14.0.9046
Date: 2024-02-09
Version: 0.15.0
Date: 2024-02-07
Authors@R: c(
person("Dawid", "Kaledkowski", , "[email protected]", role = c("aut", "cre")),
person("Dawid", "Kaledkowski", , "[email protected]", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-9533-457X")),
person("Pawel", "Rucki", , "[email protected]", role = "aut"),
person("Aleksander", "Chlebowski", , "[email protected]", role = "aut"),
person("Aleksander", "Chlebowski", , "[email protected]", role = "aut", comment = c(ORCID = "0000-0001-5018-6294")),
person("Andre", "Verissimo", , "[email protected]", role = "aut", comment = c(ORCID = "0000-0002-2212-339X")),
person("Kartikeya", "Kirar", , "[email protected]", role = "aut"),
person("Vedha", "Viyash", , "[email protected]", role = "aut"),
person("Marcin", "Kosinski", , "[email protected]", role = "aut"),
person("Adrian", "Waddell", , "[email protected]", role = "aut"),
person("Chendi", "Liao", , "[email protected]", role = "rev"),
Expand All @@ -31,8 +33,8 @@ BugReports: https://github.com/insightsengineering/teal/issues
Depends:
R (>= 4.0),
shiny (>= 1.7.0),
teal.data (>= 0.3.0.9017),
teal.slice (>= 0.4.0.9027)
teal.data (>= 0.4.0),
teal.slice (>= 0.5.0)
Imports:
checkmate (>= 2.1.0),
jsonlite,
Expand All @@ -43,7 +45,7 @@ Imports:
rlang (>= 1.0.0),
shinyjs,
stats,
teal.code (>= 0.3.0.9009),
teal.code (>= 0.5.0),
teal.logger (>= 0.1.1),
teal.reporter (>= 0.2.0),
teal.widgets (>= 0.4.0),
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# teal 0.14.0.9046
# teal 0.15.0

### New features

Expand Down
2 changes: 1 addition & 1 deletion R/init.R
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ init <- function(data,
## `data`
if (inherits(data, "TealData")) {
lifecycle::deprecate_stop(
when = "0.99.0",
when = "0.15.0",
what = "init(data)",
paste(
"TealData is no longer supported. Use teal_data() instead.",
Expand Down
2 changes: 1 addition & 1 deletion R/tdata.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#' @export
new_tdata <- function(data, code = "", join_keys = NULL, metadata = NULL) {
lifecycle::deprecate_soft(
when = "0.99.0",
when = "0.15.0",
what = "tdata()",
details = paste(
"tdata is deprecated and will be removed in the next release. Use `teal_data` instead.\n",
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ library(teal)
app <- init(
data = teal_data(iris = iris),
modules = list(
module(
module(
label = "iris histogram",
server = function(input, output, session, data) {
updateSelectInput(session = session,
inputId = "var",
choices = names(data()[["iris"]])[1:4])

output$hist <- renderPlot({
req(input$var)
hist(x = data()[["iris"]][[input$var]])
Expand All @@ -108,7 +108,7 @@ shinyApp(app$ui, app$server)

![App recording](man/figures/readme_app.webp)

Please see [`teal.gallery`](https://insightsengineering.github.io/teal.gallery) and [TLG Catalog](https://insightsengineering.github.io/tlg-catalog) to see examples of `teal` apps.
Please see [`teal.gallery`](https://insightsengineering.github.io/teal.gallery/) and [TLG Catalog](https://insightsengineering.github.io/tlg-catalog/) to see examples of `teal` apps.

Please start with the ["Technical Blueprint" article](https://insightsengineering.github.io/teal/latest-tag/articles/blueprint/index.html), ["Getting Started" article](https://insightsengineering.github.io/teal/latest-tag/articles/teal.html), and then other [package vignettes](https://insightsengineering.github.io/teal/latest-tag/articles/index.html) for more detailed guide.

Expand Down
1 change: 1 addition & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ tabsetted
themer
theming
uncheck
ORCID
6 changes: 4 additions & 2 deletions man/teal-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions tests/testthat/test-tdata.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ withr::local_options(lifecycle_verbosity = "quiet")

# ---- constructor ----
testthat::test_that("new_tdata accepts reactive and not reactive MAE and data.frames", {
testthat::skip_if_not_installed("MultiAssayExperiment")
utils::data(miniACC, package = "MultiAssayExperiment")

testthat::expect_no_error(
Expand Down Expand Up @@ -179,6 +180,7 @@ testthat::test_that("get_code_tdata returns character code", {

# ---- tdata2env ----
testthat::test_that("tdata2env returns environment containing tdata contents ", {
testthat::skip_if_not_installed("MultiAssayExperiment")
utils::data(miniACC, package = "MultiAssayExperiment")
my_tdata <- new_tdata(data = list(iris = iris, mae = reactive(miniACC)))

Expand Down
6 changes: 3 additions & 3 deletions vignettes/getting-started-with-teal.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ vignette: >

## Introduction

`teal` is a shiny-based interactive exploration framework for analyzing data, with particular emphasis on CDISC clinical trial data.
`teal` is a shiny-based interactive exploration framework for analyzing data, with particular emphasis on CDISC clinical trial data.
`teal` applications allow their users to:

* "Pull" in data from external data sources
Expand Down Expand Up @@ -92,7 +92,7 @@ It is also possible to specify relationships between the datasets using the `joi
If data is not available and has to be pulled from a remote source, `init` must receive a `teal_data_module` that specifies how to obtain the desired datasets and put them into a `teal_data` object.
See [this vignette](data-as-shiny-module.html) for details.

In order to use CDISC clinical trial data in a `teal` application the `cdisc_data` function is used instead.
In order to use CDISC clinical trial data in a `teal` application the `cdisc_data` function is used instead.
Custom `SDTM` standards can be handled with `teal_data` and `join_keys`.

For further details, we recommend exploring the [`teal.data`](https://insightsengineering.github.io/teal.data/) package documentation.
Expand Down Expand Up @@ -120,7 +120,7 @@ This report can then be downloaded and a special _Report Previewer_ module will
`teal` hands over data with reproducible code to every module included in the application.
Note that `teal` does not display the code, that is the modules' responsibility.
For example, the `example_module` function used above shows the code in the main panel together with other outputs.
For more details see [this vignette](reproducible-code.html).
For more details see [this vignette](including-data-in-teal-applications.html).

## Where to go next

Expand Down

0 comments on commit e3a369b

Please sign in to comment.