Skip to content

Commit

Permalink
avoid running meta_run in pkgodwn website
Browse files Browse the repository at this point in the history
  • Loading branch information
elong0527 committed Oct 24, 2023
1 parent 8ac8b51 commit 43fa6d6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
18 changes: 10 additions & 8 deletions R/meta_run.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,17 @@
#' @export
#'
#' @examples
#' meta <- meta_example()
#' ae_summary <- function(...) {
#' paste("results of", deparse(match.call(), nlines = 1))
#' if(interactive()){
#' meta <- meta_example()
#' ae_summary <- function(...) {
#' "results of ae_summary"
#' }
#' ae_specific <- function(...) {
#' "results of ae_specific"
#' }
#' meta_run(meta)
#' meta_run(meta, i = 2)
#' }
#' ae_specific <- function(...) {
#' paste("results of", deparse(match.call(), nlines = 1))
#' }
#' meta_run(meta)
#' meta_run(meta, i = 2)
meta_run <- function(meta, i = NULL, ...) {
if (is.null(i)) i <- 1:nrow(meta$plan)
call <- spec_call_program(meta, ...)
Expand Down
18 changes: 10 additions & 8 deletions man/meta_run.Rd

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

0 comments on commit 43fa6d6

Please sign in to comment.