-
Notifications
You must be signed in to change notification settings - Fork 129
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
Dynamic files as specialized formats #1178
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1178 +/- ##
=========================================
+ Coverage 99.88% 100% +0.11%
=========================================
Files 48 48
Lines 7871 7946 +75
=========================================
+ Hits 7862 7946 +84
+ Misses 9 0 -9
Continue to review full report at Codecov.
|
This looks great! Can it work with a vector of files, a vector of directories, or a mixed vector of files and directories? (I'll admit that the mixed vector isn't something that I've needed, but it seemed worth adding for completeness.) |
It sure can! |
Summary
file_out()
and friend handle static files: ones that you hard-code in your plan and you have to know in advance. This PR equipsdrake
to watch dynamic files that you do not need to know in advance. Dynamic files can be local files or local directories, and they are fully compatible with dynamic branching.Usage
format = "file"
intarget()
withindrake_plan()
.Example
Created on 2020-02-21 by the reprex package (v0.3.0)
cc
A bunch of folks have shown interest. Here are some.
Related GitHub issues and pull requests
Checklist
drake
's code of conduct.testthat
unit tests totests/testthat
for any new functionality.