R/pause.R

Defines functions pause

Documented in pause

#' Pause
#'
#' @return A \code{\link{data.frame}}.
#' @family bits and pieces
#' @template return_invisibly_null
#' @export
#' @examples
#' pause()
pause <- function() {
    if (interactive())
        invisible(readline(prompt = "Press [enter] to continue: "))
    return(invisible(NULL))
}

Try the fritools package in your browser

Any scripts or data that you put into this service are public.

fritools documentation built on June 8, 2025, 11:59 a.m.