R: Remove srcref attributes from Rd objects

Rdo_remove_srcref {Rdpack} | R 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

[Package Rdpack version 0.10-1 Index]