-
Notifications
You must be signed in to change notification settings - Fork 2
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
Allow for depends files to be a list of character vectors? #11
Comments
Nice idea. To be honest, I have been resisting it because I like the idea of forcing YAML-like lists to be flat, but I agree that your proposal is more natural and tidy for In general, I have sometimes been thinking about with how to display workflow plan data frames with unavoidably long entries, such as complicated commands. I am not sure Also, I am curious as to why your use case requires a large number of files. Are you feeding the output into another program? Personally, I love that remake keeps non-file targets in a storr cache so I do not have to worry about generating files most of the time. |
The large number of files are weather data. I have no control over the format. Though, a large number of small files is better for the provider as it doesn't force people who want a single day of data to download 50 years. |
Also, I don't think it's worth it to make another print method for these. I'm really only going to print these to make sure the generating code worked and seeing a vector of the correct length is good enough for me. |
Currently, it looks like the
commands
function with depends works something like this:Printing this data.frame as a
tibble
doesn't look nice. It seems like a more natural way to do this is to allow thelarge_vector_of_file_paths
to be a list containing that vector. As in:datasets$depends <- list(large_vector_of_file_paths)
Seems tidier? Am I doing this wrong? I want
filename.rds
to depend on a large number of files.The text was updated successfully, but these errors were encountered: