Rdpack (version 0.4-20)

Rdo_remove_srcref: Remove srcref attributes from Rd objects

Description

Removes srcref attributes from Rd objects.

Usage

Rdo_remove_srcref(rdo)

Arguments

rdo
an Rd object

Value

an Rd object with no srcref attributes.

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 removes traverses he argument and removes the srcref attribute from all of its elements.