Skip to content

Commit

Permalink
Update all_equal_dim_names() not to warn
Browse files Browse the repository at this point in the history
  • Loading branch information
UchidaMizuki committed Jun 22, 2024
1 parent 92533ad commit 21a2d25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ all_equal_dim_names <- function(target, current) {
if (identical(names(target), names(current))) {
all(purrr::map2_lgl(target, current,
function(target, current) {
isTRUE(all.equal(target, current))
vec_size(target) == vec_size(current) &&
all(target == current)
}))
} else {
FALSE
Expand Down

0 comments on commit 21a2d25

Please sign in to comment.