Skip to content

Commit

Permalink
Fix warning [revdep skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinCCYap committed Jul 6, 2022
1 parent 1ec08b6 commit 912e01c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/mergedatasetsbycase.R
Original file line number Diff line number Diff line change
Expand Up @@ -2359,7 +2359,8 @@ combineAsNonCategoricalVariable <- function(var.list, data.sets, v.types)
else
return(combineAsTextVariable(var.list, data.sets, v.types))
}
else if (unique.v.types == TEXT.VARIABLE.TYPE)
else if (length(unique.v.types) == 1 &&
unique.v.types == TEXT.VARIABLE.TYPE)
{
return(combineAsTextVariable(var.list, data.sets, v.types))
}
Expand Down

0 comments on commit 912e01c

Please sign in to comment.