-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rclean: A Tool for Writing Cleaner, More Transparent Code #300
Comments
Thank you for this inquiry, @MKLau! I have a question: Can the package work without |
Thanks @noamross! No, but it does require some kind of provenance input. I have updated the package to use prospective provenance, which doesn't require code execution to conduct analyses. I would say that this is now the primary workhorse for the package. Sorry, I'm still working on the docs and haven't pushed the feature into a release yet, so it's not yet described. It depends heavily on the CodeDepends package by Duncan Lang. It's on CRAN, but I'm not sure if it's ROpenSci reviewed. |
Hello @MKLau. After some discussion, we've decided that this package is in-scope under the reproducibility category for converting analysis scripts to reproducible workflows. I note that your package will require a vignette and to report testing coverage before being sent for review. |
Hi @noamross, thanks, great to hear, and issues noted. |
Hi Noam, just finished revisions to the package (including the addition of testing coverage and a vignette). Not sure what the next step is given your pre-review and my paused submission to JOSS. Could you point me in the best direction? |
My apologies for the delayed reply, @MKLau. I see you opened another issue as a pre-submission inquiry, but you can go ahead and do a full submission for review. @annakrystalli is acting editor-in-chief while I'm traveling and will assign it out. |
Thanks @noamross, and sorry for the confusion. Safe travels. |
Submitting Author: Matthew K. Lau (@MKLau)
Repository: https://github.com/provtools/rclean
Scope
Please indicate which category or categories from our package fit policies this package falls under: (Please check an appropriate box below.:
Explain how the and why the package falls under these categories (briefly, 1-2 sentences). Please note any areas you are unsure of:
In writing analytical scripts, software best practices are often a
lower priority than producing inferential results, leading to large,
complicated code bases that often need refactoring. The "code
cleaning" capabilities of the Rclean package provide a means to
rigorously identify the minimal code required to produce a given
result (e.g. object, table, plot, etc.), reducing the effort required
to create simpler, more transparent code that is easier to reproduce.
this package?
The target audience is domain scientists that have little to no formal
training in software engineering. Multiple studies on scientific
reproducibility have pointed to data and software availability as
limiting factors. This tool will provide an easy to use tool for
writing cleaner analytical code.
how does yours differ or meet our criteria for
best-in-category?
There are other packages that analyze the syntax and structure of
code, such as lintr, formatr and cleanr. Rclean, as far as we are
aware, is the only package written for R that uses a data provenance
approach to construct the interdependencies of objects and functions
and then uses graph analytics to rigorously determine the desired
pathways to determine the minimal code-base needed to generate an
result.
Not that I can think of at the moment.
The text was updated successfully, but these errors were encountered: