Comments (4)
This is a nice one indeed. However, you can't get reproducible example unless you also store the data with rapport
object. Just think about it, as it's not a bugger for me to implement it, but it will certainly add some extra weight.
from rapport.
Thanks @aL3xa, you are right.
Please implement it with data
list element added also - but with an option within rapport
to add data to the returned rapport
class default set to TRUE
.
So suggested return value:
res <- list(
metadata = meta,
inputs = inputs,
call = match.call(),
data = data, ## check this out as I'm not sure
report = report
)
from rapport.
Yes, but I see one limitation here. If you aim at creating reproducible example, maybe we shouldn't save the contents of data
arguments per se, but only the provided value. Furthermore, there should be an optional argument to save inputs, in order to reproduce examples, but that should be somehow related to tpl.examples
function that we have implemented. It's not that hi-priority task, IMO, but we should think about it, that's for sure.
from rapport.
Based on the above suggested structure of return value: all inputs
are saved with match.call()
to call
and if the whole dataset is attached (with data
), then it's totally reproducible IMHO. The downside is that it's having some overhead (saving not needed variables too), but we can live with that :)
Might improve it later, but for the moment, that would be cool.
from rapport.
Related Issues (20)
- please reopen issue #98 HOT 1
- Plot files not regenerated after user deletion HOT 2
- tpl.users option not rendered in report HOT 1
- include an rCharts into a html repport HOT 4
- include an rCharts into a pdf repport HOT 1
- custom footer / headers
- using rapport template over HTTP HOT 3
- Too limited parameter type matching HOT 2
- Removing package website from README which now links to a porn website HOT 4
- Input naming conventions: go native as well HOT 1
- Input description - some inconsistencies HOT 1
- not required standalone input's value is NULL by default HOT 9
- default value for matchable inputs not found HOT 3
- throw error on missing required input
- graphing wizard error HOT 1
- file extension HOT 3
- Default value for required input
- error with rapport.pdf and Logo=TRUE on Windows HOT 4
- More explicit message in Pandoc.convert
- advices on how to use ggplot2 in rapport templates HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rapport.