tests/testthat/testRawNamespace/R/a.R

#' @import graphics
#' @rawNamespace
#' if (TRUE) {
#'   import(grDevices)
#' } else {
#'   import(methods)
#' }
#' @import utils
NULL

Try the roxygen2 package in your browser

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

roxygen2 documentation built on June 28, 2024, 9:11 a.m.