Skip to content

Commit

Permalink
fix: typo in closing brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
luciorq committed Nov 21, 2024
1 parent e0f6a85 commit 8e71230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/tools/R/QC.R
Original file line number Diff line number Diff line change
Expand Up @@ -2387,7 +2387,7 @@ checkTopLevelCall <- function(expr, fun_name) {
fun_name <- as.name(fun_name)
fun_called <- expr[[1]]
if (is.call(fun_called)) {
inner_called <- fun_called[[1]
inner_called <- fun_called[[1]]
if (identical(inner_called, quote(`:::`)) ||
identical(inner_called, quote(`::`))) {
fun_called <- fun_called[[3]]
Expand Down

0 comments on commit 8e71230

Please sign in to comment.