Skip to content

Commit

Permalink
uniqueness
Browse files Browse the repository at this point in the history
  • Loading branch information
heike committed May 25, 2024
1 parent 109d592 commit 4e6b177
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/helper.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ identify_lands <- function(words) {
difflist <- purrr::discard(difflist, is.null)
# transpose back and make 'word'
difflist <- difflist %>% purrr::list_transpose() %>% purrr::map_chr(paste, collapse="")

make.unique(difflist, unique=TRUE) # make sure that something is there and it is different
if (length(words) != length(difflist)) browser()
make.unique(difflist) # make sure that something is there and it is different
}


Expand Down

0 comments on commit 4e6b177

Please sign in to comment.