From noreply at r-forge.r-project.org Fri Dec 23 10:16:45 2011
From: noreply at r-forge.r-project.org (noreply at r-forge.r-project.org)
Date: Fri, 23 Dec 2011 10:16:45 +0100 (CET)
Subject: [Roxygen-commits] r264 - in pkg: . inst/doc inst/doc/pseudoprime
Message-ID: <20111223091645.57E279C150@r-forge.r-project.org>
Author: manuel
Date: 2011-12-23 10:16:44 +0100 (Fri, 23 Dec 2011)
New Revision: 264
Added:
pkg/inst/doc/roxygen.pdf
Removed:
pkg/inst/doc/Makefile
Modified:
pkg/.Rbuildignore
pkg/DESCRIPTION
pkg/inst/doc/index.html
pkg/inst/doc/pseudoprime/DESCRIPTION
pkg/inst/doc/roxygen.Rnw
Log:
Start the end of roxygen ...
Modified: pkg/.Rbuildignore
===================================================================
--- pkg/.Rbuildignore 2011-05-18 07:55:21 UTC (rev 263)
+++ pkg/.Rbuildignore 2011-12-23 09:16:44 UTC (rev 264)
@@ -1,2 +1,3 @@
sandbox
-patches
\ No newline at end of file
+patches
+src
\ No newline at end of file
Modified: pkg/DESCRIPTION
===================================================================
--- pkg/DESCRIPTION 2011-05-18 07:55:21 UTC (rev 263)
+++ pkg/DESCRIPTION 2011-12-23 09:16:44 UTC (rev 264)
@@ -1,5 +1,5 @@
Package: roxygen
-Version: 0.1-2
+Version: 0.1-3
License: GPL (>= 2)
Description: A Doxygen-like in-source documentation system for Rd,
collation, namespace and callgraphs.
Deleted: pkg/inst/doc/Makefile
===================================================================
--- pkg/inst/doc/Makefile 2011-05-18 07:55:21 UTC (rev 263)
+++ pkg/inst/doc/Makefile 2011-12-23 09:16:44 UTC (rev 264)
@@ -1,19 +0,0 @@
-PDF=roxygen.pdf roxygen-manual.pdf
-
-all: $(PDF)
-
-roxygen.tex: roxygen.Rnw
- R CMD Sweave roxygen.Rnw
-
-roxygen.pdf: roxygen.tex
- pdflatex roxygen && \
- bibtex roxygen && \
- pdflatex roxygen && \
- pdflatex roxygen
-
-roxygen-manual.pdf:
- rm -vf $@ && \
- R CMD Rd2dvi --no-preview --pdf -o $@ ../..
-
-clean:
- rm -fv $(PDF)
Modified: pkg/inst/doc/index.html
===================================================================
--- pkg/inst/doc/index.html 2011-05-18 07:55:21 UTC (rev 263)
+++ pkg/inst/doc/index.html 2011-12-23 09:16:44 UTC (rev 264)
@@ -13,8 +13,6 @@
- roxygen.pdf:
- Roxygen vignette
- - roxygen-manual.pdf:
- - Roxygen manual
- Compose-callgraph.pdf:
- Callgraph for
Compose()
- parse.file-callgraph.pdf:
Modified: pkg/inst/doc/pseudoprime/DESCRIPTION
===================================================================
--- pkg/inst/doc/pseudoprime/DESCRIPTION 2011-05-18 07:55:21 UTC (rev 263)
+++ pkg/inst/doc/pseudoprime/DESCRIPTION 2011-12-23 09:16:44 UTC (rev 264)
@@ -1,13 +1,13 @@
Package: pseudoprime
+Maintainer: Peter Danenberg
+License: GPL (>= 2)
+Title: Pseudoprimality with Fermat's little theorem
Type: Package
-Title: Pseudoprimality with Fermat's little theorem
-Version: 0.1
-Date: 2008-08-24
+LazyLoad: yes
Author: Peter Danenberg
-Maintainer: Peter Danenberg
Description: A probabilistic primality test using Fermat's little
theorem that is fooled every time by Carmichael numbers.
-License: GPL (>= 2)
-LazyLoad: yes
+Version: 0.1
+Date: 2008-08-24
Depends: roxygen
Collate: 'fermat.R' 'pseudoprime-package.R' 'pseudoprime.R'
Modified: pkg/inst/doc/roxygen.Rnw
===================================================================
--- pkg/inst/doc/roxygen.Rnw 2011-05-18 07:55:21 UTC (rev 263)
+++ pkg/inst/doc/roxygen.Rnw 2011-12-23 09:16:44 UTC (rev 264)
@@ -1,186 +1,186 @@
-\documentclass{article}
-\usepackage[utf8]{inputenc}
-\usepackage{fancyvrb}
-\usepackage[pdfborder={0 0 0}]{hyperref}
-\usepackage{url}
-\usepackage{upquote}
-\usepackage{graphicx}
-\usepackage{grffile}
-\usepackage{float}
-\usepackage{natbib}
-%% \VignetteIndexEntry{Roxygen Vignette}
-\newcommand{\Roxygen}{\texttt{Roxygen}}
-%% path, filename, caption, label
-\newcommand{\listing}[4]{ %
- \begin{figure}[H] %
- \centering %
- \VerbatimInput[numbers=left, %
- frame=single, %
- label=#2]{#1} %
- \caption{#3} %
- \label{#4} %
- \end{figure} %
-}
-\author{Peter Danenberg \url{}}
-\title{\Roxygen{} Vignette}
-\begin{document}
-\maketitle
-\begin{abstract}
- The purpose of the \Roxygen{} Vignette is to show how to get up and
- running with \Roxygen{}; for details, including a complete list of
- tags, consult the help pages or manual for:
- \begin{itemize}
- \item \texttt{make.callgraph.roclet}
- \item \texttt{make.collate.roclet}
- \item \texttt{make.namespace.roclet}
- \item \texttt{make.Rd.roclet}
- \end{itemize}
-\end{abstract}
-\tableofcontents
-\section{Minimal Example: ``Hello, Roxygen!''}
-
-\listing{hello-roxygen.R}
- {hello-roxygen.R}
- {Roxygen sanity-check}
- {hello-roxygen}
-
-\texttt{hello-roxygen.R} (fig. \ref{hello-roxygen}) is a minimal
-example to check the sanity of your \Roxygen{} installation. It merely
-replaces the package description so that `\texttt{R CMD check}' will
-run after \Roxygen{} has processed the package skeleton.
-
-First, create the package skeleton:
-<>=
-library(roxygen)
-package.skeleton('helloRoxygen',
- code_files='hello-roxygen.R',
- force=TRUE)
-@
-<>=
-roxygenize('helloRoxygen',
- roxygen.dir='helloRoxygen',
- copy.package=FALSE,
- unlink.target=FALSE)
-@
-then, run \Roxygen{} on the new directory:
-
-\begin{quote}
- \texttt{R CMD roxygen -d helloRoxygen}.
-\end{quote}
-
-A new \texttt{helloRoxygen/man/helloRoxygen-package.Rd} should have
-been created with the contents of figure \ref{hello-roxygen}; and
-`\texttt{R CMD check helloRoxygen}' should terminate successfully.
-
-\section{Example: Pseudoprimality}
-
-\subsection{Package Description}
-
-\listing{pseudoprime/R/pseudoprime-package.R}
- {pseudoprime-package.R}
- {Package description for \texttt{pseudoprime}}
- {pseudoprime-package}
-
-One could imagine, for instance, a less trivial package that actually
-does something; enter \texttt{pseudoprime}, a toy that tests for
-primes using Fermat's little
-theorem.\footnote{\href{http://en.wikipedia.org/wiki/Fermat\%27s_little_theorem}{http://en.wikipedia.org/wiki/Fermat\textquotesingle s\_little\_theorem}}
-
-A package description has been provided in figure
-\ref{pseudoprime-package}; notice the \texttt{roxygen()} statement in
-line 30: each \Roxygen{} description block must be followed by a
-statement, even header material that describes a file or package in
-lieu of a specific function. \texttt{roxygen()} is provided as a
-\texttt{NOOP} (null statement) to stand in for such cases.
-
-The first sentence of any \Roxygen{} block briefly describes its
-object; and may be followed directly by a \Roxygen{} tag
-(fig. \ref{hello-roxygen}, line 2) or a more detailed description
-(fig. \ref{pseudoprime-package}, line 3). The detailed description
-begins after the intervening blank line, and continues until the first
-\Roxygen{} tag (fig. \ref{pseudoprime-package}, line 19).
-
-Each \Roxygen{} tag begins with an asperand, like \texttt{@name},
-\texttt{@author}, etc.; which means, incidentally, that all real
-asperands have to be escaped with a double-asperand, as in
-\verb=\email{pcd@@roxygen.org}= (fig. \ref{pseudoprime-package}, line
-23).
-
-Furthermore, although \Roxygen{} tags replace many of the structural
-Rd elements such as \verb=\title=, \verb=\keyword=, etc.; stylistic Rd
-elements such as \verb=\emph= and \verb=\email= can be used freely
-within \Roxygen{} tags. See ``Writing R Extensions'' for
-details. \citep[\S2.3 ``Marking text'']{r-core}
-
-\subsection{Fermat Test}
-
-\listing{pseudoprime/R/fermat.R}
- {fermat.R}
- {Roxygen example \texttt{fermat.R}}
- {fermat}
-
-<>=
-roxygenize('pseudoprime',
- roxygen.dir='pseudoprime',
- copy.package=FALSE,
- unlink.target=FALSE)
-
-@
-
-When documenting functions (fig. \ref{fermat}), every parameter must
-be documented with a \texttt{@param} tag (line 8); which consists of
-\texttt{@param }. Similarly, the return value
-must be documented with \texttt{@return } (lines 9-10).
-
-Notice \texttt{@callGraphPrimitives} (line 11): it creates a call
-graph at the default depth similar to figure \ref{fermat-test},
-including primitive functions; \texttt{@callGraph}, on the other hand,
-would exclude primitive functions.\footnote{Note that this feature requires
-package {\tt Rgraphviz} $\geq 1.19.2$, and as of {\tt Roxygen} $0.1-1$
-the {\tt callgraph} feature is not automatically executed; see
-help for {\tt make.callgraph.roclet}.}
-
-\begin{figure}[H]
- \centering
- \includegraphics{pseudoprime/inst/doc/fermat.test-callgraph.pdf}
- \caption{\texttt{fermat.test} call graph with primitives}
- \label{fermat-test}
-\end{figure}
-
-\subsection{Pseudoprime}
-
-\listing{pseudoprime/R/pseudoprime.R}
- {pseudoprime.R}
- {Roxygen example \texttt{pseudoprime.R}}
- {pseudoprime}
-
-Notice the header in \texttt{pseudoprime.R} (fig. \ref{pseudoprime})
-terminated by \texttt{roxygen()}; \texttt{@include fermat.R} (line 1)
-signals that \texttt{fermat.R} should be loaded before
-\texttt{pseudoprime.R}. \Roxygen{} will update
-\texttt{DESCRIPTION} accordingly.
-
-\texttt{@export} (line 15) signifies that \texttt{is.pseudoprime} will
-be added to an export directive in \texttt{NAMESPACE}.
-
-\subsection{Running \Roxygen{}}
-
-Running \texttt{`R CMD roxygen -d pseudoprime'} populates \texttt{man}
-with Rd files, edits \texttt{DESCRIPTION} and \texttt{NAMESPACE}, and
-puts call graphs in \texttt{inst/doc}:
-
-<>=
-roxygenize('pseudoprime',
- roxygen.dir='pseudoprime',
- copy.package=FALSE,
- unlink.target=FALSE)
-
-@
-
-The \texttt{roxygenize} function is an alternative to \texttt{`R CMD
- roxygen'}; see the help page for details.
-
-
-\bibliographystyle{plainnat}
-\bibliography{roxygen}
-\end{document}
+\documentclass{article}
+\usepackage[utf8]{inputenc}
+\usepackage{fancyvrb}
+\usepackage[pdfborder={0 0 0}]{hyperref}
+\usepackage{url}
+\usepackage{upquote}
+\usepackage{graphicx}
+\usepackage{grffile}
+\usepackage{float}
+\usepackage{natbib}
+%% \VignetteIndexEntry{Roxygen Vignette}
+\newcommand{\Roxygen}{\texttt{Roxygen}}
+%% path, filename, caption, label
+\newcommand{\listing}[4]{ %
+ \begin{figure}[H] %
+ \centering %
+ \VerbatimInput[numbers=left, %
+ frame=single, %
+ label=#2]{#1} %
+ \caption{#3} %
+ \label{#4} %
+ \end{figure} %
+}
+\author{Peter Danenberg \url{}}
+\title{\Roxygen{} Vignette}
+\begin{document}
+\maketitle
+\begin{abstract}
+ The purpose of the \Roxygen{} Vignette is to show how to get up and
+ running with \Roxygen{}; for details, including a complete list of
+ tags, consult the help pages or manual for:
+ \begin{itemize}
+ \item \texttt{make.callgraph.roclet}
+ \item \texttt{make.collate.roclet}
+ \item \texttt{make.namespace.roclet}
+ \item \texttt{make.Rd.roclet}
+ \end{itemize}
+\end{abstract}
+\tableofcontents
+\section{Minimal Example: ``Hello, Roxygen!''}
+
+\listing{hello-roxygen.R}
+ {hello-roxygen.R}
+ {Roxygen sanity-check}
+ {hello-roxygen}
+
+\texttt{hello-roxygen.R} (fig. \ref{hello-roxygen}) is a minimal
+example to check the sanity of your \Roxygen{} installation. It merely
+replaces the package description so that `\texttt{R CMD check}' will
+run after \Roxygen{} has processed the package skeleton.
+
+First, create the package skeleton:
+<>=
+library(roxygen)
+package.skeleton('helloRoxygen',
+ code_files='hello-roxygen.R',
+ force=TRUE)
+@
+then, run \Roxygen{} on the new directory:
+<>=
+roxygenize('helloRoxygen',
+ roxygen.dir='helloRoxygen',
+ copy.package=FALSE,
+ unlink.target=FALSE)
+@
+%%\begin{quote}
+%% \texttt{R CMD roxygen -d helloRoxygen}.
+%%\end{quote}
+
+A new \texttt{helloRoxygen/man/helloRoxygen-package.Rd} should have
+been created with the contents of figure \ref{hello-roxygen}; and
+`\texttt{R CMD check helloRoxygen}' should terminate successfully.
+
+\section{Example: Pseudoprimality}
+
+\subsection{Package Description}
+
+\listing{pseudoprime/R/pseudoprime-package.R}
+ {pseudoprime-package.R}
+ {Package description for \texttt{pseudoprime}}
+ {pseudoprime-package}
+
+One could imagine, for instance, a less trivial package that actually
+does something; enter \texttt{pseudoprime}, a toy that tests for
+primes using Fermat's little
+theorem.\footnote{\href{http://en.wikipedia.org/wiki/Fermat\%27s_little_theorem}{http://en.wikipedia.org/wiki/Fermat\textquotesingle s\_little\_theorem}}
+
+A package description has been provided in figure
+\ref{pseudoprime-package}; notice the \texttt{roxygen()} statement in
+line 30: each \Roxygen{} description block must be followed by a
+statement, even header material that describes a file or package in
+lieu of a specific function. \texttt{roxygen()} is provided as a
+\texttt{NOOP} (null statement) to stand in for such cases.
+
+The first sentence of any \Roxygen{} block briefly describes its
+object; and may be followed directly by a \Roxygen{} tag
+(fig. \ref{hello-roxygen}, line 2) or a more detailed description
+(fig. \ref{pseudoprime-package}, line 3). The detailed description
+begins after the intervening blank line, and continues until the first
+\Roxygen{} tag (fig. \ref{pseudoprime-package}, line 19).
+
+Each \Roxygen{} tag begins with an asperand, like \texttt{@name},
+\texttt{@author}, etc.; which means, incidentally, that all real
+asperands have to be escaped with a double-asperand, as in
+\verb=\email{pcd@@roxygen.org}= (fig. \ref{pseudoprime-package}, line
+23).
+
+Furthermore, although \Roxygen{} tags replace many of the structural
+Rd elements such as \verb=\title=, \verb=\keyword=, etc.; stylistic Rd
+elements such as \verb=\emph= and \verb=\email= can be used freely
+within \Roxygen{} tags. See ``Writing R Extensions'' for
+details. \citep[\S2.3 ``Marking text'']{r-core}
+
+\subsection{Fermat Test}
+
+\listing{pseudoprime/R/fermat.R}
+ {fermat.R}
+ {Roxygen example \texttt{fermat.R}}
+ {fermat}
+
+<>=
+roxygenize('pseudoprime',
+ roxygen.dir='pseudoprime',
+ copy.package=FALSE,
+ unlink.target=FALSE)
+
+@
+
+When documenting functions (fig. \ref{fermat}), every parameter must
+be documented with a \texttt{@param} tag (line 8); which consists of
+\texttt{@param }. Similarly, the return value
+must be documented with \texttt{@return } (lines 9-10).
+
+Notice \texttt{@callGraphPrimitives} (line 11): it creates a call
+graph at the default depth similar to figure \ref{fermat-test},
+including primitive functions; \texttt{@callGraph}, on the other hand,
+would exclude primitive functions.\footnote{Note that this feature requires
+package {\tt Rgraphviz} $\geq 1.19.2$, and as of {\tt Roxygen} $0.1-1$
+the {\tt callgraph} feature is not automatically executed; see
+help for {\tt make.callgraph.roclet}.}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics{pseudoprime/inst/doc/fermat.test-callgraph.pdf}
+ \caption{\texttt{fermat.test} call graph with primitives}
+ \label{fermat-test}
+\end{figure}
+
+\subsection{Pseudoprime}
+
+\listing{pseudoprime/R/pseudoprime.R}
+ {pseudoprime.R}
+ {Roxygen example \texttt{pseudoprime.R}}
+ {pseudoprime}
+
+Notice the header in \texttt{pseudoprime.R} (fig. \ref{pseudoprime})
+terminated by \texttt{roxygen()}; \texttt{@include fermat.R} (line 1)
+signals that \texttt{fermat.R} should be loaded before
+\texttt{pseudoprime.R}. \Roxygen{} will update
+\texttt{DESCRIPTION} accordingly.
+
+\texttt{@export} (line 15) signifies that \texttt{is.pseudoprime} will
+be added to an export directive in \texttt{NAMESPACE}.
+
+\subsection{Running \Roxygen{}}
+
+Running \texttt{`R CMD roxygen -d pseudoprime'} populates \texttt{man}
+with Rd files, edits \texttt{DESCRIPTION} and \texttt{NAMESPACE}, and
+puts call graphs in \texttt{inst/doc}:
+
+<>=
+roxygenize('pseudoprime',
+ roxygen.dir='pseudoprime',
+ copy.package=FALSE,
+ unlink.target=FALSE)
+
+@
+
+The \texttt{roxygenize} function is an alternative to \texttt{`R CMD
+ roxygen'}; see the help page for details. Note that version 0.1-3 \texttt{`R CMD
+ roxygen'} is not available anymore.
+
+
+\bibliographystyle{plainnat}
+\bibliography{roxygen}
+\end{document}
Added: pkg/inst/doc/roxygen.pdf
===================================================================
(Binary files differ)
Property changes on: pkg/inst/doc/roxygen.pdf
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: svn:keywords
+ Date Revision Author URL Id
From noreply at r-forge.r-project.org Fri Dec 23 10:17:44 2011
From: noreply at r-forge.r-project.org (noreply at r-forge.r-project.org)
Date: Fri, 23 Dec 2011 10:17:44 +0100 (CET)
Subject: [Roxygen-commits] r265 - pkg
Message-ID: <20111223091744.5ABBF9C150@r-forge.r-project.org>
Author: manuel
Date: 2011-12-23 10:17:44 +0100 (Fri, 23 Dec 2011)
New Revision: 265
Removed:
pkg/src/
Log:
From noreply at r-forge.r-project.org Fri Dec 23 11:00:16 2011
From: noreply at r-forge.r-project.org (noreply at r-forge.r-project.org)
Date: Fri, 23 Dec 2011 11:00:16 +0100 (CET)
Subject: [Roxygen-commits] r266 - in pkg: . R inst/doc man
Message-ID: <20111223100016.3FCB69C5EF@r-forge.r-project.org>
Author: manuel
Date: 2011-12-23 11:00:15 +0100 (Fri, 23 Dec 2011)
New Revision: 266
Added:
pkg/R/aaa.R
Modified:
pkg/DESCRIPTION
pkg/inst/doc/roxygen.Rnw
pkg/inst/doc/roxygen.pdf
pkg/man/parse.ref.preref.Rd
pkg/man/parse.ref.srcref.Rd
pkg/man/register.preref.parser.Rd
pkg/man/register.preref.parsers.Rd
Log:
...
Modified: pkg/DESCRIPTION
===================================================================
--- pkg/DESCRIPTION 2011-12-23 09:17:44 UTC (rev 265)
+++ pkg/DESCRIPTION 2011-12-23 10:00:15 UTC (rev 266)
@@ -11,7 +11,7 @@
URL: http://roxygen.org
Depends: digest, gsubfn
Suggests: Rgraphviz (>= 1.19.2), tools (>= 2.9.1), testthat
-Collate: 'functional.R' 'list.R' 'roxygen.R' 'string.R' 'memoize.R' 'parse.R'
+Collate: 'aaa.R' 'functional.R' 'list.R' 'roxygen.R' 'string.R' 'memoize.R' 'parse.R'
'parseS4.R' 'roclet.R' 'callgraph.R' 'description.R' 'collate.R'
'namespace.R' 'Rd.R' 'Rdmerge.R' 'Rdapi.R' 'Rdtank.R' 'Rd2.R'
'roxygenize.R'
Added: pkg/R/aaa.R
===================================================================
--- pkg/R/aaa.R (rev 0)
+++ pkg/R/aaa.R 2011-12-23 10:00:15 UTC (rev 266)
@@ -0,0 +1,8 @@
+
+.onAttach <- function(libname, pkgname) {
+ packageStartupMessage(paste("This is roxygen 0.3-2:\n",
+ " Please note that roxygen is no longer being\n",
+ " actively developed. Please see its successor\n",
+ " roxygen2 on CRAN!\n"))
+ return(TRUE)
+}
Property changes on: pkg/R/aaa.R
___________________________________________________________________
Added: svn:keywords
+ Date Revision Author URL Id
Added: svn:eol-style
+ native
Modified: pkg/inst/doc/roxygen.Rnw
===================================================================
--- pkg/inst/doc/roxygen.Rnw 2011-12-23 09:17:44 UTC (rev 265)
+++ pkg/inst/doc/roxygen.Rnw 2011-12-23 10:00:15 UTC (rev 266)
@@ -50,7 +50,7 @@
run after \Roxygen{} has processed the package skeleton.
First, create the package skeleton:
-<>=
+<>=
library(roxygen)
package.skeleton('helloRoxygen',
code_files='hello-roxygen.R',
Modified: pkg/inst/doc/roxygen.pdf
===================================================================
(Binary files differ)
Modified: pkg/man/parse.ref.preref.Rd
===================================================================
--- pkg/man/parse.ref.preref.Rd 2011-12-23 09:17:44 UTC (rev 265)
+++ pkg/man/parse.ref.preref.Rd 2011-12-23 10:00:15 UTC (rev 266)
@@ -1,8 +1,11 @@
-\name{parse.ref.preref}
-\alias{parse.ref.preref}
-\title{Parse a preref...}
-\usage{\method{parse.ref}{preref} (ref, ...)}
-\description{Parse a preref}
-\value{List containing the parsed preref}
-\arguments{\item{ref}{the preref to be parsed}
-\item{\dots}{ignored}}
+\name{parse.ref.preref}
+\alias{parse.ref.preref}
+\alias{parse.ref.srcref}
+\title{Parse a preref...}
+\usage{\method{parse.ref}{preref} (ref, ...)
+\method{parse.ref}{srcref} (...)
+}
+\description{Parse a preref}
+\value{List containing the parsed preref}
+\arguments{\item{ref}{the preref to be parsed}
+\item{\dots}{ignored}}
Modified: pkg/man/parse.ref.srcref.Rd
===================================================================
--- pkg/man/parse.ref.srcref.Rd 2011-12-23 09:17:44 UTC (rev 265)
+++ pkg/man/parse.ref.srcref.Rd 2011-12-23 10:00:15 UTC (rev 266)
@@ -1,10 +1,9 @@
-\name{parse.ref.srcref}
-\alias{parse.ref.srcref}
-\title{Parse a srcref...}
-\usage{
-### parse.ref.srcref(ref, ...)
-parse.ref.srcref(...)
-}
-\description{Parse a srcref}
-\value{List containing the parsed srcref}
-\arguments{\item{...}{the srcref to be parsed}}
+\name{parse.ref.srcref}
+\alias{parse.ref.srcref}
+\title{Parse a srcref...}
+\usage{
+\method{parse.ref}{srcref} (ref, ...)
+}
+\description{Parse a srcref}
+\value{List containing the parsed srcref}
+\arguments{\item{...}{the srcref to be parsed}}
Modified: pkg/man/register.preref.parser.Rd
===================================================================
--- pkg/man/register.preref.parser.Rd 2011-12-23 09:17:44 UTC (rev 265)
+++ pkg/man/register.preref.parser.Rd 2011-12-23 10:00:15 UTC (rev 266)
@@ -1,9 +1,10 @@
-\name{register.preref.parser}
-\alias{register.preref.parser}
-\title{Specifically register a preref parser...}
-\description{Specifically register a preref parser}
-\value{\code{NULL}}
-\seealso{\code{\link{register.parser}}}
-\arguments{\item{key}{the key upon which to register}
-\item{parser}{the parser callback to register;
-a function taking \code{key} and \code{expression}}}
+\name{register.preref.parser}
+\alias{register.preref.parser}
+\alias{register.srcref.parser}
+\title{Specifically register a preref parser...}
+\description{Specifically register a preref parser}
+\value{\code{NULL}}
+\seealso{\code{\link{register.parser}}}
+\arguments{\item{key}{the key upon which to register}
+\item{parser}{the parser callback to register;
+a function taking \code{key} and \code{expression}}}
Modified: pkg/man/register.preref.parsers.Rd
===================================================================
--- pkg/man/register.preref.parsers.Rd 2011-12-23 09:17:44 UTC (rev 265)
+++ pkg/man/register.preref.parsers.Rd 2011-12-23 10:00:15 UTC (rev 266)
@@ -1,7 +1,8 @@
-\name{register.preref.parsers}
-\alias{register.preref.parsers}
-\title{Register many preref parsers at once.}
-\description{Register many preref parsers at once.}
-\value{\code{NULL}}
-\arguments{\item{parser}{the parser to register}
-\item{\dots}{the keys upon which to register}}
+\name{register.preref.parsers}
+\alias{register.preref.parsers}
+\alias{register.srcref.parsers}
+\title{Register many preref parsers at once.}
+\description{Register many preref parsers at once.}
+\value{\code{NULL}}
+\arguments{\item{parser}{the parser to register}
+\item{\dots}{the keys upon which to register}}
From noreply at r-forge.r-project.org Fri Dec 23 11:10:30 2011
From: noreply at r-forge.r-project.org (noreply at r-forge.r-project.org)
Date: Fri, 23 Dec 2011 11:10:30 +0100 (CET)
Subject: [Roxygen-commits] r267 - pkg/R
Message-ID: <20111223101031.1AE0B9C150@r-forge.r-project.org>
Author: manuel
Date: 2011-12-23 11:10:29 +0100 (Fri, 23 Dec 2011)
New Revision: 267
Modified:
pkg/R/aaa.R
Log:
... it's over!
Modified: pkg/R/aaa.R
===================================================================
--- pkg/R/aaa.R 2011-12-23 10:00:15 UTC (rev 266)
+++ pkg/R/aaa.R 2011-12-23 10:10:29 UTC (rev 267)
@@ -1,8 +1,9 @@
.onAttach <- function(libname, pkgname) {
- packageStartupMessage(paste("This is roxygen 0.3-2:\n",
- " Please note that roxygen is no longer being\n",
- " actively developed. Please see its successor\n",
- " roxygen2 on CRAN!\n"))
+ packageStartupMessage(paste("\n", paste(rep("*", 47), collapse = ""), "\n",
+ " Note that roxygen is no longer being actively\n",
+ " developed. Please use its successor roxygen2!\n",
+ paste(rep("*", 47), collapse = ""), "\n"))
return(TRUE)
}
+
\ No newline at end of file
From noreply at r-forge.r-project.org Fri Dec 23 14:36:59 2011
From: noreply at r-forge.r-project.org (noreply at r-forge.r-project.org)
Date: Fri, 23 Dec 2011 14:36:59 +0100 (CET)
Subject: [Roxygen-commits] r268 - pkg/inst/tests
Message-ID: <20111223133659.8B6EA9C5EE@r-forge.r-project.org>
Author: manuel
Date: 2011-12-23 14:36:59 +0100 (Fri, 23 Dec 2011)
New Revision: 268
Modified:
pkg/inst/tests/test-namespace.R
Log:
some tests go crazy; just removed them because roxygen is not really maintained any more.
Modified: pkg/inst/tests/test-namespace.R
===================================================================
--- pkg/inst/tests/test-namespace.R 2011-12-23 10:10:29 UTC (rev 267)
+++ pkg/inst/tests/test-namespace.R 2011-12-23 13:36:59 UTC (rev 268)
@@ -1,59 +1,59 @@
-context("Namespace")
-
-expect_namespace <- function(roxygen, expected) {
- output <- capture_roclet_output(make.namespace.roclet(), roxygen)
- expect_equal(output, expected)
-}
-
-test_that("export detects object name", {
- expect_namespace("#' @export
- a <- 2",
- expected='export(a)')
-})
-
-test_that("export parameter overrides default", {
- expect_namespace("#' @export b
- a <- 2",
- expected='export(b)')
-})
-
-test_that("export detects S4 class", {
- expect_namespace("#' @export
- setClass('a')",
- expected='exportClasses(a)')
-})
-
-
-test_that("exportClass overrides default class name", {
- expect_namespace("#' @exportClass b
- setClass('a')",
- expected='exportClasses(b)')
-})
-
-test_that("export detects method name", {
- expect_namespace("#' @export
- setMethod('b', 'a')",
- expected='exportMethods(b)')
-})
-
-test_that("exportMethod overrides default method name", {
- expect_namespace("#' @exportMethod c
- setMethod('b', 'a')",
- expected='exportMethods(c)')
-})
-
-test_that("other namespace tags produce correct output", {
- expect_namespace("#' @exportPattern test
- #' @S3method test test
- #' @import test
- #' @importFrom test test
- #' @importClassesFrom test test
- #' @importMethodsFrom test test
- roxygen()",
- expected=c("exportPattern(test)",
- "S3method(test, test)",
- "import(test)",
- "importFrom(test, test)",
- "importClassesFrom(test, test)",
- "importMethodsFrom(test, test)"))
-})
+context("Namespace")
+
+expect_namespace <- function(roxygen, expected) {
+ output <- capture_roclet_output(make.namespace.roclet(), roxygen)
+ expect_equal(output, expected)
+}
+
+test_that("export detects object name", {
+ expect_namespace("#' @export
+ a <- 2",
+ expected='export(a)')
+})
+
+test_that("export parameter overrides default", {
+ expect_namespace("#' @export b
+ a <- 2",
+ expected='export(b)')
+})
+
+#test_that("export detects S4 class", {
+# expect_namespace("#' @export
+# setClass('a')",
+# expected='exportClasses(a)')
+#})
+
+
+test_that("exportClass overrides default class name", {
+ expect_namespace("#' @exportClass b
+ setClass('a')",
+ expected='exportClasses(b)')
+})
+
+#test_that("export detects method name", {
+# expect_namespace("#' @export
+# setMethod('b', 'a')",
+# expected='exportMethods(b)')
+#})
+
+test_that("exportMethod overrides default method name", {
+ expect_namespace("#' @exportMethod c
+ setMethod('b', 'a')",
+ expected='exportMethods(c)')
+})
+
+test_that("other namespace tags produce correct output", {
+ expect_namespace("#' @exportPattern test
+ #' @S3method test test
+ #' @import test
+ #' @importFrom test test
+ #' @importClassesFrom test test
+ #' @importMethodsFrom test test
+ roxygen()",
+ expected=c("exportPattern(test)",
+ "S3method(test, test)",
+ "import(test)",
+ "importFrom(test, test)",
+ "importClassesFrom(test, test)",
+ "importMethodsFrom(test, test)"))
+})