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 Aug. 20, 2021, 5:07 p.m.