Bioconductor / Contributions

Contribute Packages to Bioconductor
134 stars 33 forks source link

CoRegFlux #975

Closed ptrebulle closed 5 years ago

ptrebulle 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.

bioc-issue-bot commented 5 years ago

Hi @ptrebulle

Thanks for submitting your package. We are taking a quick look at it and you will hear back from us soon.

The DESCRIPTION file for this package is:

Package: CoRegFlux
Type: Package
Title: CoRegFlux
Version: 0.99.0
Author: Pauline Trébulle, Daniel Trejo-Banos, Mohamed Elati
Maintainer: Pauline Trébulle <coregflux@gmail.com>
Description: CoRegFlux aims at providing tools to integrate reverse engineered gene regulatory networks and gene-expression into metabolic models to improve prediction of phenotypes, both for metabolic engineering, through transcription factor or gene (TF) knock-out or overexpression in various conditions as well as to improve our understanding of the interactions and cell inner-working.
License: GPL-3
Encoding: UTF-8
LazyData: true
Imports:
    CoRegNet,
    sybil
RoxygenNote: 6.1.1
Suggests: 
    glpkAPI,
    testthat,
    knitr,
    rmarkdown,
    digest,
    R.cache,
    ggplot2,
    plyr,
    igraph,
    methods 
biocViews:GeneRegulation,Network,SystemsBiology,GeneExpression,Transcription,GenePrediction
VignetteBuilder: knitr
bioc-issue-bot commented 5 years ago

A reviewer has been assigned to your package. Learn what to expect during the review process.

IMPORTANT: Please read the instructions for setting up a push hook on your repository, or further changes to your repository will NOT trigger a new build.

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:

26a4af9 Update DESCRIPTION f5ca1da Update DESCRIPTION 4fc9546 Update DESCRIPTION

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:

c840667 Update DESCRIPTION and reduce the size of SC_EXP_D...

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:

fb6fbff Update CoregfluxFunctions e4fae77 Version bumped

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:

14835c3 Update data size 6494056 Update CoregluxFunctions example 97cdf87 Update DESCRIPTION (version bump + depends)

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.

ptrebulle commented 5 years ago

Dear @Kayla-Morrell, I am currently working on fixing the issues highlighted in the build report but I am not sure about what to do regarding the error message "dependency glpkAPI is not available for package CoRegFlux" when constructed under Linux and OS X . I moved glpkAPI from Suggests to Imports in the Description file previously but the problem remains. Do you have any idea to help me solve this issue ? Additionnaly, for the Windows build, I have warnings regarding the check time, is there any way to reduce it without decreasing the number of evaluation and examples in the vignette ? Thanks you in advance for your help !

lshep commented 5 years ago

I see that glpkAPI is a CRAN package so it should be a suitable dependency - this is on our end. I'll look into why it cannot be installed on the other platforms. @Kayla-Morrell will still be in charge of your review and can assist you with any other questions/concerns.

bioc-issue-bot commented 5 years ago

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

3022788 Update sybil default solver fb678b3 Update Description imports - trigger built

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, TIMEOUT". 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.

ptrebulle commented 5 years ago

Thank you @lshep ! I noticed that the glpkAPI package asks for some system requirements (GLPK (>= 4.42)) which might be the source of the problem ? In my last commit, I changed the solver to another one (with no system requirement) in the vignette to assess if it can facilitate the building of the package on Linux and OS X and, while it works, it seems to greatly slow down the process and to be less efficient in solving the simulations. I revert back to glpkAPI without triggering a new built. Let me know if there is anything I can do to fix this on my side.

lshep commented 5 years ago

I believe we have installed the latest version of GLPK - you can try adding the version back in with a version bump for your package.

bioc-issue-bot commented 5 years ago

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

ce7d2ac 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:

e97335c Update DESCRIPTION

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:

9861d24 Update DESCRIPTION

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:

b56dd92 Update Simulation example and DESCRIPTION

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:

74e180b Update man and DESCRIPTION

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:

98cccba Reduce time to run test 847cdc3 Add data to decrease running time 4100be8 Update Version 07fd260 add PredictedGeneState

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:

9863130 Update examples to reduce check time

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:

0e29060 Update description

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.

Kayla-Morrell commented 5 years ago

Hi @ptrebulle,

Thank you for submitting to Bioconductor. Please see the initial review of your package below:

DESCRIPTION

Good description of the package.

NAMESPACE

data

Looks good, documentation needs some work but this will be addressed in the R files and man pages sections.

vignette

