[Rprotobuf-commits] r461 - in pkg: inst/doc vignettes
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Aug 9 03:32:36 CEST 2012
Author: edd
Date: 2012-08-09 03:32:35 +0200 (Thu, 09 Aug 2012)
New Revision: 461
Added:
pkg/vignettes/Makefile
pkg/vignettes/RProtoBuf-unitTests.Rnw
Removed:
pkg/inst/doc/Makefile
pkg/inst/doc/RProtoBuf-unitTests.Rnw
Log:
moved two files from inst/doc/ to vignettes/
Deleted: pkg/inst/doc/Makefile
===================================================================
--- pkg/inst/doc/Makefile 2012-08-09 01:30:45 UTC (rev 460)
+++ pkg/inst/doc/Makefile 2012-08-09 01:32:35 UTC (rev 461)
@@ -1,33 +0,0 @@
-
-all: RProtoBuf-unitTests.pdf RProtoBuf.pdf RProtoBuf-quickref.pdf
-
-pdfclean:
- rm -fr *.pdf
-
-clean:
- rm -f RProtoBuf.tex RProtoBuf.aux RProtoBuf.logRProtoBuf.out
- rm -f RProtoBuf-quickref.tex RProtoBuf-quickref.Rnw RProtoBuf-quickref.aux RProtoBuf-quickref.log RProtoBuf-quickref.out
- rm -f RProtoBuf-unitTests.texRProtoBuf-unitTests.Rnw RProtoBuf-unitTests.aux RProtoBuf-unitTests.log RProtoBuf-unitTests.out
-
-setvars:
-ifeq (${R_HOME},)
-R_HOME= $(shell R RHOME)
-endif
-RPROG= $(R_HOME)/bin/R
-RSCRIPT=$(R_HOME)/bin/Rscript
-
-RProtoBuf-unitTests.pdf: unitTests/RProtoBuf-unitTests.R
- $(RSCRIPT) --default-packages="RProtoBuf,Rcpp,brew,RUnit,tools,utils" unitTests/RProtoBuf-unitTests.R
-
-RProtoBuf.pdf: RProtoBuf/RProtoBuf.Rnw
- cp -f RProtoBuf/RProtoBuf.Rnw RProtoBuf.Rnw
- $(RSCRIPT) -e "require( 'highlight' ); require('tools'); Sweave('RProtoBuf.Rnw', driver = HighlightWeaveLatex() ) ; texi2dvi('RProtoBuf.tex', pdf = TRUE, clean = TRUE)"
- cp -f RProtoBuf/RProtoBuf-fake.Rnw RProtoBuf.Rnw
-
-RProtoBuf-quickref.pdf: RProtoBuf-quickref/RProtoBuf-quickref.Rnw
- touch RProtoBuf-quickref.Rnw
- rm RProtoBuf-quickref.Rnw
- cp -f RProtoBuf-quickref/RProtoBuf-quickref.Rnw .
- $(RSCRIPT) -e "require( 'highlight' ); require('tools'); Sweave('RProtoBuf-quickref.Rnw', driver = HighlightWeaveLatex() ) ; texi2dvi('RProtoBuf-quickref.tex', pdf = TRUE, clean = TRUE)"
- cp -f RProtoBuf-quickref/RProtoBuf-quickref-fake.Rnw RProtoBuf-quickref.Rnw
-
Deleted: pkg/inst/doc/RProtoBuf-unitTests.Rnw
===================================================================
--- pkg/inst/doc/RProtoBuf-unitTests.Rnw 2012-08-09 01:30:45 UTC (rev 460)
+++ pkg/inst/doc/RProtoBuf-unitTests.Rnw 2012-08-09 01:32:35 UTC (rev 461)
@@ -1,21 +0,0 @@
-\documentclass[10pt]{article}
-%\VignetteIndexEntry{RProtoBuf-unitTests}
-\usepackage{vmargin}
-\setmargrb{0.75in}{0.75in}{0.75in}{0.75in}
-
-\usepackage[colorlinks]{hyperref}
-\author{Romain Fran\c{c}ois \and Dirk Eddelbuettel}
-\title{RProtoBuf : Unit testing results}
-\begin{document}
-\maketitle
-
-\begin{verbatim}
-<<echo=FALSE,results=tex>>=
-results <- "unitTests-results/RProtoBuf-unitTests.txt"
-if( file.exists( results ) ){
- writeLines( readLines( results ) )
-}
-@
-\end{verbatim}
-
-\end{document}
Copied: pkg/vignettes/Makefile (from rev 460, pkg/inst/doc/Makefile)
===================================================================
--- pkg/vignettes/Makefile (rev 0)
+++ pkg/vignettes/Makefile 2012-08-09 01:32:35 UTC (rev 461)
@@ -0,0 +1,33 @@
+
+all: RProtoBuf-unitTests.pdf RProtoBuf.pdf RProtoBuf-quickref.pdf
+
+pdfclean:
+ rm -fr *.pdf
+
+clean:
+ rm -f RProtoBuf.tex RProtoBuf.aux RProtoBuf.logRProtoBuf.out
+ rm -f RProtoBuf-quickref.tex RProtoBuf-quickref.Rnw RProtoBuf-quickref.aux RProtoBuf-quickref.log RProtoBuf-quickref.out
+ rm -f RProtoBuf-unitTests.texRProtoBuf-unitTests.Rnw RProtoBuf-unitTests.aux RProtoBuf-unitTests.log RProtoBuf-unitTests.out
+
+setvars:
+ifeq (${R_HOME},)
+R_HOME= $(shell R RHOME)
+endif
+RPROG= $(R_HOME)/bin/R
+RSCRIPT=$(R_HOME)/bin/Rscript
+
+RProtoBuf-unitTests.pdf: unitTests/RProtoBuf-unitTests.R
+ $(RSCRIPT) --default-packages="RProtoBuf,Rcpp,brew,RUnit,tools,utils" unitTests/RProtoBuf-unitTests.R
+
+RProtoBuf.pdf: RProtoBuf/RProtoBuf.Rnw
+ cp -f RProtoBuf/RProtoBuf.Rnw RProtoBuf.Rnw
+ $(RSCRIPT) -e "require( 'highlight' ); require('tools'); Sweave('RProtoBuf.Rnw', driver = HighlightWeaveLatex() ) ; texi2dvi('RProtoBuf.tex', pdf = TRUE, clean = TRUE)"
+ cp -f RProtoBuf/RProtoBuf-fake.Rnw RProtoBuf.Rnw
+
+RProtoBuf-quickref.pdf: RProtoBuf-quickref/RProtoBuf-quickref.Rnw
+ touch RProtoBuf-quickref.Rnw
+ rm RProtoBuf-quickref.Rnw
+ cp -f RProtoBuf-quickref/RProtoBuf-quickref.Rnw .
+ $(RSCRIPT) -e "require( 'highlight' ); require('tools'); Sweave('RProtoBuf-quickref.Rnw', driver = HighlightWeaveLatex() ) ; texi2dvi('RProtoBuf-quickref.tex', pdf = TRUE, clean = TRUE)"
+ cp -f RProtoBuf-quickref/RProtoBuf-quickref-fake.Rnw RProtoBuf-quickref.Rnw
+
Copied: pkg/vignettes/RProtoBuf-unitTests.Rnw (from rev 460, pkg/inst/doc/RProtoBuf-unitTests.Rnw)
===================================================================
--- pkg/vignettes/RProtoBuf-unitTests.Rnw (rev 0)
+++ pkg/vignettes/RProtoBuf-unitTests.Rnw 2012-08-09 01:32:35 UTC (rev 461)
@@ -0,0 +1,21 @@
+\documentclass[10pt]{article}
+%\VignetteIndexEntry{RProtoBuf-unitTests}
+\usepackage{vmargin}
+\setmargrb{0.75in}{0.75in}{0.75in}{0.75in}
+
+\usepackage[colorlinks]{hyperref}
+\author{Romain Fran\c{c}ois \and Dirk Eddelbuettel}
+\title{RProtoBuf : Unit testing results}
+\begin{document}
+\maketitle
+
+\begin{verbatim}
+<<echo=FALSE,results=tex>>=
+results <- "unitTests-results/RProtoBuf-unitTests.txt"
+if( file.exists( results ) ){
+ writeLines( readLines( results ) )
+}
+@
+\end{verbatim}
+
+\end{document}
More information about the Rprotobuf-commits
mailing list