Bioconductor / Contributions

Contribute Packages to Bioconductor
134 stars 33 forks source link

proBatch submission #958

Closed ChloeHJ closed 5 years ago

ChloeHJ commented 5 years ago

Update the following URL to point to the GitHub repository of the package you wish to submit to Bioconductor

Confirm the following by editing each check box to '[x]'

I am familiar with the essential aspects of Bioconductor software management, including:

For help with submitting your package, please subscribe and post questions to the bioc-devel mailing list.

ChloeHJ commented 5 years ago

One more important thing for developing a new R/Bioconductor package is the interoperability with other existing / established packages in the same area.

Interoperability is strongly encouraged in Bioconductor and would help with the usage of your own package. Consider interoperability with packages included in RforProteomics, and mzR which uses CDF (Common Data Format) to represent MS data in R without completely loading data into memory? Check here for other MS related R / Bioconductor packages: http://bioconductor.org/packages/release/BiocViews.html#___MassSpectrometry

Regards to interoperability, the example data is in the same format as the ones in e.g. SWATH2stats, which is the output from openSWATH. However, we needed a data that explicitly shows the presence of batch effects, both continuous mass spectrometry-associated signal drifts and discrete batch effects. The data included in our package was one of the first large-scale proteomics dataset that explicitly showed the batch effects, which raised the notion to develop tools to correct for them. Therefore, we included a reduced openSWATH output of the data to show that the batch effect can be improved by utilizing our proBatch tool.

bioc-issue-bot commented 5 years ago

Received a valid push; starting a build. Commits are:

59f35a5 version bump to 0.99.12 9808e30 Merge branch 'master' of https://github.com/symbio...

ChloeHJ commented 5 years ago

Hi Qian,

I modified the scripts based on the your comments, and resolved most of them, except for test/ and the vignette problem. I will soon generate tests and get back to you :)

Best regards, Chloe

bioc-issue-bot commented 5 years ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on Linux, Mac, and Windows.

On one or more platforms, the build results were: "ERROR, WARNINGS". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.

Please see the build report for more details.

bioc-issue-bot commented 5 years ago

Received a valid push; starting a build. Commits are:

19a4dd5 add affiliation to vignette

bioc-issue-bot commented 5 years ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on Linux, Mac, and Windows.

On one or more platforms, the build results were: "ERROR, WARNINGS". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.

Please see the build report for more details.

Liubuntu commented 5 years ago

Hi @ChloeHJ ,

Thanks for those updates and sorry for delaying the review of your short vignette. I'll review them altogether next week.

Best, Qian

Liubuntu commented 5 years ago

HI @ChloeHJ ,

Please see the following comments:

vignette

R

tests

test Unit tests are highly recommended. We find them indispensable for both package development and maintenance. Two of the main frameworks for testing are RUnit and testthat. Examples and explanations are provided here.

I am emphasizing the unit test again here. As a large package with many functionalities and hopefully to be widely used by users, good unit tests could help you accurately locate issue source for later maintenance. Otherwise, it's big pain when your package fails in some day, and you spend huge amount of time trying to figure out where the bug is. It would greatly enhance your package by adding unit tests (and glad to hear that you are working on this).

Meta/vignette.rds

Other Suggestions:

library(airway)
data(airway)
airway
is(airway)
assay(airway)[1:5, 1:5]
rowData(airway)
colData(airway)
metadata(airway)

Use methods(class = "SummarizedExperiment") for more details about available methods.

It's fine that you are using in-memory loading of the MS datasets for now. But as you said, the dataset is "large-scale", and it's common that genomic datasets are going out-of-memory large, you should consider the above mentioned data structure for representation of the big data in a lazy way that you don't actually load the whole data into memory for doing analysis using your methods, but you have an interface of the data in R that it seems like you are working with the whole dataset. It's the trend of lazy data representation in R/Bioconductor. For a long-term / next-phase goal of your package, your functions should support these kind of data structures. In your case, the MS lazy interfaces.

Liubuntu commented 5 years ago

