Skip to content

Commit

Permalink
DS-2498: Fix typo in warning
Browse files Browse the repository at this point in the history
  • Loading branch information
chschan committed Jan 30, 2020
1 parent 3f86011 commit 61ccdbb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/estimationdata.R
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ EstimationData <- function(formula = NULL,
levels.diff <- setdiff(levels.pre, levels.post)
if (length(levels.diff) > 0)
{
labls <- paste(levels.diff, collapse = ", ")
warning("Some categories do not appear in the data: ", labls,
". This may be because they are empty in the raw data, or ",
labls <- paste(levels.diff, collapse = "', '")
warning("Some categories do not appear in the data: '", labls,
"'. This may be because they are empty in the raw data, or ",
"because they are empty after any weights, filters/subsets, ",
"or missing data settings are applied. This may cause an error. ",
"It is recommended that you merge categories prior to estimating",
Expand Down

0 comments on commit 61ccdbb

Please sign in to comment.