rd_package: Format Package

View source: R/format-rd.R

rd_packageR Documentation

Format Package

Description

Surround selected text with Rd markup for package names.

Usage

rd_package()

Details

  • User-selected text: package

  • Result of function: \pkg{package}

  • Example output with no text selection: \pkg{}

References

The Writing R Extensions manual.


matt-dray/snorkel documentation built on Sept. 16, 2022, 8:22 p.m.