Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cliappenv$pid <- Sys.getpid()
#' @param .envir The environment to use, instead of the calling frame,
#' to trigger the stop of the app.
#' @param app App to stop. If `NULL`, the current default app is stopped.
#' Otherwise we find the supplied app in the app stack, and remote it,
#' Otherwise we find the supplied app in the app stack, and remove it,
#' together with all the apps above it.
#' @return
#' `start_app` returns the new app, `default_app` returns the default app.
Expand Down
4 changes: 2 additions & 2 deletions R/cli.R
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ cli_verbatim <- function(..., .envir = parent.frame()) {
#' themes.
#' @param .envir Environment to evaluate the glue expressions in.
#'
#' @seealso These functions supports [inline markup][inline-markup].
#' @seealso These functions support [inline markup][inline-markup].
#' @family functions supporting inline markup
#' @export

Expand Down Expand Up @@ -795,7 +795,7 @@ cli_li <- function(
#' @param wrap Whether to auto-wrap the text of the alert.
#' @param .envir Environment to evaluate the glue expressions in.
#'
#' @seealso These functions supports [inline markup][inline-markup].
#' @seealso These functions support [inline markup][inline-markup].
#' @family functions supporting inline markup
#' @export

Expand Down
16 changes: 16 additions & 0 deletions inst/include/cli/progress.h
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,22 @@ static R_INLINE void cli_progress_set_status(SEXP bar, const char *status);

static R_INLINE void cli_progress_set_type(SEXP bar, const char *type);

//' ### `cli_progress_sleep()`
//'
//' ```c
//' void cli_progress_sleep(int s, long ns);
//' ```
//'
//' Sleep for the specified amount of time. This function is mainly
//' useful in examples and tests, to simulate a computation that takes
//' some time. It respects the `CLI_SPEED_TIME` environment variable,
//' so automated tests can run faster.
//'
//' * `s`: number of seconds to sleep.
//' * `ns`: number of nanoseconds to sleep.

static R_INLINE void cli_progress_sleep(int s, long ns);

//' ### `cli_progress_update()`
//'
//' ```c
Expand Down
2 changes: 1 addition & 1 deletion man/cli_alert.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/cli_h1.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/start_app.Rd

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

Loading