Skip to content

Commit 7d28dd4

Browse files
committed
feat: better wording for no variable error
1 parent 3c43d74 commit 7d28dd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/R/checks.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ check_novar <- function(dt_input, InputCollect = NULL) {
3535
novar <- lares::zerovar(dt_input)
3636
if (length(novar) > 0) {
3737
msg <- sprintf(
38-
"There are %s column(s) with no-variance: %s. \nPlease, remove variable(s) to proceed...",
38+
"There are %s column(s) with no-variance: %s. \nPlease, remove the variable(s) to proceed...",
3939
length(novar), v2t(novar)
4040
)
4141
if (!is.null(InputCollect)) msg <- sprintf(
42-
"%s\nNote that there's no variance when filtering the modeling window (%s:%s)",
42+
"%s\n>>> Note: there's no variance on these variables because of the modeling window filter (%s:%s)",
4343
msg,
4444
InputCollect$window_start,
4545
InputCollect$window_end

0 commit comments

Comments
 (0)