Rdo_remove_srcref: Remove srcref attributes from Rd objects

View source: R/utils.R

Rdo_remove_srcrefR Documentation

Remove srcref attributes from Rd objects

Description

Removes srcref attributes from Rd objects.

Usage

Rdo_remove_srcref(rdo)

Arguments

rdo

an Rd object

Details

srcref attrbutes (set by parse_Rd) may be getting in the way during manipulation of Rd objects, such as comparisons, addition and replacement of elements. This function traverses the argument and removes the srcref attribute from all of its elements.

Value

an Rd object with no srcref attributes.

Author(s)

Georgi N. Boshnakov


GeoBosh/Rdpack documentation built on Nov. 11, 2023, 5:22 p.m.