Skip to content

Commit 0135f15

Browse files
Update lifecycle badges (#313)
Part of insightsengineering/coredev-tasks#649 Removed stable badges. Removed `experimental` badges - for functions introduced in `init` commit 2f43fb5 - for a function introduced in 0.4.2, now we will vbump to at least 0.4.4 #199 --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent c774a2a commit 0135f15

30 files changed

+25
-36
lines changed

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
### Breaking changes
44
* `panel_group()` and `panel_item()` are deprecated. Please use the `bslib::accordion()` and `bslib::accordion_panel()` instead.
5+
* `nested_closeable_modal()` was deprecated.
56

67
### Bug fixes
78
* Recompute the `live-search` option value dynamically in `updateOptionalSelectInput` (#291)

R/basic_table_args.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#' Builds a `basic_table_args` object
22
#'
3-
#' @description `r lifecycle::badge("experimental")`
3+
#' @description
44
#' This function has to be used to build an input for a `basic_table_args` argument.
55
#' The `basic_table_args` argument should be a part of every module which contains any `rtables` object.
66
#' Arguments are validated to match their `rtables` equivalents.
@@ -29,7 +29,7 @@ basic_table_args <- function(...) {
2929

3030
#' Resolves and reduces multiple `basic_table_args` objects
3131
#'
32-
#' @description `r lifecycle::badge("experimental")`
32+
#' @description
3333
#' Resolving and reducing multiple `basic_table_args` objects.
3434
#' This function is intended to utilize user provided settings, defaults provided by the module creator and
3535
#' also `teal` option. See `Details`, below, to understand the logic.
@@ -88,7 +88,7 @@ resolve_basic_table_args <- function(user_table = basic_table_args(),
8888

8989
#' Parses `basic_table_args` object into the `basic_table` expression
9090
#'
91-
#' @description `r lifecycle::badge("experimental")`
91+
#' @description
9292
#' A function to parse expression from the `basic_table_args` object.
9393
#' @param basic_table_args (`basic_table_args`)\cr
9494
#' This argument could be a result of the [`resolve_basic_table_args()`].

R/draggable_buckets.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ draggable_buckets_deps <- function() {
1212
}
1313

1414
#' @title Draggable Buckets
15-
#' @description `r lifecycle::badge("experimental")`
15+
#' @description
1616
#' A custom widget with draggable elements that can be put into buckets.
1717
#'
1818
#' @param input_id (`character(1)`) the `HTML` id of this widget

R/get_dt_rows.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#' Map `lenghtMenu` property
22
#'
3-
#' @description `r lifecycle::badge("stable")`\cr
3+
#' @description
44
#' Maps the `lengthMenu` selected value property of `DT::datatable` to a `shiny` variable.
55
#' @param dt_name `ns()` of `inputId` of the `DT::datatable`
66
#' @param dt_rows `ns()` of `inputId` of the variable that holds the current selected value of `lengthMenu`

R/ggplot2_args.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#' Creates `ggplot2_args` object
22
#'
3-
#' @description `r lifecycle::badge("experimental")`
3+
#' @description
44
#' Constructor of `ggplot2_args` class of objects.
55
#' The `ggplot2_args` argument should be a part of every module which contains any `ggplot2` graphics.
66
#' The function arguments are validated to match their `ggplot2` equivalents.
@@ -44,7 +44,7 @@ ggplot2_args <- function(labs = list(), theme = list()) {
4444

4545
#' Resolving and reducing multiple `ggplot2_args` objects
4646
#'
47-
#' @description `r lifecycle::badge("experimental")`
47+
#' @description
4848
#' Resolving and reducing multiple `ggplot2_args` objects.
4949
#' This function is intended to utilize user provided settings, defaults provided by the module creator and
5050
#' also `teal` option. See `Details`, below, to understand the logic.
@@ -109,7 +109,7 @@ resolve_ggplot2_args <- function(user_plot = ggplot2_args(),
109109

110110
#' Parse `ggplot2_args` object into the `ggplot2` expression
111111
#'
112-
#' @description `r lifecycle::badge("experimental")`
112+
#' @description
113113
#' A function to parse expression from the `ggplot2_args` object.
114114
#' @param ggplot2_args (`ggplot2_args`)\cr
115115
#' This argument could be a result of the [resolve_ggplot2_args()].

R/nested_closeable_modal.R

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#' Nested Closeable Modal Popup
22
#'
3-
#' @description `r lifecycle::badge("experimental")`
3+
#' @description `r lifecycle::badge("deprecated")`
44
#' Alternative to `shiny::modalDialog`. Create a nested modal popup that can be shown/hidden
55
#' using `jQuery` and modal `id`, without disturbing the parent modal.
66
#'
@@ -82,6 +82,11 @@
8282
nested_closeable_modal <- function(id, ..., modal_args = list(easyClose = TRUE)) {
8383
checkmate::assert_string(id)
8484
checkmate::assert_list(modal_args)
85+
lifecycle::deprecate_soft(
86+
when = "0.4.4",
87+
what = "nested_closeable_modal()"
88+
)
89+
8590
modal_args <- append(list(...), modal_args)
8691
tagList(
8792
htmltools::tagQuery(do.call(modalDialog, modal_args))$

R/optionalInput.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#' Wrapper for `pickerInput`
22
#'
3-
#' @description `r lifecycle::badge("stable")`
3+
#' @description
44
#' Wrapper for [shinyWidgets::pickerInput()] with additional features.
55
#' When `fixed = TRUE` or when the number of `choices` is less or equal to 1 (see `fixed_on_single`),
66
#' the `pickerInput` widget is hidden and non-interactive widget will be displayed
@@ -443,7 +443,7 @@ extract_raw_choices <- function(choices, sep) {
443443
#'
444444
#' if min or max are `NA` then the slider widget will be hidden
445445
#'
446-
#' @description `r lifecycle::badge("stable")`\cr
446+
#' @description
447447
#' Hidden input widgets are useful to have the `input[[inputId]]` variable
448448
#' on available in the server function but no corresponding visual clutter from
449449
#' input widgets that provide only a single choice.
@@ -513,7 +513,7 @@ optionalSliderInput <- function(inputId, label, min, max, value, label_help = NU
513513
#' For `teal` modules we parameterize an `optionalSliderInput` with one argument
514514
#' `value_min_max`
515515
#'
516-
#' @description `r lifecycle::badge("stable")`
516+
#' @description
517517
#' The [optionalSliderInput()] function needs three arguments to determine
518518
#' whether to hide the `sliderInput` widget or not. For `teal` modules we specify an
519519
#' optional slider input with one argument here called `value_min_max`.

R/plot_with_settings.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ plot_with_settings_ui <- function(id) {
6161
#' Plot-with-settings module
6262
#'
6363
#' @rdname plot_with_settings
64-
#' @description `r lifecycle::badge("stable")`\cr
64+
#' @description
6565
#' Universal module for plots with settings for height, width, and download.
6666
#'
6767
#' @export
@@ -524,7 +524,7 @@ type_download_srv <- function(id, plot_reactive, plot_type, plot_w, default_w, p
524524

525525
#' Clean brushed points
526526
#'
527-
#' @description `r lifecycle::badge("stable")`\cr
527+
#' @description
528528
#' Cleans and organizes output to account for NAs and remove empty rows. Wrapper around `shiny::brushedPoints`.
529529
#' @param data (`data.frame`)\cr
530530
#' A data.frame from which to select rows.

R/standard_layout.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ standard_layout_deps <- function() {
1212

1313
#' Standard UI layout
1414
#'
15-
#' @description `r lifecycle::badge("stable")`\cr
15+
#' @description
1616
#' Create a standard UI layout with output on the right and an encoding panel on
1717
#' the left. This is the layout used by the `teal` modules.
1818
#'

R/table_with_settings.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ table_with_settings_deps <- function() {
1414
#'
1515
#' @title `table_with_settings` module
1616
#'
17-
#' @description `r lifecycle::badge("stable")`\cr
17+
#' @description
1818
#' Module designed to create a `shiny` table output based on `rtable` object (`ElementaryTable` or `TableTree`) input.
1919
#' @inheritParams shiny::moduleServer
2020
#' @param ... (`character`)\cr

0 commit comments

Comments
 (0)