Skip to content

Commit 0372a05

Browse files
committed
Fix lintr job
1 parent 9a10944 commit 0372a05

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

R/helpers.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ log_eval <- function(expr, level = TRACE, multiline = FALSE) {
7272

7373
## return the results of the call
7474
if (res$visible == TRUE) {
75-
return(res$value)
75+
res$value
7676
} else {
77-
return(invisible(res$value))
77+
invisible(res$value)
7878
}
7979
}
8080

R/layouts.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ layout_syslognet <- structure(
429429
"DEBUG" = "DEBUG",
430430
"TRACE" = "DEBUG"
431431
)
432-
return(ret)
432+
ret
433433
},
434434
generator = quote(layout_syslognet())
435435
)

0 commit comments

Comments
 (0)