should not depend onrapport
, try to only import (against that: depending on rapport's options?)
add installation details + Pandoc dependencyadd example files and html/pdf/docx exportsadd absolute path to examples (as view from two locations)removerapport
dependencyadd ESS functionsadd: short documentation (or at least mention!):evals
comparison withknitr
add: options++p
optionsevals.messages
option
add absolute path to examples (as view from two locations)
- do not forget about switching
I.have.time
toTRUE
before exporting to Github pages
TODOwon't fix: we have a homepage
add controllable, global optionspander.option
rename pander.options & eval.options not to conflict with S3 methods**panderOptions
andevalsOptions
update package functions to use new naming scheme for options- add
caption/other tweaks (alignment, sign. stars, emphasis etc.) to images/tables usingattrs
-
cleanup code from repeating code (like:suppressMessages(suppressWarnings(...)))
) -
removeevaluate
dependency -
grab multiple returned object/images in one chunk -
add option: grab.images (render those to disk or return unprinted)useeval.msgs
instead -
caching -
add: global options -
add: option to copy images -
check if img file referenced in cached result really exists -
add:evals.messages
option passed topander.evals
to possibly suppress messages -
add: optionally save img's R object (lattice & ggplot2) to RDA file -
What if img file referenced in cached result was altered? Should not we try to check for existing recordedPlot and just rerender the img (without actual: resolved witheval
) to overcome this issue?cache.copy.images
andcache.mode == "disk"
-
run twice with: resolved by updating objects (while returning from cache) changed by cached code~~evalsOptions('cache.time', 0)
:evals('x<-1:21;histogram(x)')
-
add option to run code in sandbox:
RAppArmor: https://github.com/jeroenooms/RAppArmor: seeRAppArmor
branchsandboxR: https://github.com/rapporter/sandboxR: just provide a sandboxed environment
Global options for: lattice
, ggplot2
and base
plots
-
plot margins -
theme: font (family, base size, color) -
theme: plotting area background colors- known issues: not in
base
plots (just globalbackgroung
)
- known issues: not in
-
theme: foreground colors (discrete, continuous)- known issues:
base
plot solution is really ugly (overwriting calls'col
parameter)
- known issues:
-
grid options:enabled/disabledsplit enable/disable: major/minorgrid colorgrid line type
-
axes:
colorangle- split long labels
-
title: split if too long (strwidth, strheight)
-
others:
border/box around plot/striptransparent border of histogramsymbols
-
remove dependencies:ggplot2
,latticeExtra
and build only ongrid
Add demo to GH page!: inst/examples/graph.brew
"p" from rapport: modify defaults, fork itcheck strings before applying formatting (to prevent e.g. "foo")table: implement multi-line syntax for tables (as Pandoc does not support alignment with the current grid approach)table: support cells with line breakstable: split too wide tables into multiple tables (global solution which can be handled in LaTeX, docx etc. separately)table: add strong emphasis to row namestable: fails with one-column tables. E.g.:pander(mtcars[1,])
table: issue with rounding numbers, just check:pander(mtcars$mpg)
vs.pander(mtcars$mpg)
-> this is based on lowdigits
optiontable: add more styling options (e.g. (strong) emphasizing custom cells,alignment)- table: add option to draw significance starts in cells
- table: @idea wrap header of tables to minimal (even in words!) to keep the table's width minimal
add significance starsindent concatenated strings:pandoc.indent
-
update footer (currently shows: rapport) -
revert colorbox to slimbox2 with fullscreen images -
add templates for different formats
-
add option to change rendering back-end's name (like: pander -> rapport with version number)
-
Q: include Pandoc somehow in the package not to ask users to install it?
A: INSTALL file updated + if Pandoc is not found it's shown to the user. Might try to auto-download binary for Mac/Windows? Linux users would deal with that problem, right? :) UPDATE: see
installr
package
logicaldefaultlistdensity- CrossTable
- What to do with summary classes? Leaving out, implement in Pandoc methods or what?
Leaving out! As most Pandoc methods return a table and also trying to add a chatty caption, in most cases the full object information is needed which can (and mostly would) be truncated inside the Pandoc method with summary
.
check out image directory (should begetwd()/images
)remove image absolute pathprettify image names tooutput
+ index no.exporting features?- option to convert document to multiple formats at once (although with caching it's no so bad even now)
remove parse (to deal with syntax errors)
migrate toPandoc.convert
remove multiple line breaks, see:remove.extra.newlines()
open exported docs- tweak
evals
like inPandoc.brew
- implement it:
Pandoc.knitr
- create
knitr
hooks which would applypander
to each R object
Do that at last!evalsbrew- helper functions
- move errors (footnote) above of upper footer and add a header tag (if found)
integrate (add some Lisp functions/optional key-bindings): https://rapporter.github.io/pander/#essevals
/pander
/Pander.brew
- thanks for great ideas Michael Lawrence @ [ESS] mail list
- Michael Lawrence @ [ESS] mail list: Another thing I've been wanting is a way to output objects in multiple ways, separate from the report itself. Typical side effects would be: generation of an R data package with the result as a dataset, or storage of the result in some other database. It would be cool to be able to specify, on a per-block basis, the output driver (or a list of them). For example, your pander() function could be a dual-dispatch S4 generic, dispatching on both the object to export, and an object representing the target. -> hook could depend on outer parameters in
evals
?