-
-
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
dendroNetwork #627
Comments
Thanks for submitting to rOpenSci, our editors and @ropensci-review-bot will reply soon. Type |
🚀 Editor check started 👋 |
Note: The following R packages were unable to be installed/upgraded on our system: [RCy3]; some checks may be unreliable. |
I'm guessing the issue is that https://devguide.ropensci.org/building.html?q=Biocond#pkgdependencies And: I'll poke around more and see if I can find other recent submissions that used Bioconductor packages. |
Sorry @ldecicco-USGS and @RonaldVisser, that was a bug with Bioc installs on our side. Checks should appear in a moment. |
Checks for dendroNetwork (v0.5.0)git hash: 02a3fe68
Important: All failing checks above must be addressed prior to proceeding (Checks marked with 👀 may be optionally addressed.) Package License: GPL (>= 3) 1. Package DependenciesDetails of Package Dependency Usage (click to open)
The table below tallies all function calls to all packages ('ncalls'), both internal (r-base + recommended, along with the package itself), and external (imported and suggested packages). 'NA' values indicate packages to which no identified calls to R functions could be found. Note that these results are generated by an automated code-tagging system which may not be entirely accurate.
Click below for tallies of functions used in each package. Locations of each call within this package may be generated locally by running 's <- pkgstats::pkgstats(<path/to/repo>)', and examining the 'external_calls' table. baselength (20), lapply (10), subset (10), unlist (10), max (9), for (8), min (8), as.vector (6), c (6), matrix (5), ncol (5), apply (4), as.numeric (4), rownames (4), by (3), cbind (3), colSums (3), dim (3), formatC (3), merge (3), nchar (3), nrow (3), paste0 (3), sqrt (3), system.file (3), unique (3), diff (2), is.na (2), mean (2), rep (2), seq (2), seq_along (2), abs (1), all.vars (1), as.data.frame (1), list (1), log (1), match.call (1), sum (1) igraphcliques (6), add_edges (4), make_empty_graph (4), V (3), E (2), graph.data.frame (2), clique_num (1), cluster_edge_betweenness (1), decompose (1), decompose.graph (1) dendroNetworkcor_mat_overlap (3), t_value (3), wuchswerte (3), clique_community_names_par (2), sim_table (2), clique_community_names (1), cyto_clean_styles (1), cyto_create_cpm_style (1), cyto_create_gn_style (1), cyto_create_graph (1), dendro_network (1), find_all_cpm_com (1) magrittr%>% (20) reshape2melt (10) RCy3createNetworkFromIgraph (4), importVisualStyles (3), layoutNetwork (1), loadTableData (1) dplyrmutate (5), row_number (2) statsD (3), weights (2), pnorm (1) grDevicescolorRampPalette (2), colors (2) RColorBrewerbrewer.pal (3) dplRas.rwl (2) foreachforeach (2) doParallelregisterDoParallel (1) NOTE: Some imported packages appear to have no associated function calls; please ensure with author that these 'Imports' are listed appropriately. 2. Statistical PropertiesThis package features some noteworthy statistical properties which may need to be clarified by a handling editor prior to progressing. Details of statistical properties (click to open)
The package has:
Statistical properties of package structure as distributional percentiles in relation to all current CRAN packages
All parameters are explained as tooltips in the locally-rendered HTML version of this report generated by the The final measure (
2a. Network visualisationClick to see the interactive network visualisation of calls between objects in package 3.
|
message | number of times |
---|---|
Avoid 1:length(...) expressions, use seq_len. | 2 |
Avoid library() and require() calls in packages | 2 |
Lines should not be more than 80 characters. | 85 |
4. Other Checks
Details of other checks (click to open)
✖️ The following function name is duplicated in other packages:
-
sim_table
from BCEA
Package Versions
package | version |
---|---|
pkgstats | 0.1.3.11 |
pkgcheck | 0.1.2.15 |
Editor-in-Chief Instructions:
Processing may not proceed until the items marked with ✖️ have been resolved.
Thanks for the submission @RonaldVisser ! Looks like a neat package. Before we can proceed you'll need to get continuous integration set up. I'd start by trying: That might work - I haven't used Bioconductor packages in awhile, so I'm not 100% sure. If that doesn't work, then you could try: The other "X" items above should be pretty straightforward to address, but let me know if you have any questions. The error on the build is:
If |
Thanks for the compliment! Thank you for the comments and help! I have done some updating of various functions, added some tests and the continuous integration (github actions R-CMD / pkgcheck) seems to be working fine. According to pkgcheck it now checks all the boxes :) Due to the various edits, I released a new release (0.5.1), with changes described in the NEWS-file. |
@ropensci-review-bot check package |
Thanks, about to send the query. |
🚀 Editor check started 👋 |
Apologies once again @ldecicco-USGS @RonaldVisser. Failed this time because the checks appear to have been called at exactly the time the system was scheduled for regular rebuild (first few hours of Tues, UTC). I've just submitted a PR to our DevGuide to clarify that. Checks will appear straight after this. |
Checks for dendroNetwork (v0.5.2)git hash: e76e3dd1
(Checks marked with 👀 may be optionally addressed.) Package License: GPL (>= 3) 1. Package DependenciesDetails of Package Dependency Usage (click to open)
The table below tallies all function calls to all packages ('ncalls'), both internal (r-base + recommended, along with the package itself), and external (imported and suggested packages). 'NA' values indicate packages to which no identified calls to R functions could be found. Note that these results are generated by an automated code-tagging system which may not be entirely accurate.
Click below for tallies of functions used in each package. Locations of each call within this package may be generated locally by running 's <- pkgstats::pkgstats(<path/to/repo>)', and examining the 'external_calls' table. baselength (20), lapply (10), subset (10), unlist (10), max (9), for (8), min (8), as.vector (6), c (6), matrix (5), ncol (5), apply (4), as.numeric (4), rownames (4), by (3), cbind (3), colSums (3), dim (3), formatC (3), merge (3), nchar (3), nrow (3), paste0 (3), sqrt (3), system.file (3), unique (3), diff (2), is.na (2), mean (2), rep (2), seq (2), seq_along (2), abs (1), all.vars (1), as.data.frame (1), list (1), log (1), match.call (1), sum (1) igraphcliques (6), add_edges (4), make_empty_graph (4), V (3), decompose (2), E (2), graph_from_data_frame (2), clique_num (1), cluster_edge_betweenness (1) dendroNetworkcor_mat_overlap (3), t_value (3), wuchswerte (3), clique_community_names_par (2), sim_table (2), clique_community_names (1), cyto_clean_styles (1), cyto_create_cpm_style (1), cyto_create_gn_style (1), cyto_create_graph (1), dendro_network (1), find_all_cpm_com (1) magrittr%>% (20) reshape2melt (10) RCy3createNetworkFromIgraph (4), importVisualStyles (3), layoutNetwork (1), loadTableData (1) dplyrmutate (5), row_number (2) statsD (3), weights (2), pnorm (1) grDevicescolorRampPalette (2), colors (2) RColorBrewerbrewer.pal (3) dplRas.rwl (2) foreachforeach (2) doParallelregisterDoParallel (1) NOTE: Some imported packages appear to have no associated function calls; please ensure with author that these 'Imports' are listed appropriately. 2. Statistical PropertiesThis package features some noteworthy statistical properties which may need to be clarified by a handling editor prior to progressing. Details of statistical properties (click to open)
The package has:
Statistical properties of package structure as distributional percentiles in relation to all current CRAN packages
All parameters are explained as tooltips in the locally-rendered HTML version of this report generated by the The final measure (
2a. Network visualisationClick to see the interactive network visualisation of calls between objects in package 3.
|
id | name | conclusion | sha | run_number | date |
---|---|---|---|---|---|
7901669279 | pkgcheck | success | e76e3d | 22 | 2024-02-14 |
7901669272 | R-CMD-check | success | e76e3d | 10 | 2024-02-14 |
3b. goodpractice
results
R CMD check
with rcmdcheck
R CMD check generated the following notes:
- checking for hidden files and directories ... NOTE
Found the following hidden files and directories:
.github
These were most likely included in error. See section ‘Package
structure’ in the ‘Writing R Extensions’ manual. - checking top-level files ... NOTE
File
LICENSE
is not mentioned in the DESCRIPTION file. - checking package subdirectories ... NOTE
Found the following CITATION file in a non-standard place:
CITATION.cff
Most likely ‘inst/CITATION’ should be used instead. - checking R code for possible problems ... NOTE
clique_community_names: no visible binding for global variable ‘com’
clique_community_names: no visible binding for global variable
‘com_name’
clique_community_names_par: no visible binding for global variable ‘i’
clique_community_names_par: no visible binding for global variable
‘com’
clique_community_names_par: no visible binding for global variable
‘com_name’
dendro_network: no visible binding for global variable ‘r’
dendro_network: no visible binding for global variable ‘sgc’
dendro_network: no visible binding for global variable ‘p’
dendro_network: no visible binding for global variable ‘series_a’
dendro_network: no visible binding for global variable ‘series_b’
find_all_cpm_com: no visible binding for global variable ‘node’
find_all_cpm_com: no visible binding for global variable ‘com_name’
find_all_cpm_com: no visible binding for global variable ‘n’
gn_names: no visible binding for global variable ‘GN_com’
gn_names: no visible binding for global variable ‘node’
gn_names: no visible binding for global variable ‘com_name’
Undefined global functions or variables:
com com_name GN_com i n node p r series_a series_b sgc
R CMD check generated the following check_fails:
- rcmdcheck_stale_license_file
- rcmdcheck_citation_file_at_standard_place
- rcmdcheck_undefined_globals
- rcmdcheck_hidden_files_and_directories
Test coverage with covr
Package coverage: 91.44
Cyclocomplexity with cyclocomp
The following function have cyclocomplexity >= 15:
function | cyclocomplexity |
---|---|
cyto_clean_styles | 20 |
Static code analyses with lintr
lintr found the following 96 potential issues:
message | number of times |
---|---|
Avoid 1:length(...) expressions, use seq_len. | 2 |
Avoid library() and require() calls in packages | 2 |
Lines should not be more than 80 characters. | 92 |
4. Other Checks
Details of other checks (click to open)
✖️ The following function name is duplicated in other packages:
-
sim_table
from BCEA
Package Versions
package | version |
---|---|
pkgstats | 0.1.3.11 |
pkgcheck | 0.1.2.15 |
Editor-in-Chief Instructions:
This package is in top shape and may be passed on to a handling editor
@ropensci-review-bot assign @ldecicco-USGS as editor |
Assigned! @ldecicco-USGS is now the editor |
Editor checks:
Editor commentsI was able to run the example functions from the readme and vignette. It would very helpful to push a compiled
Setting up a pkgdown site should take care of most of the "Documentation " subtasks. The other sub-category that could be improved is "not just perfunctory" vignettes. Perhaps you could take the contents of the "paper.md" and put that same information in a vignette? I would also ask that you take a look at the following packages and make sure there's not specific overlap: https://github.com/AndyBunn/dplR There's a good chance I'd be asking authors from those packages to do a review. I do not know enough about tree ring science to understand where the overlap might fall. |
Thank you for your helpful comments! More steps to make my package better :) The paper is there to submit to JOSS in a later stage, but I have added an extra Vignette and I'll think about developing more Vignettes. I have created a pkgdown website: https://ronaldvisser.github.io/dendroNetwork/ and that was and interesting and fun thing to do :) There is no overlap with the packages you mentioned:
I believe that the dendroNetwork package can work very well with these packages, but it adds new functionality to the available R-packages and I have tried to explain that in the paper (for JOSS) I have added in the repository. |
@ropensci-review-bot assign @kaijagahm as reviewer |
@kaijagahm added to the reviewers list. Review due date is 2024-03-14. Thanks @kaijagahm for accepting to review! Please refer to our reviewer guide. rOpenSci’s community is our best asset. We aim for reviews to be open, non-adversarial, and focused on improving software quality. Be respectful and kind! See our reviewers guide and code of conduct for more. |
@kaijagahm: If you haven't done so, please fill this form for us to update our reviewers records. |
@ropensci-review-bot assign @gzach93 as reviewer |
@gzach93 added to the reviewers list. Review due date is 2024-03-28. Thanks @gzach93 for accepting to review! Please refer to our reviewer guide. rOpenSci’s community is our best asset. We aim for reviews to be open, non-adversarial, and focused on improving software quality. Be respectful and kind! See our reviewers guide and code of conduct for more. |
📆 @gzach93 you have 2 days left before the due date for your review (2024-03-28). |
Response review Kaija GahmThank you Kaija for the wonderfully detailed review. Below you will find the response to the review by kaijagahm. Documentation
Functionality
Review Comments
The following commit addresses the points in 1-6. I am really happy with all the things you have found and this resulted a new version to release: 0.5.2 |
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:
I think the author did a great job connecting their R package to the already existing R packages specifically created for their field.
The installation instructions were easy to follow and I was able to install the package and realted software needed. It seems like the audience for this package would be new researchers to dendrology that are looking to create dendrochonological networks. If this is the intended audience maybe the author can add a little more about what Cytoscape is and does or provide a small summary and where the reader can find more resources? I want to make sure that I understand but is Cytoscape mainly used for the visualization after this R packages formats the data and run the network analyses?
Could you add the data description for the example data in the vignettes? I see it in RING_Visser_2021.Rd, but it might be good to move that into the vignette. Can more specific details about what the code is doing be added? Consider also adding a brief description of things like the Girvan-Newman algorithm or more technical terms. Again I am assuming that this package is trying to create an easy pathway for researchers getting into this sort of analysis.
The t_value function could use a return function at the end of it. The example of the t_value function does not output results right now. The wuchswerte function example, I think, require a dataset "anos1" from the dplR package. However, in order to use this dataset users have to visit https://opendendro.github.io/dplR-workshop/ to get started. Is it possible to make this data more accessible or use another dataset?
Functionality
I am not sure how to run these tests.
Estimated hours spent reviewing: 4
Review Comments
|
@ropensci-review-bot submit review #627 (comment) time 4 |
Logged review for gzach93 (hours: 4) |
Thanks @gzach93! One way to run the tests (these are the "testthat" tests in the "test" folder) is to run @RonaldVisser you can now start addressing the reviews! |
Response to review Zachary Gajewski (gzach93)Thank you for your review, @gzach93. I am happy that you were positive about many things, but also for finding things to improve the package! Some things were already corrected before receiving your review and I am sorry for already updating while waiting for your review. DocumentationInstallation instructions: Thanks for noticing that. I have added a description of Cytoscape to the README and the vignettes: dendroNetwork and Cytoscape, including a link to the Cytoscape-website., see commit. Vignettes:I have added a vignette on dendrochronological data, see commit. Links to a better explanation of the Girvan-Newman Algorithm and CPM were already added earlier, based on the review by @kaijagahm, see response and commit Examples:Thanks for also noticing that t_value() was not outputting to console. This was already corrected, based on the other review: see commit. The references to the anos1 dataset was also already corrected, see commit Automated tests: see response to the review by kaijagahm You were added as reviewer to the DESCRIPTION-file, see commit Review Comments
I would like to explain that a dendrology is not the same as dendrochronology. Both are tree related, but the latter is aimed at tree-rings and the temporal patterns and the former more on trees in general. This confusion is very common, since these words look very similar. Thank you again for your help in making this package and the documentation better! |
@ldecicco-USGS : I have addressed both reviews. I am really happy with the improvements based on the valuable comments by reviewers @kaijagahm and @gzach93, and I hope I have addressed the points they raised sufficiently. |
Hi @gzach93 and @kaijagahm Do you feel that the changes and updates have addressed your concerns? If so, see: |
@RonaldVisser: please post your response with Here's the author guide for response. https://devguide.ropensci.org/authors-guide.html |
Hi @RonaldVisser thank you for going through and addressing all my comments! Reviewer Response #### Final approval (post-review) - [X] The author has responded to my review and made changes to my satisfaction. I recommend approving this package. |
Thanks again @gzach93 and @kaijagahm for the reviews and @RonaldVisser for the submission! |
@ropensci-review-bot approve dendroNetwork |
Approved! Thanks @RonaldVisser for submitting and @kaijagahm, @gzach93 for your reviews! 😁 To-dos:
Should you want to acknowledge your reviewers in your package DESCRIPTION, you can do so by making them Welcome aboard! We'd love to host a post about your package - either a short introduction to it with an example for a technical audience or a longer post with some narrative about its development or something you learned, and an example of its use for a broader readership. If you are interested, consult the blog guide, and tag @ropensci/blog-editors in your reply. They will get in touch about timing and can answer any questions. We maintain an online book with our best practice and tips, this chapter starts the 3d section that's about guidance for after onboarding (with advice on releases, package marketing, GitHub grooming); the guide also feature CRAN gotchas. Please tell us what could be improved. Last but not least, you can volunteer as a reviewer via filling a short form. |
Reviewer ResponseFinal approval (post-review)
Estimated hours spent reviewing: 4.5 (total, not just for this step) |
@ropensci-review-bot finalize transfer of dendroNetwork |
Transfer completed. |
Thanks @ldecicco-USGS for your excellent role as editor! And thanks again @kaijagahm and @gzach93 for your wonderful reviews. The package is now transferred to ROpenSci and I have addressed all to do's I'd be happy to write a blog post about this packages @ropensci/blog-editors |
Hi @RonaldVisser! I'm excited to hear that you're interested in writing a blog post for us! As mentioned above, we have two types of blog posts: either an introduction to your package featuring technical details for a technical audience or a longer post with some narrative about its development or something you learned, and possibly an example of its use for a broader readership. The difference between a technote and a blog post is more about the style and content then length, but technical posts are often shorter than blog posts (no requirement either way). To contribute a post, we'll have you open a PR to the roweb3 repository. About a week or two before our publication date, you can ping me and I'll review the post and give you some suggestions for content and style. You'll consider my feedback, make any changes you'd like to make, and then we merge and publish! We have a flexible timeline right now, so when every you're ready is good for us. However, if you work better with a deadline, we could set a deadline of the last week of May for the draft, expecting to publish the first week of June (or earlier!). You can read more about the details of writing an rOpenSci blog post here: https://blogguide.ropensci.org/ (and don't hesitate to ask if you have any questions). So! Let me know what kind of post you'd like to write and what kind of timeline you want to follow. You can reach me on the Slack (Steffi LaZerte; you should have gotten an invitation by now?) or via email (sel@steffilazerte.ca), and/or ping me when you open the PR to roweb3 (@steffilazerte). Thanks! |
Hi @steffilazerte , Thanks for the comments! I'll have a more through look at the documentation and I'll probably email you with questions later. I have not received a Slack-invite, but I have not used that for some time... Thank you :) |
Great! Well you should get the Slack invite at some point (I think both people who handle that are away at the moment). And if you don't (and would like it 😁 ), let us know! |
Date accepted: 2024-04-25
Submitting Author Name: Ronald M. Visser
Submitting Author Github Handle: @RonaldVisser
Repository: https://github.com/RonaldVisser/dendroNetwork
Version submitted: 0.5.0
Submission type: Standard
Editor: @ldecicco-USGS
Reviewers: @kaijagahm, @gzach93
Archive: TBD
Version accepted: TBD
Language: en
Scope
Please indicate which category or categories from our package fit policies this package falls under: (Please check an appropriate box below. If you are unsure, we suggest you make a pre-submission inquiry.):
Explain how and why the package falls under these categories (briefly, 1-2 sentences):
The software deals with the analysis of dendrochronological data and aims the help to study, understand and visualize patterns in the data using network analyses. The software combines R with Cytoscape.
Who is the target audience and what are scientific applications of this package?
Dendrochronologist. The scientific application lies in the analyses and visualization of large datasets using networks. The method has been applied before to determine the provenance of wood from archaeological contexts, but can also be used to determine other patterns based on the similarity between tree-ring series or even other time series.
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, none as far as I know.
(If applicable) Does your package comply with our guidance around Ethics, Data Privacy and Human Subjects Research?
NA
If you made a pre-submission inquiry, please paste the link to the corresponding issue, forum post, or other discussion, or @tag the editor you contacted.
Explain reasons for any
pkgcheck
items which your package is unable to pass.I tried to run pkgcheck, but it failed with the following feedback:
Error in vapply(tag_data, function(i) i$keyword, character(1L)) :
values must be length 1,
but FUN(X[[12]]) result is length 2
I have absolutely no idea why....
The same error occurs locally and using github action.
Technical checks
Confirm each of the following by checking the box.
This package:
Publication options
Do you intend for this package to go on CRAN?
Do you intend for this package to go on Bioconductor?
Do you wish to submit an Applications Article about your package to Methods in Ecology and Evolution? If so:
MEE Options
Code of conduct
The text was updated successfully, but these errors were encountered: