notice_status: Notice running r code evaluate status.

Description Usage Arguments Examples

View source: R/notice_status.R

Description

Notice running r code evaluate status.

Usage

1
notice_status(expr = NULL, msg = NULL, timing = 2)

Arguments

expr

any syntactically valid R expression

msg

oracle messsage by R (string)

timing

when display oracle messsage after evaluation.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## Not run: 
notice_status(head(iris))

# With chunk statement
mtcars %>% dplyr::select(mpg, cyl, disp) %>%
dplyr::mutate(disp2 = disp / 2) %>%
  head() %>%
    notice_status()

plot(iris$Sepal.Length, iris$Petal.Width) %>%
  notice_status(msg = "DONE!")

library(ggplot2)
ggplot(iris, aes(Sepal.Length, Petal.Width)) +
geom_point() %>%
notice_status()

## End(Not run)

uribo/roracle documentation built on May 3, 2019, 2:37 p.m.