Install:

if(!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")
BiocManager::install("CoRegFlux")

Load:

library(CoRegFlux)
Adjusting bounds of metabolic model
elapsed = 0.23  Round = 1   p = 10.0000 Value = 1.7692 
Error in if ((min(X) < 0) | (max(X) > 1) | ((max(X) - min(X)) <= 0.5)) { : 
  missing value where TRUE/FALSE needed

R files

CoregfluxFunctions.R

DFBAsimulationFunctions.R

FVAFunctions.R

ODToGenes.R

data.R

man pages I only reviewed the man pages for the functions that are being exported since these are the ones that the user will end up seeing. The others ones should be taken care of once the tag @keywords internal is added.

ODCurveToFluxCurves.Rd

ODCurveToMetabolicGeneCurves.Rd

ODcurveToMetCurve.Rd

ODtoflux.Rd

PredictedGeneState.Rd

SC_EXP_DATA.Rd

SC_GRN_1.Rd

SC_Test_data.Rd

SC_experiment_influence.Rd

aliases_SC.Rd

coregflux_static.Rd

get_biomass_flux_position.Rd

get_fba_fluxes_from_observarions.Rd

get_fva_intervals_from_observations.Rd

iMM904.Rd

predict_linear_model_influence.Rd

visMetabolicGeneCurves.Rd

miscellaneous

Everything else looks good. Let me know if you have any questions or need clarification on any of the points above. Please comment back here with updates that have been made and when the package is ready for a re-review.

Best, Kayla

bioc-issue-bot commented 5 years ago

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

adeca15 Improved functions documentations fa3d307 Add keyword internal to function not exported 1c15884 Add data to titles in data.R 827827f Add Installation, Figure explanation, SessionInfo ... 9a4ef73 Add info on R.cache directory bb509ac Rewrite iMM904 e93fd9d Reorganize setup vignette 7ec4e26 Update vignette, change layout, add table of conte... d951ac0 Version bumped

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:

1983a80 add data(iMM904) in example 1022bea Version bumped

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:

e9e2718 Fix data examples c2db681 Version bump + test version R

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:

2b113f7 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.

ptrebulle commented 5 years ago

Dear @Kayla-Morrell , Thanks for your comments. You will find bellow the changes carried out on the package.

Some precisions on our corrections: CoRegNet and sybil functions are used a lot in the code and will ease the user experience as they probably will use those functions themselves to interrogate their network and genome-scale metabolic model, thus, we think a general import is more relevant here.
Regarding the unit tests: is the number of units tests already provided unsufficient in your opinion ? We used the testthat package to include about a dozen of unit test to ensure that the functions work as expected, which we thought was sufficient to cover the functionnalities of CoRegFlux.

I believe the package is ready for re-review but the last build report had a warning which I am not sure I can fix myself since it is related to the accessibility of http://worldclockapi.com/api/json/utc/now .

DESCRIPTION

bioc-issue-bot commented 5 years ago

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

432e6ea Trigger build

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.

Kayla-Morrell commented 5 years ago

Hello @ptrebulle,

Thank you for the work done on your package. I must have missed the unit tests the first time around. The amount you have is fine so please ignore that comment. I have looked over the changes made and have just a few more requirements/suggestions before accepting your package. See the secondary review below. Comment back here when you are ready for me to look it over again.

vignette

R files

General Package Development

These notes come from R CMD BiocCheck

bioc-issue-bot commented 5 years ago

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

d39cf43 correct 1: to seq_len 25557be change sapply into vapply f13daa5 Update corresponding man files f285047 Add rBayesianOptimization to suggest package in De... 2f9b53e Update vignette 1bb4d17 Revert vapply to sapply 7e38636 Trigger build

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.

ptrebulle commented 5 years ago

Hi @Kayla-Morrell , Thanks for your new comments. We updated the code according to them. Regarding the clarification, we used to put eval=FALSE due to a timeout error when submitting the package to Bioconductor to compile and evaluate the vignette. However, as the examples were updated since the first submission, it should not be a problem anymore, thus I turned the eval back to TRUE as suggested. In my last build, I encountered an error during the "Check" step on Linux and MacOS which I think is due to some internet connexion problem. Can you have a look at it and tell me if it is on your side or related to the package ? Once this is fixed, I believe CoRegFlux will be ready for a re-review. Thanks in advance !

R files

General Package Development

These notes come from R CMD BiocCheck

Kayla-Morrell commented 5 years ago

@ptrebulle

Try another version bump, that should get rid of the errors.