Skip to content

Commit 3e4582e

Browse files
m7prgogonzo
andauthored
Update R/qenv-get_warnings.R
Co-authored-by: Dawid Kałędkowski <[email protected]> Signed-off-by: Marcin <[email protected]>
1 parent 109877d commit 3e4582e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/qenv-get_warnings.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ setMethod("get_warnings", signature = c("qenv"), function(object) {
3737
idx_warn <- which(sapply(warnings, Negate(is.null)))
3838
warnings <- warnings[idx_warn]
3939
code <- object@code[idx_warn]
40-
if (length(unlist(warnings)) == 0) {
40+
if (length(warnings) == 0) {
4141
return(NULL)
4242
}
4343

0 commit comments

Comments
 (0)