Skip to main content

reexport_fragment

Function reexport_fragment 

Source
fn reexport_fragment(entries: &[ReexportEntry]) -> Option<WrapperFragment>
Expand description

The re-exports of every reexport! as one fragment, None without any: for each pkg::name, roxygen2’s re-export block

# Generated from Rust `reexport!` of `generics::tidy` (fits.rs:3:11)
#' @importFrom generics tidy
#' @export
generics::tidy

from which roxygen2 writes importFrom(generics,tidy) and export(tidy) to NAMESPACE and an alias to man/reexports.Rd. A pkg::name that several items name is written once, its header listing their sites. The blocks are sorted by package, then name.

A name re-exported from two packages gets a block for each here; reexport_conflicts refuses it with the other problems once the file is assembled.