Open hannesdatta opened 3 years ago
In using the new way of making R packages (https://tinyheero.github.io/jekyll/update/2015/07/26/making-your-first-R-package.html), I made sure the package somewhat works but simply moved the "test" functions to a folder called test (so they don't get executed). We will have to put them in the right testing structure, but still gotta learn how that works in R. Code throws errors.
Just read the document "making your first R package", great resource with a lot of useful tips!
now found out that this is a good example: https://github.com/Rdatatable/data.table/tree/master/vignettes
So. we will convert your test_joep into an Rmarkdown doc and put it in the vignette folder, and probably that does the magic. if not, we can dig more.
I have written some code that processes the first data set supplied by @JoepvanderPlas in the new
data
folder. Let us now develop this further so it is useable for all datasets (which will be a stress test foritersur
; maybe we can still improve it).In developing this application, seek some inspiration from other popular packages as I do not have a clue on where applications in packages are typically stored.
I look forward seeing
marketingtools
evolve a bit here (plus it's going to be an interesting learning experience).