Skip to content

Commit cc17c8b

Browse files
committed
fix lintr
1 parent 8423110 commit cc17c8b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

R/qenv-eval_code.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ setMethod("eval_code", signature = c("qenv", "character"), function(object, code
4040
current_messages <- rep("", length(parsed_code))
4141

4242

43-
for (i in 1:length(parsed_code)) {
43+
for (i in seq_along(parsed_code)) {
4444
single_call <- parsed_code[i]
4545
# Using withCallingHandlers to capture warnings and messages.
4646
# Using tryCatch to capture the error and abort further evaluation.

R/qenv-subset.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
setGeneric("subset", function(object, names) standardGeneric("subset"))
2424

2525
setMethod("subset", signature = c("qenv"), function(object, names) {
26-
# based on https://github.com/insightsengineering/teal/blob/a1087d2d3ff0c62393c3d5277cd5f184d543e2d9/R/teal_data_utils.R#L41-L64
2726
checkmate::assert_class(names, "character")
2827
names_in_env <- intersect(names, ls(get_env(object)))
2928
if (!length(names_in_env)) {

0 commit comments

Comments
 (0)