Skip to content

Commit 9c6186c

Browse files
authored
Update lifecycle badges (#268)
Part of insightsengineering/coredev-tasks#649 Removed stable badges. Removed `experimental` badges that were edited at 0.4.1 (so probably introduced earlier) during #176, but now we have 0.6.0 on CRAN.
1 parent a535ca0 commit 9c6186c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+12
-98
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ repos:
1717
additional_dependencies:
1818
- checkmate
1919
- dplyr
20-
- lifecycle
2120
- logger
2221
- methods
2322
- rlang

DESCRIPTION

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ Imports:
2424
checkmate (>= 2.1.0),
2525
dplyr (>= 1.1.0),
2626
htmltools,
27-
lifecycle (>= 0.2.0),
2827
logger (>= 0.2.0),
2928
methods,
3029
rlang (>= 1.0.0),
@@ -48,12 +47,10 @@ Suggests:
4847
VignetteBuilder:
4948
knitr,
5049
rmarkdown
51-
RdMacros:
52-
lifecycle
5350
Remotes:
5451
insightsengineering/teal.widgets
5552
Config/Needs/verdepcheck: mllg/checkmate, tidyverse/dplyr,
56-
r-lib/lifecycle, daroczig/logger, r-lib/rlang, rstudio/shiny,
53+
daroczig/logger, r-lib/rlang, rstudio/shiny,
5754
daattali/shinyjs, rstudio/shinyvalidate,
5855
insightsengineering/teal.data, insightsengineering/teal.logger,
5956
insightsengineering/teal.widgets, tidyverse/tidyr, r-lib/tidyselect,

NAMESPACE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,3 @@ export(value_choices)
7272
export(variable_choices)
7373
import(shiny)
7474
importFrom(dplyr,"%>%")
75-
importFrom(lifecycle,badge)

R/Queue.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#' @docType class
55
#'
66
#' @description
7-
#' `r lifecycle::badge("experimental")`
87
#'
98
#' Abstract data type that stores and returns any number of elements.
109
#'

R/choices_labeled.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#' Set "`<choice>:<label>`" type of names
22
#'
33
#' @description
4-
#' `r lifecycle::badge("stable")`
54
#'
65
#' This is often useful for [choices_selected()] as it marks up the drop-down boxes
76
#' for [shiny::selectInput()].
@@ -123,7 +122,6 @@ choices_labeled <- function(choices, labels, subset = NULL, types = NULL) {
123122
#' Variable label extraction and custom selection from data
124123
#'
125124
#' @description
126-
#' `r lifecycle::badge("stable")`
127125
#'
128126
#' Wrapper on [choices_labeled] to label variables basing on existing labels in data.
129127
#'
@@ -244,7 +242,6 @@ variable_choices.data.frame <- function(data, subset = NULL, fill = TRUE, key =
244242
#' Value labeling and filtering based on variable relationship
245243
#'
246244
#' @description
247-
#' `r lifecycle::badge("stable")`
248245
#'
249246
#' Wrapper on [choices_labeled] to label variable values basing on other variable values.
250247
#'

R/choices_selected.R

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ no_select_keyword <- "-- no selection --"
33
#' Choices selected
44
#'
55
#' @description
6-
#' `r lifecycle::badge("stable")`
76
#'
87
#' Construct a single list containing available choices, the default selected value, and
98
#' additional settings such as to order the choices with the selected elements appearing first
@@ -201,8 +200,6 @@ is.choices_selected <- function(x) { # nolint: object_name_linter.
201200

202201
#' Add empty choice to choices selected
203202
#'
204-
#' `r lifecycle::badge("stable")`
205-
#'
206203
#' @param x (`choices_selected`) object.
207204
#' @param multiple (`logical(1)`) whether multiple selections are allowed or not.
208205
#'
@@ -227,8 +224,6 @@ add_no_selected_choices <- function(x, multiple = FALSE) {
227224

228225
#' Check select choices for no choice made
229226
#'
230-
#' `r lifecycle::badge("stable")`
231-
#'
232227
#' @param x (`character`) Word that shall be checked for `NULL`, empty, "--no-selection".
233228
#'
234229
#' @return The word or `NULL`.

R/column_functions.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#' Returns non-key column names from data
22
#'
3-
#' @description `r lifecycle::badge("stable")`
3+
#' @description Returns non-key column names from data.
44
#'
55
#' @param data (`data.frame`) Data with attribute `filter_and_columns`. This can only be
66
#' created by [data_extract_srv()], which returns a shiny [shiny::reactive()].

R/data_extract_datanames.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#' Help text with available datasets input
22
#'
33
#' @description
4-
#' `r lifecycle::badge("stable")`
54
#'
65
#' Creates [shiny::helpText()] with the names of available datasets for the
76
#' current module.
@@ -23,7 +22,6 @@ datanames_input <- function(data_extracts) {
2322
#' Gets names of the datasets from a list of `data_extract_spec` objects
2423
#'
2524
#' @description
26-
#' `r lifecycle::badge("stable")`
2725
#'
2826
#' Fetches `dataname` slot per `data_extract_spec` from a list of
2927
#' `data_extract_spec`.
@@ -67,7 +65,6 @@ get_extract_datanames <- function(data_extracts) {
6765
#' Verify uniform dataset source across data extract specification
6866
#'
6967
#' @description
70-
#' `r lifecycle::badge("stable")`
7168
#'
7269
#' Checks if the input `data_extract_spec` objects all come from the same dataset.
7370
#'

R/data_extract_module.R

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ data_extract_deps <- function() {
6161

6262
#' `teal` data extraction module user-interface
6363
#'
64-
#' @description
65-
#' `r lifecycle::badge("experimental")`
64+
#' @description Data extraction module.
6665
#'
6766
#' @details
6867
#' There are three inputs that will be rendered
@@ -273,7 +272,6 @@ check_data_extract_spec_react <- function(datasets, data_extract) {
273272
#' Extraction of the selector(s) details
274273
#'
275274
#' @description
276-
#' `r lifecycle::badge("stable")`
277275
#'
278276
#' Extracting details of the selection(s) in [data_extract_ui] elements.
279277
#'
@@ -582,7 +580,6 @@ data_extract_srv.list <- function(id,
582580
#' Creates a named list of `data_extract_srv` output
583581
#'
584582
#' @description
585-
#' `r lifecycle::badge("experimental")`
586583
#'
587584
#' `data_extract_multiple_srv` loops over the list of `data_extract` given and
588585
#' runs `data_extract_srv` for each one returning a list of reactive objects.

R/data_extract_spec.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#' Data extract input for `teal` modules
22
#'
33
#' @description
4-
#' `r lifecycle::badge("stable")`
54
#'
65
#' The Data extract input can be used to filter and select columns from a data set.
76
#' This function enables such an input in `teal`.

0 commit comments

Comments
 (0)