Skip to content

Commit

Permalink
version 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
schaffman5 authored and gaborcsardi committed Sep 4, 2011
0 parents commit 3b03731
Show file tree
Hide file tree
Showing 18 changed files with 1,322 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog
@@ -0,0 +1 @@
2010-10-05 19:44 mschaff
17 changes: 17 additions & 0 deletions DESCRIPTION
@@ -0,0 +1,17 @@
Package: rtf
Version: 0.4.1
Date: 2011-09-04
Title: Rich Text Format (RTF) Output
Author: Michael Schaffer, Ph.D.
Maintainer: Michael Schaffer, Ph.D. <mschaff@gmail.com>
Depends: R (>= 2.10.1), R.oo (>= 1.7.4)
Imports: methods
Suggests: lattice
Description: A set of R functions to output Rich Text Format (RTF)
files with high resolution tables and graphics that may be
edited with a standard word processor such as Microsoft Word.
License: BSD
LazyLoad: TRUE
Date/Publication: 2011-09-05 05:14:48
Packaged: 2011-09-05 04:56:06 UTC; mschaff
Repository: CRAN
25 changes: 25 additions & 0 deletions LICENSE
@@ -0,0 +1,25 @@
Copyright (c) 2011, Michael E. Schaffer All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

o Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

o Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.


THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
17 changes: 17 additions & 0 deletions MD5
@@ -0,0 +1,17 @@
3539cc1881c3d5377f6d8197ed91157f *ChangeLog
33acab22b795901a4f1456d2970de3ad *DESCRIPTION
6a15a3469549adaf6fee5ac9c2d05a93 *LICENSE
2d0ac075f052e6273eb50f5cf138d661 *NEWS
f890a6cd328b6d5b7329b59ca53cd47f *R/000.R
2993bd6e0db9f9351d091bc042cd3668 *R/999.NonDocumentedObjects.R
c786fd747aabadc7657b805407b0aab7 *R/999.package.R
417b1ec40cf22d40716960ca0785cf51 *R/rtf.R
3a7d72af57d0daa3f7c2d7a59736fe3a *man/Non-documented_objects.Rd
d5aa235c1f149a0d5a8aec6a1874b443 *man/RTF.Rd
2ab41b171cbebfa4a188a693111e64a8 *man/addTable.RTF.Rd
46523c858a9087ad261cbbd336f47974 *man/done.RTF.Rd
b54ad16f0c2f851f9aea73e8f214b590 *man/rtf-package.Rd
f6396c7b326935a6b56da44ca56b6545 *man/view.RTF.Rd
1f3f3db12439b1ae8787947fc3629cf4 *tests/test.rtf.doc
5b899b4c7e13dbcc415a5a0af3293ec1 *tests/tests.R
bbfb4e0965e2c31abe0c7d981009e775 *tests/tmp.png
7 changes: 7 additions & 0 deletions NEWS
@@ -0,0 +1,7 @@
CHANGES IN 0.4.0 (2011-09-04)
-----------------------------
Submission to CRAN

CHANGES IN 0.4.1 (2011-09-04)
-----------------------------
Added license file and fixed an in appropriate is.nan call on a data frame.
11 changes: 11 additions & 0 deletions R/000.R
@@ -0,0 +1,11 @@
############################################################################
# This code has to come first in a library. To do this make sure this file
# is named "000.R" (zeros).
############################################################################

# Is autoload() allowed in R v2.0.0 and higher? According to the help one
# should not use require().
autoload("appendVarArgs", package="R.oo")
autoload("hasVarArgs", package="R.oo")
autoload("setMethodS3", package="R.oo")
autoload("setConstructorS3", package="R.oo")
56 changes: 56 additions & 0 deletions R/999.NonDocumentedObjects.R
@@ -0,0 +1,56 @@
###########################################################################/**
# @RdocDocumentation "Non-documented objects"
#
# @alias view
# @alias addTable
# @alias done
#
# @alias addHeader
# @alias addNewLine
# @alias addPageBreak
# @alias addParagraph
# @alias addPlot
# @alias addText
# @alias addTrellisObject
# @alias decreaseIndent
# @alias endParagraph
# @alias increaseIndent
# @alias setFontSize
# @alias startParagraph
#
# @alias addHeader.RTF
# @alias addNewLine.RTF
# @alias addPageBreak.RTF
# @alias addParagraph.RTF
# @alias addPlot.RTF
# @alias addText.RTF
# @alias addTrellisObject.RTF
# @alias decreaseIndent.RTF
# @alias endParagraph.RTF
# @alias increaseIndent.RTF
# @alias setFontSize.RTF
# @alias startParagraph.RTF
#
#
#
# \description{
# This page contains aliases for all "non-documented" objects that
# \code{R CMD check} detects in this package.
#
# Almost all of them are \emph{generic} functions that have a specific
# document for the corresponding method coupled to a specific class.
# Other functions are re-defined by \code{setMethodS3()} to
# \emph{default} methods. Neither of these two classes are non-documented
# in reality.
# }
#
# @author
#
# @keyword internal
#*/###########################################################################

############################################################################
# HISTORY:
# 2011-09-04
# o Created to please R CMD check.
############################################################################
43 changes: 43 additions & 0 deletions R/999.package.R
@@ -0,0 +1,43 @@
#########################################################################/**
# @RdocPackage rtf
#
# \encoding{latin1}
#
# \description{
# A set of R functions to output Rich Text Format (RTF) files with high
# resolution tables and graphics that may be edited with a standard word
# processor such as Microsoft Word. This is useful for compiling R
# results into a document for further editing or to be merged with another
# document.
#
# While Sweave and odfWeave provide nicely formatted outputs, the syntax
# can be difficult for beginners to master. Moreover, Sweave compilation
# to a PDF is not editable. Other packages such as SWord and R2wd provide
# similar functionality but require the user to be running a Microsoft
# Windows OS.
#
# This package is written in pure R and does not require leaving the R
# environment to write files. Data frames are converted to RTF tables and
# formatted as stored. One important limitation of the RTF specification
# is that vector graphics output is limited to Windows Meta File (WMF) and
# Enhanced Meta File (EMF) formats. Because these formats are not
# supported across platforms, this package currently only supports RTF
# embedding of PNG plots and images. To ensure high quality reports, the
# resolution may be specified when writing the RTF output.
# }
#
# \section{Requirements}{
# This package depends on the \pkg{R.oo} package.
# }
#
# @author
#
# \references{
# [1] \url{http://en.wikipedia.org/wiki/Rich_Text_Format}\cr
#
# [2] \url{http://latex2rtf.sourceforge.net/rtfspec_7.html#rtfspec_paraforprop}\cr
# }
#
# \keyword{ rtf }
#
#*/#########################################################################

0 comments on commit 3b03731

Please sign in to comment.