Skip to content

Commit

Permalink
fix rcmdcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
gogonzo committed Feb 4, 2025
1 parent 51a1a0a commit 21d125d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils-get_code_dependency.R
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ graph_parser <- function(x, graph) {
dependency_occurrences <- lapply(dependencies, function(dependency) {
# track down dependencies and where they occur on the lhs in previous calls
last_x_occurrence <- max(which(occurrence))
reduced_graph <- head(graph[seq_len(last_x_occurrence)], -1)
reduced_graph <- utils::head(graph[seq_len(last_x_occurrence)], -1)
c(graph_parser(dependency, reduced_graph), last_x_occurrence)
})

Expand Down

0 comments on commit 21d125d

Please sign in to comment.