Skip to content

Commit

Permalink
fix example code
Browse files Browse the repository at this point in the history
  • Loading branch information
maxheld83 committed Oct 9, 2024
1 parent 5484f97 commit 1c5af91
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/examples.R
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ roclet_output.roclet_elfReusableExamples <- function(x, results, base_path, ...)
}

#' An example documentation of a resuable example
#' @inheritDotParams paste
#' @elfReusableExamples lorem
#' paste2("ipsum, "dolor")
paste2 <- paste
#' paste2("ipsum", "dolor")
#' @noRd
paste2 <- function(...) paste(...)

0 comments on commit 1c5af91

Please sign in to comment.