Closed kostaskyritsis closed 7 years ago
Hi @kostaskyritsis
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: InterMineR
Title: R Interface with InterMine-Powered Databases
Version: 0.99.0
Date: 2016-01-05
Author: Bing Wang, Julie Sullivan, Rachel Lyne, Konstantinos Kyritsis
Maintainer: InterMine Team <j.sullivan@gen.cam.ac.uk>
Description: Databases based on the InterMine platform such as FlyMine, modMine (modENCODE), RatMine, YeastMine, HumanMine and TargetMine are integrated databases of genomic, expression and protein data for various organisms. Integrating data makes it possible to run sophisticated data mining queries that span domains of biological knowledge. This R package provides interfaces with these databases through webservices. It makes most from the correspondence of the data frame object in R and the table object in databases, while hiding the details of data exchange through XML or JSON.
License: LGPL
VignetteBuilder: knitr
Imports: Biostrings, RCurl, XML, xml2, RJSONIO, sqldf, igraph, httr
Suggests: BiocStyle, Gviz, knitr, rmarkdown
BugReports: https://github.com/intermine/intermineR/issues
biocViews: GeneExpression, SNP, GeneSetEnrichment, DifferentialExpression, GeneRegulation, GenomeAnnotation, GenomeWideAssociation, FunctionalPrediction, AlternativeSplicing, ComparativeGenomics, FunctionalGenomics, Proteomics, SystemsBiology, Microarray, MultipleComparison, Pathways, GO, KEGG, Reactome, Visualization
Your package has been approved for building. Your package is now submitted to our queue.
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.
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 following build report for more details:
http://bioconductor.org/spb_reports/InterMineR_buildreport_20170608062747.html
This needs a layer that integrates it with Bioconductor, e.g., returns annotations as GRanges, expression data as SummarizedExperiments, etc. It also needs a more convenient query interface. The template selection seems to expose an implementation detail. Why not have a function for each type of query? Why not have constraints expressed as R expressions that are translated? Why not have formal classes representing the query and data model?
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 following build report for more details:
http://bioconductor.org/spb_reports/InterMineR_buildreport_20170613101545.html
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 following build report for more details:
http://bioconductor.org/spb_reports/InterMineR_buildreport_20170614080000.html
Hi Konstantinos @kostaskyritsis, I'm trying to build the package locally but I am getting an error:
* checking examples ... ERROR
Running examples in ‘InterMineR-Ex.R’ failed
The error most likely occurred in:
[truncated]
Error in rsqlite_send_query(conn@ptr, statement) : no such table: res
Calls: getModel ... initialize -> initialize -> rsqlite_send_query -> .Call
Execution halted
Regards, Marcel
Hi Marcel @LiNk-NY ,
I have cloned locally the current intermine/InterMineR master branch and performed R CMD build and R CMD check in both Windows:
R version 3.4.0 Patched (2017-05-25 r72747) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200)
and Ubuntu OS:
R version 3.4.0 (2017-04-21) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 16.04.2 LTS
but I could not reproduce the error that you mention.
Similarly to this travis ci check:
The error appears to originate from the example code within an .Rd file.
Would it be possible to send me the specific code included within the
[truncated]
part of the error message that you mention above? This way I will locate the Rd file containing the problem.
Furthermore, concerning the comment of @lawremi , we have already created and now testing two functions that facilitate conversion of InterMineR query results to GRanges and RangedSummarizedExperiment objects.
Also we are are working on a formal class to represent queries and on functions that will provide a more convenient query interface than the current system of defining list objects.
We will update shortly with a version bump when these changes are ready.
Best, Konstantinos
Hi Konstantinos, @kostaskyritsis
Here it is:
* checking examples ... ERROR
Running examples in ‘InterMineR-Ex.R’ failed
The error most likely occurred in:
> ### Name: getModel
> ### Title: Get the model of InterMine
> ### Aliases: getModel
>
> ### ** Examples
>
> im <- initInterMine("humanmine.org/humanmine")
>
> model <- getModel(im)
Loading required package: tcltk
Error in rsqlite_send_query(conn@ptr, statement) : no such table: res
Calls: getModel ... initialize -> initialize -> rsqlite_send_query -> .Call
Execution halted
R version 3.4.0 Patched (2017-04-28 r72639) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 16.04.2 LTS
Regards, Marcel
Received a valid push; starting a build. Commits are:
d907577 Update DESCRIPTION
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 following build report for more details:
http://bioconductor.org/spb_reports/InterMineR_buildreport_20170703064958.html
Hi Konstantinos, @kostaskyritsis cc: @julie-sullivan
After updating my installed packages, I am no longer getting the error mentioned earlier. I will review your package soon.
Also, please keep in mind that if you are planning to submit to CRAN
, your package will not be eligible for Bioconductor. We don't allow duplicate packages.
Thank you, Marcel
Received a valid push; starting a build. Commits are:
9e62213 Update DESCRIPTION
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: "ABNORMAL". 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 following build report for more details:
http://bioconductor.org/spb_reports/InterMineR_buildreport_20170710054052.html
Received a valid push; starting a build. Commits are:
da6b48f Update DESCRIPTION
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 following build report for more details:
http://bioconductor.org/spb_reports/InterMineR_buildreport_20170710104158.html
Hi Marcel @LiNk-NY cc: @lawremi
Thank you for your comment, yes we plan to submit the InterMineR package only in Bioconductor.
Concerning your review, we have added two formal classes:
along with 4 new functions:
in order to facilitate the query process with InterMineR package and avoid defining multiple list objects and loops. Furthermore we have added the functions:
in order to facilitate the conversion of genomic data and annotations retrieved by InterMineR to GRanges and RangedSummarizedExperiment objects.
These changes were included in the latest push from the intermine/InterMineR master branch.
All best, Konstantinos
Received a valid push; starting a build. Commits are:
9a092a9 Update DESCRIPTION
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 following build report for more details:
http://bioconductor.org/spb_reports/InterMineR_buildreport_20170710120701.html
Hi Konstantinos, @kostaskyritsis
It would be advisable to keep your naming conventions consistent. Please use camelCase
naming conventions for your functions. Appending "query" and "result" to a class name is not really helpful for the user. Please use class names and methods that are more generic. Perhaps, you can create an "InterMineR" class with query and result methods?
I will look into your package shortly.
Regards,
Marcel
Hi Marcel, @LiNk-NY Thank you for your comment! I will replace InterMineR_query and InterMineR_result classes with a class called InterMineR and add the appropriate methods. Also I will check the rest of the functions and modify them accordingly to follow the camelCase naming conventions. All best, Konstantinos
Hi Konstantinos, @kostaskyritsis Any updates on making these changes? Please don't forget to bump your package's version when you do.
Regards, Marcel
Received a valid push; starting a build. Commits are:
421e8a7 Update DESCRIPTION
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 following build report for more details:
http://bioconductor.org/spb_reports/InterMineR_buildreport_20170802104932.html
Hi Marcel, @LiNk-NY
I have updated the package and it was built without errors or warnings!
Functions, methods and classes follow the camelCase naming conventions now. I removed InterMineR_query and InterMineR_result classes and created a single InterMineR formal class for complex queries, with runQuery and summary as generic functions that call methods for this class.
Also the package has now two datasets, which can be loaded with the data() function, to facilitate creating examples in documentation.
Finally, I added one more function, convertToGeneAnswers, to facilitate visualization of InterMineR enrichment analysis results with the functions of GeneAnswers Bioconductor package.
All best, Konstantinos
Hi Konstantinos, @kostaskyritsis Thanks for making those changes. I will review them shortly. Regards, Marcel
Hi Konstantinos, @kostaskyritsis Thank you for submitting to Bioconductor. Please find the review below. Thank you.
Regards, Marcel
Depends
field to your DESCRIPTIONLICENCE
file to LICENSE
. requireNamespace
to test for available suggested package sapply
, use the more robust vapply
assign
. Create a list with available arguments and use
do.call
to
call the function if it must be done this way.strand.vector
before gsubbingc()
, use the allocate and fill strategy@
and use where()
insteadinheritQuery
if available? (see setQuery.R
)Minor:
is.*
such as is.character
[[
to access elements in a list rather than $
Any updates on this Konstantinos? @kostaskyritsis
Hi Marcel, @LiNk-NY I have been working on adding some tutorials and updating the vignette in order to facilitate the usage of the package.
Presently I will perform:
I will make these changes and comment on them very soon! All best, Konstantinos
Received a valid push; starting a build. Commits are:
45dc983 Update DESCRIPTION
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 following build report for more details:
http://bioconductor.org/spb_reports/InterMineR_buildreport_20170823155401.html
Received a valid push; starting a build. Commits are:
7dc1a6b Update DESCRIPTION
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 following build report for more details:
http://bioconductor.org/spb_reports/InterMineR_buildreport_20170828072918.html
Hi Marcel, @LiNk-NY
Based on your review I performed the following changes:
DESCRIPTION:
NAMESPACE:
roxygen2
format: and RStudio to create NAMESPACE file for the package
LICENSE:
R:
isNamespaceLoaded
with requireNamespace
to test for available suggested package GeneAnswerssapply
with vapply
assign
and instead I used the proposed do.call
to pass a list containing the arguments and call the function (in convertToGeneAnswers.R)strand.vector
)@
in accessing elements of a class with the function slot
convertToRangedSummarizedExperiment
function where multiple indices are combined in a single vector)inheritQuery
is used to pass the values of a pre-existing list query (e.g. from the variety of choices from the template queries) to the new InterMineR-class
query.Perhaps it would be better to avoid combining the rest of the arguments with those of inheritQuery
because:
1) The goal is for the user to be able to also modify the query within the setQuery
function
2) To be able to modify the query in a straightforward manner (if any other argument is assigned with a value in setQuery
then it replaces the value from the inheritQuery
(also mentioned in the documentation details setQuery.Rd). This way it is easier to replace, add or remove a constraint, a value from the select argument etc.
Minor:
InterMineR
and its elements can not be of different class than the one defined within the representation$
with [[
to access elements in a list#
Furthermore I added the RMD files:
1) Enrichment_Analysis_and_Visualization.Rmd 2) FlyMine_Genomic_Visualizations.Rmd
as tutorials facilitating the usage of the package and updated the vignette:
#
Please let me know if more changes are necessary for the acceptance of the InterMineR package.
All best, Konstantinos
Hi Konstantinos, @kostaskyritsis
Thank you for making those changes. I will have a quick look at them and will get back to you shortly.
Note: The point about not using @
is to use a extractor function that describes what is being extracted as in assay(SummarizedExperiment)
instead of SummarizedExperiment@assay
.
Regards, Marcel
Hi Konstantinos, @kostaskyritsis
The use of slot
is acceptable only if the developer will be accessing that slot. Otherwise, I would recommend that you provide an intelligible function name for access to the slot, usually of the same name (see example above).
Regards,
Marcel
I would also break up error messages using commas ( , ) so that there is no overflow across lines.
Example: https://github.com/intermine/InterMineR/blob/master/R/convertToGeneAnswers.R#L58
stop("'enrichIdentifier' from getWidgets function is missing,",
"\n Assign 'enrichCategoryChildName' with the appropriate identifier.")
Also, for the minor point:
is.*
such as is.character
This means that you should test class membership using the special function rather than comparing class strings. For example:
class(where) != "list"
# VS #
!is.list(where)
The latter method is more robust.
Regards, Marcel
Hi Marcel, @LiNk-NY
Thank you, I will make these changes and comment on them very soon!
All best, Konstantinos
Received a valid push; starting a build. Commits are:
362d825 Update DESCRIPTION
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 following build report for more details:
http://bioconductor.org/spb_reports/InterMineR_buildreport_20170910185735.html
Hi Marcel, @LiNk-NY
Regarding the latest changes in the InterMineR package:
InterMineR-class
, which can be found in the InterMineR-methods.R (for the code) and InterMineR-methods.Rd (for the documentation), and removed the function slot
from the code which is accessed by the user.stop
function (convertToGRanges.R, convertToGeneAnswers.R, setConstraints.R).class
function with the appropriate is.*
(convertToGRanges.R, setConstraints.R, setQuery.R, simplifyResult.R)All best, Konstantinos
Hi Konstantinos, @kostaskyritsis Thank you for making those changes. Your package has been accepted. Thanks for submitting to Bioconductor. Best regards, Marcel
Your package has been accepted. It will be added to the Bioconductor Git repository and nightly builds. Additional information will be sent to the maintainer email address in the next several days.
Thank you for contributing to Bioconductor!
Great! Thanks Marcel, @LiNk-NY!
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 (tithub.com/
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 biocLite("YOUR_PACKAGE_NAME")
. The package 'landing page' will be created at
https://bioconductor.org/packages/YOUR_PACKAGE_NAME
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.
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]'
[x] I understand that by submitting my package to Bioconductor, the package source and all review commentary are visible to the general public.
[x] I have read the Bioconductor Package Submission instructions. My package is consistent with the Bioconductor Package Guidelines.
[x] I understand that a minimum requirement for package acceptance is to pass R CMD check and R CMD BiocCheck with no ERROR or WARNINGS. Passing these checks does not result in automatic acceptance. The package will then undergo a formal review and recommendations for acceptance regarding other Bioconductor standards will be addressed.
[x] My package addresses statistical or bioinformatic issues related to the analysis and comprehension of high throughput genomic data.
[x] I am committed to the long-term maintenance of my package. This includes monitoring the support site for issues that users may have, subscribing to the bioc-devel mailing list to stay aware of developments in the Bioconductor community, responding promptly to requests for updates from the Core team in response to changes in R or underlying software.
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.