Skip to content

Commit

Permalink
Add call.=FALSE
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Dec 5, 2023
1 parent 7898ae9 commit 8ce15c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/piping-ini.R
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@
if (length(.w) != 1) {
stop("cannot find parameter '", lhs, "'", call.=FALSE)
} else if (!is.character(newLabel) || !(length(newLabel) == 1)) {
stop("the new label for '", lhs, "' must be a character string")
stop("the new label for '", lhs, "' must be a character string",
call.=FALSE)
}
ini$label[.w] <- newLabel
assign("iniDf", ini, envir=rxui)
Expand Down

0 comments on commit 8ce15c4

Please sign in to comment.