rd_link_fn_other_pkg_name: Link To Function (Another Package, Show Name)

View source: R/format-rd.R

rd_link_fn_other_pkg_nameR Documentation

Link To Function (Another Package, Show Name)

Description

Surround selected text (in the form 'package::function') with Rd markup that links to a function in another package and shows that package's name.

Usage

rd_link_fn_other_pkg_name()

Details

  • User-selected text: package::function

  • Result of function: \code{\link[package:function]}

  • Example output with no text selection: \code{\link[:]}

References

The Writing R Extensions manual.


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