Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

210 depracate datanames in teal.data::get_code #342

Closed
wants to merge 18 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
c8a448c
test for ; case
m7pr Jan 18, 2024
a942d60
merge
m7pr Jan 18, 2024
d276477
Merge branch 'main' of https://github.com/insightsengineering/teal.data
m7pr Jan 22, 2024
d2727d4
Merge branch 'main' of https://github.com/insightsengineering/teal.data
m7pr Jan 24, 2024
3fa1a8d
Merge branch 'main' of https://github.com/insightsengineering/teal.data
m7pr Jan 26, 2024
b4d1d9f
Merge branch 'main' of https://github.com/insightsengineering/teal.data
m7pr Feb 1, 2024
fc2e59e
Merge branch 'main' of https://github.com/insightsengineering/teal.data
m7pr Feb 5, 2024
484915e
Merge branch 'main' of https://github.com/insightsengineering/teal.data
m7pr Feb 6, 2024
a53e3a1
Merge branch 'main' of https://github.com/insightsengineering/teal.data
m7pr Feb 22, 2024
3c98a37
Merge branch 'main' of https://github.com/insightsengineering/teal.data
m7pr Mar 20, 2024
f195d1c
Merge branch 'main' of https://github.com/insightsengineering/teal.data
m7pr May 8, 2024
c0d8065
Merge branch 'main' of https://github.com/insightsengineering/teal.data
m7pr May 14, 2024
4eeca16
Merge branch 'main' of https://github.com/insightsengineering/teal.data
m7pr Jul 30, 2024
b29e4a9
Merge branch 'main' of https://github.com/insightsengineering/teal.data
m7pr Aug 14, 2024
82659c8
Merge branch 'main' of https://github.com/insightsengineering/teal.data
m7pr Aug 27, 2024
efb6f1e
Merge branch 'main' of https://github.com/insightsengineering/teal.data
m7pr Aug 30, 2024
8c99ab6
Merge remote-tracking branch 'origin/main'
m7pr Sep 30, 2024
e4187e5
depreceta datanames in teal.data::get_code
m7pr Oct 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# teal.data 0.6.0.9012

### Deprecations

- `get_code(datanames)` `S4` method parameter for `teal_data()` object was soft deprecated. Use `get_code(names)`.


### Enhancements

- `datanames()`
Expand Down
3 changes: 2 additions & 1 deletion R/teal_data-get_code.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' Get code from `teal_data` object
#'
#' Retrieve code from `teal_data` object.
#' `r lifecycle::badge("deprecated")` Retrieve code from `teal_data` object.
#'
#' Retrieve code stored in `@code`, which (in principle) can be used to recreate all objects found in `@env`.
#' Use `datanames` to limit the code to one or more of the datasets enumerated in `@datanames`.
Expand Down Expand Up @@ -108,6 +108,7 @@ setMethod("get_code", signature = "teal_data", definition = function(object, dep
checkmate::assert_flag(deparse)

code <- if (!is.null(datanames)) {
warning("get_code(datanames) was deprecated in teal.data 0.6.1, use get_code(names) instead.")
get_code_dependency(object@code, datanames, ...)
} else {
object@code
Expand Down
2 changes: 1 addition & 1 deletion man/get_code.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading