-
-
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
Submission: infx #218
Comments
thanks for your submission @nbenn doing editor checks now, and haven't seen any documentation in your package on how to create an account? It seems one can create an API token with |
@sckott, sorry for the delayed response on my side. There is currently no way for a user to create an account him/herself. Accounts can only be created by the service admins. All publicly available data can be accessed using publicly released login credentials. To make this more straightforward, I added these public login credentials as default arguments to tok <- login_openbis() now yields a valid login token associated with this public user account. |
thanks @nbenn - will have a look with the open login |
Editor checks:
Editor commentsThanks for your submission @nbenn !!
* checking tests ...
Running ‘test-1-utils.R’ [7s/30s]
Running ‘test-2-objects.R’ [37s/95s]
Running ‘test-3-datasets.R’ [22s/130s]
Running ‘test-4-features.R’ [12s/36s]
Running ‘test-5-images.R’ [11s/169s]
Running ‘test-6-files.R’ [16s/94s] I have no idea what the time consuming parts are of the test suite, but if they are the HTTP requests you could explore mocking or caching - so funny 😆 i was just about to suggest trying
── GP infx ────────────
It is good practice to
✖ write unit tests for all functions, and all package code in general. 98% of code lines are covered by test cases.
R/dataset.R:515:NA
R/feature.R:153:NA
R/file.R:288:NA
R/image.R:174:NA
R/json-base.R:110:NA
... and 13 more lines Seeking reviewers now 🕐 Reviewers: |
Sorry for the inconvenience, but I have to postpone my review for 2 more days. I will have finished it at 2018-07-12. |
no problem, thanks @ottlngr |
Package ReviewPlease check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide
DocumentationThe package includes all the following forms of documentation:
Functionality
Final approval (post-review)
Estimated hours spent reviewing: 3,5 Review CommentsFirst of all I have to state that With detailed documentation and several vignettes, the potential user is guided from the very first steps until mastering the package. While I let the check marks in the reviewer template speak for themselves, I will elaborate on some (minor) issues I came across. Documentation
Surely, this is the opinion of someone fulfilling both these criteria -but maybe it is an valuable input for the author. Running FunctionalityAs stated earlier, I think Only one thing, which I always try to eliminate when writing a package or functions dealing with APIs, attracted my attention:
As a user I find it redundant to supply the Furthermore I congratulate @nbenn on a valuable contribution to the R community and hope, my review is felt as, even if from a non-specialist, valuable input. |
@ottlngr: thank you for your kind words. I fixed the missing community guidelines and repo badges and added a codemeta description. I also fixed some spelling errors using As for the ImageMagick dependency, I added it as I tried to give a some more context to this package in the beginning of the readme. Does this help a bit for people coming from other fields? I did consider using Finally, I like your suggestion regarding token handling. I could easily attach the used token as Thank you for your feedback @ottlngr. |
Indeed. The imported
It does, yes!
That is totally fine as long there's a specific reason.
I think that would be cool, but I also see the necessary effort. Maybe just keep it in mind for a future release. I added the final check marks in the reviewer template! |
@nbenn we meant that part about system dependencies only for the package that is using that dependency (e.g. package |
Package ReviewPlease check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide
DocumentationThe package includes all the following forms of documentation:
Functionality
Final approval (post-review)
Estimated hours spent reviewing: 8 Review Comments
I'm not familiar with how other instances of the openBIS differ from the InfectX instance. I wondered if there may be a case to split this into two packages, one containing core functionality and another to provide the specific functionality required for the InfectX project data. However, if the InfectX functionality would be useful in other openBIS instances then a single package that can be extended probably makes more sense. Overall, the package is well designed and all functions seem to work robustly when tested using the examples provided in the README and vignettes (I'm not familiar with the data structures so I have not tested the functionality much beyond this). Caveats, such as openBIS functionality not covered or inconsistencies in the openBIS API, are well documented in function documentation and openBIS API vignette. The following comments are for the most part clarifications to documentation and notes on ROpenSci packaging guidelines. I started my review prior to the commits made in response to @ottlngr's review so apologies if I've made a note of anything already fixed! TestsTests ran successfully but
The highlighted lines are within S3 methods e.g. READMEThe amendments to the README that @nbenn made in response to @ottlngr's review are a great improvement.
VignettesN.B. I reviewed the online vignettes (https://nbenn.github.io/infx/articles/infx-intro.html etc). I found the vignettes extremely helpful in guiding me through the functionality of the package as it relates to the data structures accessed through openBIS. Introduction to infx
OpenBIS API coverage
JSON object handling
Function documentation
|
thanks so so much @tdjames1 ! Do you have an estimate on number of hours it took to review? |
@nbenn reviews are both in now, continue discussion here. let me know if you have any questions about process |
@sckott quite a few... I've updated my review comment with an estimate. |
thanks @tdjames1 - we're keeping track of this so we can make review times shorter for reviewers moving forward |
@tdjames thank you very much for for the time you took for your in-depth feedback. I fixed most of the issues you found, except for the following, where I either disagree, or do not understand. Re Review CommentsI considered advertising my package more as an openBIS API package, rather than an InfectX data access package, but as the InfectX data set is (afaik) the only instance of large-scale, publicly accessible data under openBIS, I find the data access more attractive than the API capabilities per-se. In principle, nothing in the package is specific to InfectX (with exception of the default values in Re TestsTest coverage is 98%, when I run tests locally or on Travis (also see sckott's gp output). I don't understand why your gp output reports only 56% coverage. However I don't think low test coverage is an issue here. If anything, I have too many tests that result in lengthy runtimes. Therefore the problem I'd rather look into, is reducing test runtime using @scott's mocking infrastructure. Unfortunately I haven't gotten to this yet. Re README
Re Vignettes
Re Function documentation
Re CRAN gotchas from ROpenSci package guidelines
|
|
@sckott, sorry for the delay. I started writing up a lengthy answer, explaining what I meant regrading the |
Hi @nbenn, apologies for the delay in responding to your queries/comments. Please find my responses below.
That's fine, I felt that I should raise it as an issue but I don't feel strongly that it is a big problem.
I think perhaps something is not set up correctly on my local machine. 98% seems pretty decent coverage!
OK! I didn't realise that.
I think I got a different impression when I was reading some of the documentation, i.e. that in InfectX data is structured in a certain way which could be different in other instances. You could perhaps append something like "with specific reference to the InfectX dataset" to clarify the relationship between the package, openBIS and InfectX.
That's a shame!
Yes, and I apologise for not being more explicit about this. In the vignette, each code block has a little "copy to clipboard" helper to make it easy for a reader to grab the code and paste it into R. But that also makes it easy to copy the first block which demonstrates
It's displaying correctly for me now, so I'm not sure what happened there. Possibly another local configuration issue.
Apologies, I missed the |
Due to a hardware failure, the InfectX openBIS server is currently down. I was promised to be informed of any developments but also told, it may take some time to get things back online. I'm sorry for the delay this causes. |
thanks for the heads up |
Great, i'll take a final editor's check |
@nbenn is master branch the one I should look at? |
Approved! Thanks again for your submission @nbenn !
|
Summary
What does this package do? (explain in 50 words or less):
Data from large-scale biological experiments, managed by the openBIS framework, is made accessible directly from R. The main focus is on data from InfectX/TargetInfectX, which includes many image-based high throughput screening experiments, investigating the human infectome of several bacterial and viral pathogens.
Paste the full DESCRIPTION file inside a code block below:
URL for the package (the development repository, not a stylized html page):
https://github.com/nbenn/infx
Please indicate which category or categories from our package fit policies this package falls under *and why(? (e.g., data retrieval, reproducibility. If you are unsure, we suggest you make a pre-submission inquiry.):
Data retrieval: Data and associated meta data can be browsed, queried and downloaded.
Who is the target audience and what are scientific applications of this package?
Anyone interested in developing methodology for analysis of image-based high throughput screening data. Unlike data sets from the Broad Bioimage Benchmark Collection, the full data stack, including raw data, meta data, quality control and analysis (e.g. feature extraction at single cell level) results are accessible. Furthermore, screens are available with replicates, in pooled as well as unpooled fashion and using libraries from several manufacturers, making this an extensive data resource.
Are there other R packages that accomplish the same thing? If so, how does
yours differ or meet our criteria for best-in-category?
No.
If you made a pre-submission enquiry, please paste the link to the corresponding issue, forum post, or other discussion, or @tag the editor you contacted.
Requirements
Confirm each of the following by checking the box. This package:
Publication options
paper.md
matching JOSS's requirements with a high-level description in the package root or ininst/
.Detail
Does
R CMD check
(ordevtools::check()
) succeed? Paste and describe any errors or warnings:Does the package conform to rOpenSci packaging guidelines? Please describe any exceptions:
If this is a resubmission following rejection, please explain the change in circumstances:
If possible, please provide recommendations of reviewers - those with experience with similar packages and/or likely users of your package - and their GitHub user names:
The text was updated successfully, but these errors were encountered: