docvar: cats a string representation of a variable's structure, and...

View source: R/lib_other.R

docvarR Documentation

cats a string representation of a variable's structure, and puts it on the clipboard if desired, to be pasted in roxygen doc

Description

cats a string representation of a variable's structure, and puts it on the clipboard if desired, to be pasted in roxygen doc

Usage

docvar(var, type = "return", cb = TRUE)

Arguments

var

the variable you wish to document

type

is it roxygen 'param' or 'return'?

cb

TRUE FALSE : put doc on clipboard

Value

a string documenting the variable


jorritvm/jrutils documentation built on Feb. 14, 2023, 11:33 p.m.