tests/testthat/resources/emoji.R

# A package reference in a function argument default value.
# https://github.com/rstudio/packrat/issues/630
indirect <- function(x = emo::ji("see_no_evil")) {
  x
}

Try the packrat package in your browser

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

packrat documentation built on Sept. 8, 2023, 5:44 p.m.