Skip to content

Commit

Permalink
minor fix to renew
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewphamilton committed Nov 4, 2024
1 parent 96dd80d commit 2783a6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions R/mthd_renew.R
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ methods::setMethod("renew", "Ready4useDyad", function (x, arrange_by_1L_chr = c(
var_ctg_chr = "Uncategorised", vars_chr = character(0), what_1L_chr = c("all",
"dataset", "dictionary"), ...)
{
arrange_by_1L_chr <- match.arg(arrange_by_1L_chr)
type_1L_chr <- match.arg(type_1L_chr)
what_1L_chr <- match.arg(what_1L_chr)
assertthat::assert_that((is.list(dictionary_lups_ls) & (dictionary_lups_ls %>%
Expand Down
1 change: 1 addition & 0 deletions data-raw/s4_fns/renew.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ renew_Ready4useDyad <- function(x,
vars_chr = character(0),
what_1L_chr = c("all", "dataset", "dictionary"),
...){
arrange_by_1L_chr <- match.arg(arrange_by_1L_chr)
type_1L_chr <- match.arg(type_1L_chr)
what_1L_chr <- match.arg(what_1L_chr)
assertthat::assert_that((is.list(dictionary_lups_ls) & (dictionary_lups_ls %>% purrr::map_lgl(~ready4show::is_ready4show_correspondences(.x)) %>% all())),
Expand Down

0 comments on commit 2783a6b

Please sign in to comment.