Skip to contents

Fills in the title, description, value argument, and properties of every exported new_enum() class from the class itself. Extends roxygen2's rd roclet, so it replaces "rd" rather than running alongside it.

Usage

enum_roclet()

Value

A roxygen2 roclet.

Details

Enable it in the DESCRIPTION of the package being documented:

Roxygen: list(markdown = TRUE, roclets = c("collate", "namespace", "s7x::enum_roclet"))

Any tag written by hand wins. A block with its own title keeps that title, and only the missing pieces are generated.

Examples

enum_roclet()
#> Error in loadNamespace(x): there is no package called ‘roxygen2’