Skip to content

Commit

Permalink
Updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasPietzschmann committed Aug 30, 2024
1 parent 0e46211 commit 8604251
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/visit.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' Visits the set of nodes and all of their children, invoking the callback for each visited node
#'
#' @param nodes The list or array of nodes to visit
#' @param callback The callback function to invoke for each node
#' @param callback The callback function to invoke for each node. The callback should return TRUE to continue visiting the children of the node, or FALSE to stop visiting the children of the node.
#'
#' @export
visit_nodes <- function(nodes, callback) {
Expand All @@ -15,7 +15,7 @@ visit_nodes <- function(nodes, callback) {
#' Visits the given node and all of their children, invoking the callback for each visited node
#'
#' @param node The node to visit
#' @param callback The callback function to invoke for each node
#' @param callback The callback function to invoke for each node. The callback should return TRUE to continue visiting the children of the node, or FALSE to stop visiting the children of the node.
#'
#' @export
visit_node <- function(node, callback) {
Expand Down
2 changes: 1 addition & 1 deletion man/visit_node.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/visit_nodes.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8604251

Please sign in to comment.