Skip to content

Commit

Permalink
Remove arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
llrs-roche committed Nov 8, 2024
1 parent a3d9a0f commit 36b9e11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
16 changes: 1 addition & 15 deletions R/FilteredData-utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
#'
#' @param x (`named list`) of datasets.
#' @param join_keys (`join_keys`) see [`teal.data::join_keys()`].
#' @param code `r lifecycle::badge("deprecated")`
#' @param check `r lifecycle::badge("deprecated")`
#'
#' @return Object of class `FilteredData`.
#'
Expand All @@ -14,21 +12,9 @@
#' datasets
#'
#' @export
init_filtered_data <- function(x, join_keys = teal.data::join_keys(), code, check) { # nolint
init_filtered_data <- function(x, join_keys = teal.data::join_keys()) { # nolint
checkmate::assert_list(x, any.missing = FALSE, names = "unique")
checkmate::assert_class(join_keys, "join_keys")
if (!missing(code)) {
lifecycle::deprecate_stop(
"0.5.0",
"init_filtered_data(code = 'No longer supported')"
)
}
if (!missing(check)) {
lifecycle::deprecate_stop(
"0.5.0",
"init_filtered_data(check = 'No longer supported')"
)
}
FilteredData$new(x, join_keys = join_keys)
}

Expand Down
6 changes: 1 addition & 5 deletions man/init_filtered_data.Rd

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

0 comments on commit 36b9e11

Please sign in to comment.