Skip to content

Commit

Permalink
chore: fix partial arg matches
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhav committed Nov 6, 2023
1 parent 37e5df3 commit b2c1781
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/resolve.R
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
#' teal.transform:::resolve(arm_ref_comp, data_list, keys)
#' })
resolve <- function(x, datasets, keys = NULL) {
checkmate::assert_list(datasets, type = "reactive", min.len = 1, names = "named")
checkmate::assert_list(datasets, types = "reactive", min.len = 1, names = "named")
checkmate::assert_list(keys, "character", names = "named", null.ok = TRUE)
checkmate::assert(
.var.name = "keys",
Expand Down
2 changes: 1 addition & 1 deletion R/resolve_delayed.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ resolve_delayed.FilteredData <- function(x,

#' @export
resolve_delayed.list <- function(x, datasets, keys = NULL) {
checkmate::assert_list(datasets, type = c("reactive", "data.frame"), min.len = 1, names = "named")
checkmate::assert_list(datasets, types = c("reactive", "data.frame"), min.len = 1, names = "named")
checkmate::assert_list(keys, "character", names = "named", null.ok = TRUE)
checkmate::assert(
.var.name = "keys",
Expand Down

0 comments on commit b2c1781

Please sign in to comment.