Skip to content
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

Feature Request: A function to provide all files that will be loaded #140

Open
billdenney opened this issue Feb 8, 2019 · 2 comments
Open

Comments

@billdenney
Copy link
Contributor

I'm working to incorporate drake in more of my workflows, and one thing that it does well is track files outside of R in the dependencies for results.

As described in ropensci/drake#721, it would help to make these dependent files known to drake. Is there a way to know in advance all the files that will be loaded by xpose_data() (or as this is a feature request, I think the question is "could there please be a way...")?

@bguiastr
Copy link
Collaborator

@billdenney very good suggestion I am also looking into drake myself I would certainly like to see xpose compatible with it !!

@billdenney
Copy link
Contributor Author

FYI, drake can now have all files in a directory as a dependency. If you do file_in() with a directory name, it will include all files in the directory. Also, as I’ve learned, drake’s file handling is more static, so I don’t know that this will work directly with drake right now.

(I still think that there is value in this feature, but it won’t work in drake due to limitations on that side right now. When dynamic branching is achieved over there, it will probably be useful in a drake context.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants