tests/testthat/mod/reexport.r

#' @export
a = 'reexport$a'

box::use(./reexport_sub[a, b, c, d])

b = 'reexport$b'

#' @export
c = 'reexport$c'

#' @export
box::use(
    sub = ./reexport_sub[d = c, e = b]
    , # Keep trailing comma to test regression of fix for #263.
)

Try the box package in your browser

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

box documentation built on May 2, 2023, 9:14 a.m.