MCPcopy
hub / github.com/plotly/dash / wrap

Function wrap

dash/development/_r_components_generation.py:360–363  ·  view source on GitHub ↗
(tag, code)

Source from the content-addressed store, hash-verified

358# This method wraps code within arbitrary LaTeX-like tags, which are used
359# by R's internal help parser for constructing man pages
360def wrap(tag, code):
361 if tag == "":
362 return code
363 return "\\{}{{\n{}}}".format(tag, code)
364
365
366def write_help_file(name, props, description, prefix, rpkg_data):

Callers 1

write_help_fileFunction · 0.70

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…