Skip to content

Commit

Permalink
ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
heike committed May 25, 2024
1 parent b3c4b64 commit ed6a1fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/helper.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

identify_lands <- function(words) {
# create a list of distinguishing elements between names
if (length(words == 1)) return(1)

if (length(words) == 1) return(1)

# split each word by character and transpose
list <- strsplit(words, split="")
Expand All @@ -18,7 +19,7 @@ identify_lands <- function(words) {

identify_bullet <- function(words) {
# create a list of the same elements between names
if (length(words == 1)) return(words)
if (length(words) == 1) return(words)

# split each word by character and transpose
list <- strsplit(words, split="")
Expand Down

0 comments on commit ed6a1fa

Please sign in to comment.