tests/testthat/resources/modules.R

module({
	import("A")
	import(B)
	import(from = "C")
	import(symbol, from = D)
})

# NOTE: these should be ignored as they are not
# called within a module block
import("e")
import(f)

# NOTE: fully scoped modules::import calls should
# be added to dependencies
modules::import("G")
modules::import(H)

Try the renv package in your browser

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

renv documentation built on Sept. 19, 2023, 9:06 a.m.