rmdscaffold: Infrastructure to build user-defined Rmarkdown pipelines #45
Bisaloo
started this conversation in
Project Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
{rmdscaffold}
: Infrastructure to build user-defined Rmarkdown pipelinesDescription
Provides the necessary infrastructure to build user-defined Rmarkdown pipelines from isolated Rmarkdown chunks provided by a dependent package.
Target audience
typical end-users: R package developers
potential contributors: ?
key collaborators: ?
Interoperability
inputs: none
outputs: a custom pipeline in the form of a Rmarkdown report
imports:
{tinkr}
, to build a single Rmd document from many chunks{ymlthis}
, to build the yaml header of this final Rmd document{globals}
, to identify global variables, i.e., dependencies to earlier chunks{xmlparsedata}
, as a possible alternative to{globals}
and as a way to identify outputs as well{xml2}
, to manipulate objects returned by{tinkr}
&{xmlparsedata}
used by:
related projects
Usage
Dependent package structure:
{rmdscaffold}
usage:which opens a shiny app to create a custom pipeline from the Rmarkdown chunks provided in
{testpkg}
. From this shiny app, the user can generate a Rmd report for their custom pipeline.Statement of need
{rmdscaffold}
takes care of identifying the dependency relationships between the different packages / chunks and provides the interactive interface to drag&drop / select the elements to successively insert in the custom pipeline. It also summarises the list of dependencies in the form oflibrary()
calls at the top of the resulting Rmarkdown document.Anticipated challenges
This forces developers of downstream packages to be super careful / rigorous / consistent in the variable names they use across chunks. The network visualisation can help identifying mistakes but it's still a little bit tedious.
Beta Was this translation helpful? Give feedback.
All reactions