When I use @describeIn
or @rdname
to document a variant of a function, the variant doesn't get exported. Is there a tag I can place in the roxygen skeleton to change this, or do I need to go directly into the NAMESPACE?
#' Title
#'
#' @return
#' @export
#'
#' @examples
foo <- function() {
"foo"
}
#' @rdname foo A variant
#'
#' @export
bar <- function() foo()
When I attach this package, I can call foo
just fine, but trying to call bar
results in Error: could not find function "bar"
.