diff options
author | Matth?us G. Chajdas <dev@anteru.net> | 2019-11-10 13:56:53 +0100 |
---|---|---|
committer | Matth?us G. Chajdas <dev@anteru.net> | 2019-11-10 13:56:53 +0100 |
commit | 1dd3124a9770e11b6684e5dd1e6bc15a0aa3bc67 (patch) | |
tree | 87a171383266dd1f64196589af081bc2f8e497c3 /tests/examplefiles/example.Rd | |
parent | f1c080e184dc1bbc36eaa7cd729ff3a499de568a (diff) | |
download | pygments-master.tar.gz |
Diffstat (limited to 'tests/examplefiles/example.Rd')
-rw-r--r-- | tests/examplefiles/example.Rd | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/tests/examplefiles/example.Rd b/tests/examplefiles/example.Rd deleted file mode 100644 index 2b8de0b8..00000000 --- a/tests/examplefiles/example.Rd +++ /dev/null @@ -1,78 +0,0 @@ -\name{foo} -\alias{foo} -% I'm a comment -\title{The foo function} - -\description{It doesn't do much} - -\usage{ -foo(x, y) -} - -\arguments{ - \item{x}{A number} - \item{y}{Another number} -} -\details{ - I just adds \code{x} and \code{y}, -} -\value{\code{numeric}. The sum of \code{x} and \code{y}.} -\references{ - \href{http://en.wikipedia.org/wiki/Sum}{Sum} -} -\author{ - Anonymous -} -\note{ - Lorem ipsum \dots \R \emph{emp}, \strong{strong}, \bold{bold}, - \sQuote{single quotes}, \dQuote{double quotes}, \code{code}, - \preformatted{x <- 2 + 2}, \kbd{type this}, \samp{literal seq}, - \pkg{base}, \file{foo.txt}, \email{email@hostname}, - \url{http://cran.r-project.org/}, \var{foo}, \env{HOME}, - \option{-d}, \dfn{something new}, \acronym{GNU}. - - Escaped symbols: \\ \{ \} \% not comment. \\NotAMacro. - - \tabular{rlll}{ - [,1] \tab alpha \tab numeric \tab A (ppb)\cr - [,2] \tab bravo \tab integer \tab B \cr - [,3] \tab charlie \tab character \tab C \cr - } - \enumerate{ - \item delta - \item echo - } - \itemize{ - \item foxtrot - \item golf - } - - \deqn{p(x; \mu, \sigma^2) = \frac{1}{\sigma \sqrt{2 \pi}} \exp \frac{-(x - \mu)^2}{2 \sigma}{% - p(\mu; x) = 1/\sigma (2 \pi)^(-1/2) exp( -(x - \mu)^2 / (2 \sigma)) } - for \eqn{x = 0, 1, 2, \ldots}. - - \if{latex}{\out{\beta}}\ifelse{html}{\out{β}}{beta} - -#ifdef unix -Now windows -#endif -#ifndef windows -Using windows -#endif - -} -\section{Misc}{ - Stuff. -} - -\seealso{ - \code{\link{sum}} -} -\examples{ -x <- 1 -y <- 2 -z <- foo(x, y) -\dontrun{plot(z)} -\dontshow{log(x)} -} -\keyword{arith} |