File: Rdo_remove_srcref.Rd

package info (click to toggle)
r-cran-rdpack 2.6.6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,156 kB
  • sloc: sh: 13; makefile: 4
file content (31 lines) | stat: -rw-r--r-- 916 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
\name{Rdo_remove_srcref}
\alias{Rdo_remove_srcref}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Remove srcref attributes from Rd objects}
\description{Removes srcref attributes from Rd objects.}
\usage{
Rdo_remove_srcref(rdo)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
  \item{rdo}{an Rd object}
}
\details{
  \code{srcref} attrbutes (set by \code{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 \code{srcref} attribute from all of its elements.
}
\value{
  an Rd object with no srcref attributes.
}

\author{Georgi N. Boshnakov}


%% ~Make other sections like Warning with \section{Warning }{....} ~


% Add one or more standard keywords, see file 'KEYWORDS' in the
% R documentation directory.
\keyword{RdoProgramming}