From 29206522eb3f7b45603a31c3b070b84ab89d38b6 Mon Sep 17 00:00:00 2001 From: Dony Unardi Date: Wed, 24 Jan 2024 08:56:44 -0800 Subject: [PATCH] [skip vbump] upversion to 0.4.0 --- DESCRIPTION | 4 ++-- NEWS.md | 2 +- R/deprecated.R | 4 ++-- R/teal_data.R | 2 +- man/col_labels.Rd | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 62c577c7a..1614229a0 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: teal.data Title: Data Model for 'teal' Applications -Version: 0.3.0.9042 +Version: 0.4.0 Date: 2024-01-24 Authors@R: c( person("Dawid", "Kaledkowski", , "dawid.kaledkowski@roche.com", role = c("aut", "cre")), @@ -52,7 +52,7 @@ Language: en-US LazyData: true Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.1 -Collate: +Collate: 'cdisc_data.R' 'data.R' 'default_cdisc_join_keys.R' diff --git a/NEWS.md b/NEWS.md index dd39b9f1f..8dc3f9939 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# teal.data 0.3.0.9042 +# teal.data 0.4.0 ### Enhancements diff --git a/R/deprecated.R b/R/deprecated.R index ad295f4a8..d4b3e9e93 100644 --- a/R/deprecated.R +++ b/R/deprecated.R @@ -17,7 +17,7 @@ NULL .deprecate_function <- function(what, details) { lifecycle::deprecate_stop( - when = "0.3.1", + when = "0.4.0", what = what, details = details ) @@ -338,7 +338,7 @@ get_join_keys <- function(...) { #' `r lifecycle::badge("deprecated")` #' #' In previous versions of `teal.data` labels were managed with `get_labels()`. -#' This function is deprecated as of `0.3.1`, use `col_labels` instead. +#' This function is deprecated as of `0.4.0`, use `col_labels` instead. #' @export get_labels <- function(...) { .deprecate_function("get_labels()", "Use col_labels(data)") diff --git a/R/teal_data.R b/R/teal_data.R index 5e37ba35a..12a64e774 100644 --- a/R/teal_data.R +++ b/R/teal_data.R @@ -42,7 +42,7 @@ teal_data <- function(..., ) ) { lifecycle::deprecate_stop( - when = "0.3.1", + when = "0.4.0", "teal_data( data_objects = 'should use data directly. Using TealDatasetConnector and TealDataset is deprecated. Find more information on https://github.com/insightsengineering/teal/discussions/945' diff --git a/man/col_labels.Rd b/man/col_labels.Rd index 7e2467d60..708f676be 100644 --- a/man/col_labels.Rd +++ b/man/col_labels.Rd @@ -49,7 +49,7 @@ These functions get or set this attribute, either on all (\code{col_labels}) or \ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} In previous versions of \code{teal.data} labels were managed with \code{get_labels()}. -This function is deprecated as of \verb{0.3.1}, use \code{col_labels} instead. +This function is deprecated as of \verb{0.4.0}, use \code{col_labels} instead. } \examples{ x <- iris