-
Notifications
You must be signed in to change notification settings - Fork 27
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
Suggest Hubs when large data is present #67
Comments
What is large here? 5mb? 1mb? I find that this is related to #75. I've downloaded data from GitHub (from a repo I control) that is small enough and just a file here or there which is simpler than doing all the *Hub submission. Anyway, I like this idea =) It's making me think about ways to make it easier to submit/test data on *Hub that are for another occasion ^^ |
Some related ideas:
Best, |
@Kayla-Morrell is working on create_hub_package functions and helper functions. They should be implemented shortly in the AnnotationHub/ExperimentHub packages |
Wow, that's awesome news =) Thanks for doing this Kayla! 🙌🏽🙌🏽🙌🏽 |
For Constantin Ahlmann-Eltze's question on the 2020-05-18 intro discussion: Maybe you can use |
Like code like this https://github.com/lcolladotor/biocthis/blob/master/R/biocthis_example_pkg.R with more steps. |
What Martin Morgan was referring to I think is https://usethis.r-lib.org/reference/proj_utils.html though you might also be interested in lcolladotor/biocthis@dc38780#r39102094 PS The |
Nope, more |
Ahhh! Thanks for the clarification =) |
I would give this one a try and explore if RUnit has some similar ability to |
* Add checkLargeFiles to checks.R that checks if files with more than 5 MB exist in 'data/' and if yes recommends ExperimentHub/AnnotationHub * Add unit test: creates large file with for loop * Add call to BiocCheck.R that calls checkLargeFiles() on real package. Uses same flag as checkIndivFileSizes
I created a first commit that kind of addresses the issue. There still several short comings:
I thought, however, it might be a good idea to get some early feedback on this commit so that I know how to improve it. (If that is easier, I can also create a PR so that you can comment directly within the code.) |
I'll have a look later today and provide some feedback |
If trying to submit a package with large amounts of data --package should ideally use existing data (as there are many forms already in Bioconductor) -- if that isn't possible data should be reduced or large files should be in an accompanied ExperimentHub or AnnotationHub package
The text was updated successfully, but these errors were encountered: