forked from yihui/knitr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DESCRIPTION
124 lines (124 loc) · 4.61 KB
/
DESCRIPTION
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
Package: knitr
Type: Package
Title: A general-purpose package for dynamic report generation in R
Version: 1.5.12
Date: 2013-09-28
Authors@R: c(person("Adam", "Vogt", role = "ctb"),
person("Alastair", "Andrew", role = "ctb"),
person("Alex", "Zvoleff", role = "ctb"),
person("Brian", "Diggs", role = "ctb"),
person("Cassio", "Pereira", role = "ctb"),
person("Fitch", "Simeon", role = "ctb"),
person("Hadley", "Wickham", role = "ctb"),
person("Heewon", "Jeon", role = "ctb"),
person("Jeff", "Arnold", role = "ctb"),
person("Jeremy", "Stephens", role = "ctb"),
person("Jim", "Hester", role = "ctb"),
person("Joe", "Cheng", role = "ctb"),
person("Jonathan", "Keane", role = "ctb"),
person("J.J.", "Allaire", role = "ctb"),
person("Johan", "Toloe", role = "ctb"),
person("Kirill", "Mueller", role = "ctb"),
person("Kohske", "Takahashi", role = "ctb"),
person("Michael", "Friendly", role = "ctb"),
person("Michel", "Kuhlmann", role = "ctb"),
person("Nacho", "Caballero", role = "ctb"),
person("Nick", "Salkowski", role = "ctb"),
person("Noam", "Ross", role = "ctb"),
person("Ramnath", "Vaidyanathan", role = "ctb"),
person("Richard", "Cotton", role = "ctb"),
person("Romain", "Francois", role = "ctb"),
person("Sietse", "Brouwer", role = "ctb"),
person("Simon", "de Bernard", role = "ctb"),
person("Taiyun", "Wei", role = "ctb"),
person("Thibaut", "Lamadon", role = "ctb"),
person("Tom", "Torsney-Weir", role = "ctb"),
person("Trevor", "Davis", role = "ctb"),
person("Weicheng", "Zhu", role = "ctb"),
person("Wush", "Wu", role = "ctb"),
person("Yihui", "Xie", email = "[email protected]", role = c("aut", "cre")))
Maintainer: Yihui Xie <[email protected]>
Description: This package provides a general-purpose tool for dynamic report
generation in R, which can be used to deal with any type of (plain text)
files, including Sweave, HTML, Markdown, reStructuredText, AsciiDoc, and
Textile. R code is evaluated as if it were copied and pasted in an R
terminal thanks to the evaluate package (e.g., we do not need to explicitly
print() plots from ggplot2 or lattice). R code can be reformatted by the
formatR package so that long lines are automatically wrapped, with indent
and spaces added, and comments preserved. A simple caching mechanism is
provided to cache results from computations for the first time and the
computations will be skipped the next time. Almost all common graphics
devices, including those in base R and add-on packages like Cairo,
cairoDevice and tikzDevice, are built-in with this package and it is
straightforward to switch between devices without writing any special
functions. The width and height as well as alignment of plots in the output
document can be specified in chunk options (the size of plots for graphics
devices is also supported). Multiple plots can be recorded in a single code
chunk, and it is also allowed to rearrange plots to the end of a chunk or
just keep the last plot. Warnings, messages and errors are written in the
output document by default (can be turned off). The large collection of
hooks in this package makes it possible for the user to control almost
everything in the R code input and output. Hooks can be used either to
format the output or to run R code fragments before or after a code chunk.
The language in code chunks is not restricted to R (there is simple support
to Python and shell scripts, etc). Many features are borrowed from or
inspired by Sweave, cacheSweave, pgfSweave, brew and decumar.
Depends:
R (>= 2.14.1)
Imports:
evaluate (>= 0.5.1),
digest,
formatR (>= 0.10),
highr (>= 0.3),
markdown (>= 0.6.3),
stringr (>= 0.6),
tools
Suggests:
testit,
rgl,
codetools,
XML,
RCurl
License: GPL
URL: http://yihui.name/knitr/
BugReports: https://github.com/yihui/knitr/issues
VignetteBuilder: knitr
Roxygen: list(wrap = FALSE)
Collate:
'block.R'
'cache.R'
'citation.R'
'utils.R'
'plot.R'
'defaults.R'
'concordance.R'
'engine.R'
'themes.R'
'highlight.R'
'header.R'
'hooks-asciidoc.R'
'hooks-chunk.R'
'hooks-extra.R'
'hooks-html.R'
'hooks-latex.R'
'hooks-md.R'
'hooks-rst.R'
'hooks-textile.R'
'hooks.R'
'output.R'
'package.R'
'pandoc.R'
'parser.R'
'pattern.R'
'rocco.R'
'spin.R'
'table.R'
'template.R'
'themes-eclipse.R'
'utils-base64.R'
'utils-conversion.R'
'utils-rd2html.R'
'utils-sweave.R'
'utils-upload.R'
'utils-vignettes.R'
'zzz.R'