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 #341

Closed
wants to merge 18 commits into from
Closed

Conversation

m7pr
Copy link
Contributor

@m7pr m7pr commented Oct 16, 2024

Part of insightsengineering/teal.code#210, deprecates the usage of datanames parameter in teal.data::get_code(datanames) in favour of teal.code::get_code(names).

@m7pr m7pr added the core label Oct 16, 2024
checkmate::assert_character(datanames, min.len = 1L, null.ok = TRUE)
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.")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was unlucky setting lifecycle for S4 method

lifecycle::deprecate_soft(
when = "0.6.1",
what = "get_code(datanames)",
with = "get_code(names)"
)

@m7pr m7pr closed this Oct 16, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Oct 16, 2024
@m7pr m7pr deleted the 210_depracate@main branch October 16, 2024 10:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant