We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 109877d commit 3e4582eCopy full SHA for 3e4582e
R/qenv-get_warnings.R
@@ -37,7 +37,7 @@ setMethod("get_warnings", signature = c("qenv"), function(object) {
37
idx_warn <- which(sapply(warnings, Negate(is.null)))
38
warnings <- warnings[idx_warn]
39
code <- object@code[idx_warn]
40
- if (length(unlist(warnings)) == 0) {
+ if (length(warnings) == 0) {
41
return(NULL)
42
}
43
0 commit comments