tests/testthat/resources/modules.R
raw| 1 | module({ |
| 2 | import("A") |
| 3 | import(B) |
| 4 | import(from = "C") |
| 5 | import(symbol, from = D) |
| 6 | }) |
| 7 | |
| 8 | # NOTE: these should be ignored as they are not |
| 9 | # called within a module block |
| 10 | import("e") |
| 11 | import(f) |
| 12 | |
| 13 | # NOTE: fully scoped modules::import calls should |
| 14 | # be added to dependencies |
| 15 | modules::import("G") |
| 16 | modules::import(H) |
| 17 |