Skip to content

Commit 3c8ffab

Browse files
donyunardim7pr
andauthored
[skip vbump] upversion to 0.16.0 (#1492)
Fix #1439 ### Blocked by: * insightsengineering/teal.logger#107 * insightsengineering/teal.code#245 ### Summary * Update NEWS and DESCRIPTION * Update deprecation message to `0.16.0` * All badges looks correct * Remove redundant `id` documentation in `init.R` [here](https://github.com/insightsengineering/teal/pull/1492/files#diff-1e8c7b94d7dc2f0d70c4e457124889b5637ba42993015643e5d80be52e3ec912L35-L40) --------- Co-authored-by: m7pr <marcin.kosinski.mk1@roche.com> Co-authored-by: Marcin <133694481+m7pr@users.noreply.github.com>
1 parent c75f39e commit 3c8ffab

File tree

12 files changed

+40
-40
lines changed

12 files changed

+40
-40
lines changed

DESCRIPTION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: teal
33
Title: Exploratory Web Apps for Analyzing Clinical Trials Data
4-
Version: 0.15.2.9131
4+
Version: 0.16.0
55
Date: 2025-02-12
66
Authors@R: c(
77
person("Dawid", "Kaledkowski", , "dawid.kaledkowski@roche.com", role = c("aut", "cre"),
@@ -50,8 +50,8 @@ Imports:
5050
rlang (>= 1.0.0),
5151
shinyjs,
5252
stats,
53-
teal.code (>= 0.6.0),
54-
teal.logger (>= 0.3.1),
53+
teal.code (>= 0.6.1),
54+
teal.logger (>= 0.3.2),
5555
teal.reporter (>= 0.4.0),
5656
teal.widgets (>= 0.4.3),
5757
tools,

NEWS.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# teal 0.15.2.9131
1+
# teal 0.16.0
22

33
### New features
44

5-
* Possible to call `ui_teal` and `srv_teal` directly in any application by delivering `data` argument as a `reactive` returning `teal_data` object. #669
6-
* Since introduction of `ui_teal` and `srv_teal` functions `id` argument in `init` is being deprecated. #1438
5+
* Possible to call `ui_teal` and `srv_teal` directly in any application by delivering `data` argument as a `reactive` returning `teal_data` object (#669).
6+
* Since introduction of `ui_teal` and `srv_teal` functions, the `id` argument in `init` is being deprecated (#1438).
77
* Introduce `ui_session_info` and `srv_session_info` shiny module to create the user session info and teal app lockfile download button.
8-
* Introduced `teal_transform_module` to provide a way to interactively modify data delivered to `teal_module`'s `server` and to decorate module outputs. #1228 #1384
8+
* Introduced `teal_transform_module` to provide a way to interactively modify data delivered to `teal_module`'s `server` and to decorate module outputs, along with a vignette to demonstrate its usage (#1228, #1384).
99
* Introduced a new argument `once = FALSE` in `teal_data_module` to possibly reload data during a run time.
10-
* Possibility to download lockfile to restore app session for reproducibility. #479
10+
* Possibility to download lockfile to restore app session for reproducibility (#479).
1111
* Datasets which name starts with `.` are ignored when `module`'s `datanames` is set as `"all"`.
12-
* Added warning when reserved `datanames`, such as `all` and `.raw_data` are being used.
12+
* Added warning when reserved `datanames`, such as `all` and `.raw_data` are being used.
1313
* Added `add_custom_server()` to allow adding custom server logic to the main shiny server function of a teal app.
1414

1515
### Breaking changes
1616

17-
* Setting `datanames()` on `data` passed to teal application no longer has effect. In order to change `teal_module`'s
17+
* Setting `datanames()` on `data` passed to teal application no longer has effect. In order to change `teal_module`'s
1818
`datanames` one should modify `module$datanames`.
1919
* `landing_popup_module()` is deprecated. Please use `add_landing_modal()` function to add a landing popup for your teal application.
2020
* `teal` no longer re-export `%>%`. Please load `library(magrittr)` instead or use `|>` from `base`.
@@ -24,7 +24,7 @@
2424
### Enhancement
2525

2626
* Enhanced a system of data validation and a display of error messages.
27-
* Easier way of to call `javascript` events by setting `$(document).ready(function() { ... })`. #1114
27+
* Easier way of to call `javascript` events by setting `$(document).ready(function() { ... })` (#1114).
2828
* Provided progress bar for modules loading and data filtering during teal app startup.
2929
* Filter mapping display has a separate icon in the tab.
3030
* Environment of the `data` passed to the `teal_module`'s server consists unfiltered datasets contained in `.raw_data`.

R/dummy_functions.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,5 @@ example_module <- function(label = "example teal module",
105105
attr(ans, "teal_bookmarkable") <- TRUE
106106
ans
107107
}
108+
109+
globalVariables("dataname")

R/init.R

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,17 @@
2323
#' the browser window title. Defaults to a title "teal app" with the icon of NEST.
2424
#' Can be created using the `build_app_title()` or
2525
#' by passing a valid `shiny.tag` which is a head tag with title and link tag.
26-
#' This parameter is deprecated. Use `modify_title()` on the teal app object instead.
26+
#' This parameter is no longer supported. Use `modify_title()` on the teal app object instead.
2727
#' @param header (`shiny.tag` or `character(1)`) `r lifecycle::badge("deprecated")` Optionally,
2828
#' the header of the app.
29-
#' This parameter is deprecated. Use `modify_header()` on the teal app object instead.
29+
#' This parameter is no longer supported. Use `modify_header()` on the teal app object instead.
3030
#' @param footer (`shiny.tag` or `character(1)`) `r lifecycle::badge("deprecated")` Optionally,
3131
#' the footer of the app.
32-
#' This parameter is deprecated. Use `modify_footer()` on the teal app object instead.
32+
#' This parameter is no longer supported. Use `modify_footer()` on the teal app object instead.
3333
#' @param id `r lifecycle::badge("deprecated")` (`character`) Optionally,
3434
#' a string specifying the `shiny` module id in cases it is used as a `shiny` module
35-
#' rather than a standalone `shiny` app. This is a legacy feature. Deprecated since v0.15.3
36-
#' please use [ui_teal()] and [srv_teal()] instead.
37-
#' @param id `r lifecycle::badge("deprecated")` (`character`) Optionally,
38-
#' a string specifying the `shiny` module id in cases it is used as a `shiny` module
39-
#' rather than a standalone `shiny` app. This is a legacy feature. Deprecated since v0.15.3
40-
#' please use [ui_teal()] and [srv_teal()] instead.
35+
#' rather than a standalone `shiny` app.
36+
#' This parameter is no longer supported. Use [ui_teal()] and [srv_teal()] instead.
4137
#'
4238
#' @return Named list containing server and UI functions.
4339
#'
@@ -190,7 +186,7 @@ init <- function(data,
190186

191187
if (lifecycle::is_present(id)) {
192188
lifecycle::deprecate_soft(
193-
when = "0.15.3",
189+
when = "0.16.0",
194190
what = "init(id)",
195191
details = paste(
196192
"To wrap `teal` application within other shiny application please use",
@@ -244,7 +240,7 @@ init <- function(data,
244240

245241
if (lifecycle::is_present(title)) {
246242
lifecycle::deprecate_soft(
247-
when = "0.15.3",
243+
when = "0.16.0",
248244
what = "init(title)",
249245
details = paste(
250246
"Use `modify_title()` on the teal app object instead.",
@@ -256,7 +252,7 @@ init <- function(data,
256252
}
257253
if (lifecycle::is_present(header)) {
258254
lifecycle::deprecate_soft(
259-
when = "0.15.3",
255+
when = "0.16.0",
260256
what = "init(header)",
261257
details = paste(
262258
"Use `modify_header()` on the teal app object instead.",
@@ -268,7 +264,7 @@ init <- function(data,
268264
}
269265
if (lifecycle::is_present(footer)) {
270266
lifecycle::deprecate_soft(
271-
when = "0.15.3",
267+
when = "0.16.0",
272268
what = "init(footer)",
273269
details = paste(
274270
"Use `modify_footer()` on the teal app object instead.",
@@ -281,7 +277,7 @@ init <- function(data,
281277

282278
if (length(landing) == 1L) {
283279
lifecycle::deprecate_soft(
284-
when = "0.15.3",
280+
when = "0.16.0",
285281
what = "landing_popup_module()",
286282
details = paste(
287283
"`landing_popup_module()` is deprecated.",

R/landing_popup_module.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ landing_popup_module <- function(label = "Landing Popup",
2020
content = NULL,
2121
buttons = modalButton("Accept")) {
2222
lifecycle::deprecate_soft(
23-
when = "0.15.3",
23+
when = "0.16.0",
2424
what = "landing_popup_module()",
2525
details = paste(
2626
"landing_popup_module() is deprecated.",

R/module_teal_with_splash.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ ui_teal_with_splash <- function(id,
2222
header = tags$p(),
2323
footer = tags$p()) {
2424
lifecycle::deprecate_soft(
25-
when = "0.15.3",
25+
when = "0.16.0",
2626
what = "ui_teal_with_splash()",
27-
details = "Deprecated, please use `?ui_teal` instead"
27+
details = "Please use `?ui_teal` instead"
2828
)
2929
ns <- shiny::NS(id)
3030
fluidPage(
@@ -53,7 +53,7 @@ ui_teal_with_splash <- function(id,
5353
#' @rdname module_teal_with_splash
5454
srv_teal_with_splash <- function(id, data, modules, filter = teal_slices()) {
5555
lifecycle::deprecate_soft(
56-
when = "0.15.3",
56+
when = "0.16.0",
5757
what = "srv_teal_with_splash()",
5858
details = "Deprecated, please use `?srv_teal` instead"
5959
)

R/show_rcode_modal.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#' @export
1616
show_rcode_modal <- function(title = NULL, rcode, session = getDefaultReactiveDomain()) {
1717
lifecycle::deprecate_soft(
18-
when = "0.15.3",
18+
when = "0.16.0",
1919
what = "show_rcode_modal()",
2020
details = "This function will be removed in the next release."
2121
)

R/tdata.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ as_tdata <- function(...) {
5252

5353
.deprecate_tdata_msg <- function() {
5454
lifecycle::deprecate_stop(
55-
when = "0.15.3",
55+
when = "0.16.0",
5656
what = "tdata()",
5757
details = paste(
5858
"tdata has been removed in favour of `teal_data`.\n",

R/utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ build_app_title <- function(
318318
title = "teal app",
319319
favicon = "https://raw.githubusercontent.com/insightsengineering/hex-stickers/main/PNG/nest.png") {
320320
lifecycle::deprecate_soft(
321-
when = "0.15.3",
321+
when = "0.16.0",
322322
what = "build_app_title()",
323323
details = "Use `modify_title()` on the object created using the `init`."
324324
)

man/init.Rd

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)