Skip to content

Commit 29deac2

Browse files
authored
[skip vbump] upversion v0.7.0 (#364)
Fixes #358 ### Summary * Update NEWS * Update DESCRIPTION * Temporary removal of Remotes * Upversion teal.code to `0.6.0` * Update deprecation message to version `0.7.0` * Update `teal_data` roxygen docs for missing links
1 parent 3fa034b commit 29deac2

File tree

6 files changed

+16
-19
lines changed

6 files changed

+16
-19
lines changed

DESCRIPTION

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Type: Package
22
Package: teal.data
33
Title: Data Model for 'teal' Applications
4-
Version: 0.6.0.9027
5-
Date: 2025-01-24
4+
Version: 0.7.0
5+
Date: 2025-01-27
66
Authors@R: c(
77
person("Dawid", "Kaledkowski", , "[email protected]", role = c("aut", "cre"),
88
comment = c(ORCID = "0000-0001-9533-457X")),
@@ -29,7 +29,7 @@ URL: https://insightsengineering.github.io/teal.data/,
2929
BugReports: https://github.com/insightsengineering/teal.data/issues
3030
Depends:
3131
R (>= 4.0),
32-
teal.code (>= 0.5.0.9015)
32+
teal.code (>= 0.6.0)
3333
Imports:
3434
checkmate (>= 2.1.0),
3535
lifecycle (>= 0.2.0),
@@ -47,8 +47,6 @@ VignetteBuilder:
4747
rmarkdown
4848
RdMacros:
4949
lifecycle
50-
Remotes:
51-
insightsengineering/teal.code
5250
Config/Needs/verdepcheck: insightsengineering/teal.code, mllg/checkmate,
5351
r-lib/lifecycle, r-lib/rlang, yihui/knitr, rstudio/rmarkdown,
5452
r-lib/testthat, r-lib/withr

NEWS.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# teal.data 0.6.0.9027
1+
# teal.data 0.7.0
22

33
### Breaking changes
44

@@ -7,7 +7,6 @@
77
- Deprecate of `datanames(x) <- value`. Does nothing, replace with renaming the objects inside the environment.
88
- All parameters and functions deprecated on 0.4.0 were removed.
99

10-
1110
### Enhancements
1211

1312
- `names()` function is introduced replacing `datanames`.

R/deprecated.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#' @export
2121
datanames <- function(x) {
2222
lifecycle::deprecate_soft(
23-
when = "0.6.1",
23+
when = "0.7.0",
2424
what = "datanames()",
2525
with = "names()"
2626
)
@@ -31,7 +31,7 @@ datanames <- function(x) {
3131
#' @export
3232
`datanames<-` <- function(x, value) {
3333
lifecycle::deprecate_soft(
34-
when = "0.6.1",
34+
when = "0.7.0",
3535
what = "`datanames<-`()",
3636
details = "invalid to use `datanames()<-` or `names()<-` on an object of class `teal_data`. See ?names.teal_data"
3737
)
@@ -43,7 +43,7 @@ datanames <- function(x) {
4343
#' @keywords internal
4444
`names<-.teal_data` <- function(x, value) {
4545
lifecycle::deprecate_warn(
46-
when = "0.6.1",
46+
when = "0.7.0",
4747
what = "`names<-.teal_data`()",
4848
details = "invalid to use `datanames()<-` or `names()<-` on an object of class `teal_data`. See ?names.teal_data"
4949
)

R/teal_data-constructor.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,22 @@
1919
#' @details
2020
#'
2121
#' A `teal_data` is meant to be used for reproducibility purposes. The class inherits from
22-
#' [`teal.data::qenv`] and we encourage to get familiar with \CRANpkg{teal.code} first.
22+
#' [`teal.code::qenv`] and we encourage to get familiar with \CRANpkg{teal.code} first.
2323
#' `teal_data` has following characteristics:
2424
#'
2525
#' - It inherits from the environment and methods such as [`$`], [get()], [ls()], [as.list()],
2626
#' [parent.env()] work out of the box.
2727
#' - `teal_data` is a locked environment, and data modification is only possible through the
28-
#' [teal.code::eval_code()] and [within.qenv()] functions.
29-
#' - It stores metadata about the code used to create the data (see [get_code()]).
28+
#' [teal.code::eval_code()] and [`within.qenv()`][teal.code::within.qenv()] functions.
29+
#' - It stores metadata about the code used to create the data (see [`get_code()`][get_code,teal_data-method]).
3030
#' - It supports slicing (see [`teal.code::subset-qenv`])
3131
#' - Is immutable which means that each code evaluation does not modify the original `teal_data`
3232
#' environment directly.
3333
#' - It maintains information about relationships between datasets (see [join_keys()]).
3434
#'
3535
#' @return A `teal_data` object.
3636
#'
37-
#' @seealso [`teal.code::eval_code`], [get_code()], [join_keys()], [names.teal_data()]
37+
#' @seealso [`teal.code::eval_code`], [`get_code()`][get_code,teal_data-method], [join_keys()], [names.teal_data()]
3838
#'
3939
#' @export
4040
#'

R/teal_data-get_code.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ setMethod("get_code",
112112
definition = function(object, deparse = TRUE, names = NULL, datanames = lifecycle::deprecated(), ...) {
113113
if (lifecycle::is_present(datanames)) {
114114
lifecycle::deprecate_warn(
115-
when = "0.6.1",
115+
when = "0.7.0",
116116
what = "teal.data::get_code(datanames)",
117117
with = "teal.code::get_code(names)",
118118
always = TRUE

man/teal_data.Rd

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

0 commit comments

Comments
 (0)