The short vignette settings looks fine. Two suggestions:

  1. use smaller data (under data/*.rda) in examples / tests / vignette. The current one is 535*233. Cut it down but big enough to show the functionality.
  2. Do not print twice the figures in the vignettes (seems you are summarizing all figures in the beginning and then separately in lower sections).

The only error comes from the tarball size. Please try to do the above and let's see if this could be fixed.

Best, Qian

ChloeHJ commented 5 years ago

Hi Qian,

Thank you for your comments, I will go through them and get back to you soon,

Best regards, Chloe

bioc-issue-bot commented 5 years ago

Received a valid push; starting a build. Commits are:

2313b56 version bump

bioc-issue-bot commented 5 years ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on Linux, Mac, and Windows.

On one or more platforms, the build results were: "skipped, ERROR, WARNINGS". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.

Please see the build report for more details.

bioc-issue-bot commented 5 years ago

Received a valid push; starting a build. Commits are:

985975b version 0.99.15

bioc-issue-bot commented 5 years ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on Linux, Mac, and Windows.

On one or more platforms, the build results were: "WARNINGS, ERROR". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.

Please see the build report for more details.

bioc-issue-bot commented 5 years ago

Received a valid push; starting a build. Commits are:

93d515c version bump to 0.99.16

bioc-issue-bot commented 5 years ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on Linux, Mac, and Windows.

On one or more platforms, the build results were: "ERROR". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.

Please see the build report for more details.

bioc-issue-bot commented 5 years ago

Received a valid push; starting a build. Commits are:

aa23d59 version bump to 0.99.17

bioc-issue-bot commented 5 years ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on Linux, Mac, and Windows.

On one or more platforms, the build results were: "ERROR, TIMEOUT, WARNINGS". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.

Please see the build report for more details.

bioc-issue-bot commented 5 years ago

Received a valid push; starting a build. Commits are:

fa011d9 version 0.99.18

bioc-issue-bot commented 5 years ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on Linux, Mac, and Windows.

On one or more platforms, the build results were: "WARNINGS". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.

Please see the build report for more details.

bioc-issue-bot commented 5 years ago

Received a valid push; starting a build. Commits are:

4126272 0.99.19 check latest version

bioc-issue-bot commented 5 years ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on Linux, Mac, and Windows.

On one or more platforms, the build results were: "ERROR, WARNINGS". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.

Please see the build report for more details.

bioc-issue-bot commented 5 years ago

Received a valid push; starting a build. Commits are:

255b4d7 version bump to 0.99.20

bioc-issue-bot commented 5 years ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on Linux, Mac, and Windows.

On one or more platforms, the build results were: "WARNINGS". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.

Please see the build report for more details.

bioc-issue-bot commented 5 years ago

Received a valid push; starting a build. Commits are:

6dd1e31 version bump

bioc-issue-bot commented 5 years ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on Linux, Mac, and Windows.

On one or more platforms, the build results were: "WARNINGS". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.

Please see the build report for more details.

bioc-issue-bot commented 5 years ago

Received a valid push; starting a build. Commits are:

6325f77 version bump 0.99.22

bioc-issue-bot commented 5 years ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on Linux, Mac, and Windows.

On one or more platforms, the build results were: "WARNINGS". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.

Please see the build report for more details.

ChloeHJ commented 5 years ago

Hi Qian,

Thank you for the suggestions and comments. We tried to improve our package based your comments and please see the descriptions below for details:

After making these changes, I tried to build/check our package on the machine but it keeps giving me warning about timestamps:

checking for future file timestamps ...Warning in file(con, "r") : cannot open URL 'http://worldclockapi.com/api/json/utc/now': HTTP status was '403 Site Disabled' WARNING unable to verify current time

I was not sure how to handle this problem so may I ask for your suggestion to tackle this warning?

Thank you and best regards, Chloe

Liubuntu commented 5 years ago

HI @ChloeHJ ,

The newly added test functions look awesome. It's fine now to remove the brief vignette also.

Here are some minor issues to fix:

tests

DESCRIPTION

NEWS

examples, dontrun tag.

vignette

Coding issues.

Best, Qian

Liubuntu commented 5 years ago

checking for future file timestamps ...Warning in file(con, "r") : cannot open URL 'http://worldclockapi.com/api/json/utc/now': HTTP status was '403 Site Disabled' WARNING unable to verify current time

Please ignore this warning for now. It's an R-devel issue, we'll update the R-devel and it will go away.

bioc-issue-bot commented 5 years ago

Received a valid push; starting a build. Commits are:

c57be5c multiple of 4 spaces for indentataion 37b476e version bump

bioc-issue-bot commented 5 years ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on Linux, Mac, and Windows.

On one or more platforms, the build results were: "skipped, ERROR". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.

Please see the build report for more details.

bioc-issue-bot commented 5 years ago

Received a valid push; starting a build. Commits are:

a77d8cd version bump

bioc-issue-bot commented 5 years ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on Linux, Mac, and Windows.

Congratulations! The package built without errors or warnings on all platforms.

Please see the build report for more details.

bioc-issue-bot commented 5 years ago

Received a valid push; starting a build. Commits are:

4182ac6 version 0.99.25

bioc-issue-bot commented 5 years ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on Linux, Mac, and Windows.

Congratulations! The package built without errors or warnings on all platforms.

Please see the build report for more details.

ChloeHJ commented 5 years ago

Dear Qian,

Thank you so much for your quick review. I revised our packaged based on your comments:

For the vignette, you commented to remove the .html and .R form the folder but I could not find these files in my local folder. I tried to remove gitignore from vignette folder to see if these folders can be found from elsewhere but I still could not find them. May I ask you for help with this?

Thank you very much for your kind revisions,

Best regards, Chloe

Liubuntu commented 5 years ago

Hi @ChloeHJ ,

All you changes are looking great. Just one more note for the NEWS file. I'll accept this package now. Thanks for your contribution to Bioconductor!

NEWS

Cheers, Qian

bioc-issue-bot commented 5 years ago

Your package has been accepted. It will be added to the Bioconductor Git repository and nightly builds. Additional information will be posed to this issue in the next several days.

Thank you for contributing to Bioconductor!

ChloeHJ commented 5 years ago

Hi @ChloeHJ ,

All you changes are looking great. Just one more note for the NEWS file. I'll accept this package now. Thanks for your contribution to Bioconductor!

NEWS

  • No need to change. Just updating with you the official guideline for NEWS file: htttp://bioconductor.org/developers/package-guidelines/#news

Cheers, Qian

Thank you so much for your revisions all the way Qian!!

mtmorgan commented 5 years ago

The master branch of your GitHub repository has been added to Bioconductor's git repository.

To use the git.bioconductor.org repository, we need an 'ssh' key to associate with your github user name. If your GitHub account already has ssh public keys (https://github.com/ChloeHJ.keys is not empty), then no further steps are required. Otherwise, do the following:

  1. Add an SSH key to your github account
  2. Submit your SSH key to Bioconductor

See further instructions at

https://bioconductor.org/developers/how-to/git/

for working with this repository. See especially

https://bioconductor.org/developers/how-to/git/new-package-workflow/ https://bioconductor.org/developers/how-to/git/sync-existing-repositories/

to keep your GitHub and Bioconductor repositories in sync.

Your package will be included in the next nigthly 'devel' build (check-out from git at about 6 pm Eastern; build completion around 2pm Eastern the next day) at

https://bioconductor.org/checkResults/

(Builds sometimes fail, so ensure that the date stamps on the main landing page are consistent with the addition of your package). Once the package builds successfully, you package will be available for download in the 'Devel' version of Bioconductor using BiocManager::install("proBatch"). The package 'landing page' will be created at

https://bioconductor.org/packages/proBatch

If you have any questions, please contact the bioc-devel mailing list (https://stat.ethz.ch/mailman/listinfo/bioc-devel); this issue will not be monitored further.

symbioticMe commented 5 years ago

Dear reviewers, we have made updates to the package & changed the maintainer (from now on it's me). How to we proceed now to make sure the updates will appear on BioConductor? It seems like BiocCredentials don't work for me