openjournals / joss-reviews

Reviews for the Journal of Open Source Software
Creative Commons Zero v1.0 Universal
725 stars 38 forks source link

[REVIEW]: TDLM: An R package for a systematic comparison of trip distribution laws and models #5434

Closed editorialbot closed 1 year ago

editorialbot commented 1 year ago

Submitting author: !--author-handle-->@maximelenormand<!--end-author-handle-- (Maxime Lenormand) Repository: https://github.com/EpiVec/TDLM Branch with paper.md (empty if default branch): joss Version: v0.1.1 Editor: !--editor-->@crvernon<!--end-editor-- Reviewers: @kanishkan91, @MAnalytics Archive: 10.5281/zenodo.8183755

Status

status

Status badge code:

HTML: <a href="https://joss.theoj.org/papers/a117e7eaed38f373fda366bf900f4f02"><img src="https://joss.theoj.org/papers/a117e7eaed38f373fda366bf900f4f02/status.svg"></a>
Markdown: [![status](https://joss.theoj.org/papers/a117e7eaed38f373fda366bf900f4f02/status.svg)](https://joss.theoj.org/papers/a117e7eaed38f373fda366bf900f4f02)

Reviewers and authors:

Please avoid lengthy details of difficulties in the review thread. Instead, please create a new issue in the target repository and link to those issues (especially acceptance-blockers) by leaving comments in the review thread below. (For completists: if the target issue tracker is also on GitHub, linking the review thread in the issue or vice versa will create corresponding breadcrumb trails in the link target.)

Reviewer instructions & questions

@kanishkan91 & @MAnalytics, your review will be checklist based. Each of you will have a separate checklist that you should update when carrying out your review. First of all you need to run this command in a separate comment to create the checklist:

@editorialbot generate my checklist

The reviewer guidelines are available here: https://joss.readthedocs.io/en/latest/reviewer_guidelines.html. Any questions/concerns please let @crvernon know.

Please start on your review when you are able, and be sure to complete your review in the next six weeks, at the very latest

Checklists

📝 Checklist for @kanishkan91

📝 Checklist for @MAnalytics

editorialbot commented 1 year ago

Hello humans, I'm @editorialbot, a robot that can help you with some common editorial tasks.

For a list of things I can do to help you, just type:

@editorialbot commands

For example, to regenerate the paper pdf after making changes in the paper's md or bib files, type:

@editorialbot generate pdf
editorialbot commented 1 year ago
Software report:

github.com/AlDanial/cloc v 1.88  T=0.01 s (511.0 files/s, 24186.4 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
TeX                              1              6              0             56
Markdown                         1              7              0             50
YAML                             1              1              4             18
-------------------------------------------------------------------------------
SUM:                             3             14              4            124
-------------------------------------------------------------------------------

gitinspector failed to run statistical information for the repository
editorialbot commented 1 year ago

Wordcount for paper.md is 357

editorialbot commented 1 year ago

Failed to discover a valid open source license

editorialbot commented 1 year ago
Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- None

MISSING DOIs

- 10.1038/nature10856 may be a valid DOI for title: A universal model for mobility and migration patterns
- 10.1038/srep05662 may be a valid DOI for title: Limits of Predictability in Commuting Flows in the Absence of Data for Calibration
- 10.1371/journal.pone.0045985 may be a valid DOI for title: A Universal Model of Commuting Networks
- 10.1103/physreve.88.022812 may be a valid DOI for title: Gravity versus radiation models: On the importance of scale and heterogeneity in commuting flows

INVALID DOIs

- None
crvernon commented 1 year ago

👋 @maximelenormand , @kanishkan91 , and @MAnalytics - This is the review thread for the paper. All of our communications will happen here from now on.

Please read the "Reviewer instructions & questions" in the first comment above.

Both reviewers have checklists at the top of this thread (in that first comment) with the JOSS requirements. As you go over the submission, please check any items that you feel have been satisfied. There are also links to the JOSS reviewer guidelines.

The JOSS review is different from most other journals. Our goal is to work with the authors to help them meet our criteria instead of merely passing judgment on the submission. As such, the reviewers are encouraged to submit issues and pull requests on the software repository. When doing so, please mention https://github.com/openjournals/joss-reviews/issues/5434 so that a link is created to this thread (and I can keep an eye on what is happening). Please also feel free to comment and ask questions on this thread. In my experience, it is better to post comments/questions/suggestions as you come across them instead of waiting until you've reviewed the entire package.

We aim for the review process to be completed within about 4-6 weeks but please make a start well ahead of this as JOSS reviews are by their nature iterative and any early feedback you may be able to provide to the author will be very helpful in meeting this schedule.

editorialbot commented 1 year ago

:point_right::page_facing_up: Download article proof :page_facing_up: View article proof on GitHub :page_facing_up: :point_left:

crvernon commented 1 year ago

:wave: - Hello @kanishkan91 and @MAnalytics !

I've noticed that neither of you have a checklist generated for the review yet. Please let me know if you need help with this! Also, please provide an update on your timeline for completion of this review.

Have a great day!

kanishkan91 commented 1 year ago

@crvernon Just started my review on this. Should be done in two weeks time. Thanks. I'l just generate my checklist now.

kanishkan91 commented 1 year ago

Review checklist for @kanishkan91

Conflict of interest

Code of Conduct

General checks

Functionality

Documentation

Software paper

MAnalytics commented 1 year ago

Review checklist for @MAnalytics

Conflict of interest

Code of Conduct

General checks

Functionality

Documentation

Software paper

MAnalytics commented 1 year ago

@crvernon checklist generated! My reviews should also be ready in two weeks! Cheers.

crvernon commented 1 year ago

👋 - Hello @kanishkan91 and @MAnalytics !

Just checking in to see how things are going. Please provide an update on your review here. Thanks!

Have a great day!

kanishkan91 commented 1 year ago

@crvernon Still working on my review. Should be done this week.

kanishkan91 commented 1 year ago

@crvernon @maximelenormand. I'm going through my review and have been opening issues that the author can start addressing. However, I would like to raise a couple of points here sonner rather than later.

1. Lack of test cases- I could not find any test cases for this package. I think this is one of the requirements prior to publication in JOSS. I would recommend the author adds test cases and ensures atleast 60% of the lines of code are covered by a test . This is referenced in this issue- https://github.com/EpiVec/TDLM/issues/3 2. Problems installing- I had a few problems installing this package. This is referenced here- https://github.com/EpiVec/TDLM/issues/9. I traced this issue to a simple fix, which is that the DESCRIPTION file does not impose any version constrains on the dependencies. So, even though I am working with the correct version of R (greater than 4.0.0), the installation seems to fail since the package seems to want the latest for all packages (some of which require a higher version of R). This is referenced in another issue- https://github.com/EpiVec/TDLM/issues/8. 3. Related issue with readr version- I guess this is an example of the issue listed above. A wrong version of the readr package can lead to errors such as the one pasted below (Atleast I think this is related to package versions). I am using readr version 1.4.0. The version should be clarified in the DESCRIPTION file. Note that the error below occurs because the progress parameter is deprecated in the latest version of readr. image

4. No windows/Ubuntu build on workflows- Maybe I am missing something but I could not see a workflow for a windows build or Ubuntu build here. Is that correct? If so, those should be added. This is described in another issue here- https://github.com/EpiVec/TDLM/issues/5

I have opened other issues as well, but these are some of the bigger ones that may take some time addressing. Hence wanted to highlight right away. Please let me know if I missed anything in the above.

maximelenormand commented 1 year ago

@crvernon @kanishkan91. Thank you for accepting to review my package. I started to address @kanishkan91's concerns.

  1. The package contains several controls to check the arguments and inputs format. All the functions are documented and automated tested in the examples and in the vignette during the R-CMD-check performed with GitHub Actions on windows, mac and ubuntu. Based on that, the "test process" seems to be between OK and Good according to JOSS Review criteria (https://joss.readthedocs.io/en/latest/review_criteria.html). I am OK to add more automated tests and a badge to rigorously quantify the amount of codes covered by the tests but this may take time.

  2. It seems that you are using old versions of the R packages needed to run and install TDLM. I followed the CRAN recommendation by not specifying exact versions and not specifying unnecessarily conservative and inconvenient minimal versions. I will try to go through the imports one by one to identify a minimal version.

  3. The "process" argument was added in version 2.0.0 of readr (published in July 2021). I added a minimal version for readr (>= 2.0.0) in the description file. It is not easy to identify the relevant (and not too conservative) minimal version for the six TDLM's dependencies but as mentioned in 2. I will do my best to identify a minimal version for each of them.

  4. I am using GitHub actions to perform R-CMD-check on windows, mac and ubuntu. I followed your suggestion and added a badge to the repo.

kanishkan91 commented 1 year ago

@cvernon I have completed my review (As can be seen from the issues opened). @maximelenormand has already started addressing several of these issues (Thanks a ton!). Once all issues are addressed, I'm happy to clear for publication. This is clearly a very useful software.

MAnalytics commented 1 year ago

@editorialbot commands

editorialbot commented 1 year ago

Hello @MAnalytics, here are the things you can ask me to do:


# List all available commands
@editorialbot commands

# Get a list of all editors's GitHub handles
@editorialbot list editors

# Check the references of the paper for missing DOIs
@editorialbot check references

# Perform checks on the repository
@editorialbot check repository

# Adds a checklist for the reviewer using this command
@editorialbot generate my checklist

# Set a value for branch
@editorialbot set joss-paper as branch

# Generates the pdf paper
@editorialbot generate pdf

# Generates a LaTeX preprint file
@editorialbot generate preprint

# Get a link to the complete list of reviewers
@editorialbot list reviewers
MAnalytics commented 1 year ago

@editorialbot check references

editorialbot commented 1 year ago
Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- None

MISSING DOIs

- 10.1038/nature10856 may be a valid DOI for title: A universal model for mobility and migration patterns
- 10.1038/srep05662 may be a valid DOI for title: Limits of Predictability in Commuting Flows in the Absence of Data for Calibration
- 10.1371/journal.pone.0045985 may be a valid DOI for title: A Universal Model of Commuting Networks
- 10.1103/physreve.88.022812 may be a valid DOI for title: Gravity versus radiation models: On the importance of scale and heterogeneity in commuting flows

INVALID DOIs

- None
MAnalytics commented 1 year ago

@editorialbot generate pdf

editorialbot commented 1 year ago

:point_right::page_facing_up: Download article proof :page_facing_up: View article proof on GitHub :page_facing_up: :point_left:

MAnalytics commented 1 year ago

@maximelenormand @kanishkan91 @crvernon

Please, try and run googpractice::gp() and fix some minor styling issues. e.g.,

Then I can resume my review from there.

maximelenormand commented 1 year ago

@MAnalytics @crvernon Thank you for accepting to review my package. I run goodpractice::gp() and fixed some styling issues.

MAnalytics commented 1 year ago

@maximelenormand @crvernon Sorry for the delay. It's been very difficult installing the package on Windows OS. Even after following @kanishkan91 suggestions, it's still proving difficult.

maximelenormand commented 1 year ago

@MAnalytics @crvernon Could you please elaborate on the difficulties that you encountered while installing the package? I installed it on several virtual windows machine and also asked different colleagues to do it (both the CRAN and the GitHub versions) and I've never encountered any problem.

MAnalytics commented 1 year ago

@editorialbot generate pdf

editorialbot commented 1 year ago

:point_right::page_facing_up: Download article proof :page_facing_up: View article proof on GitHub :page_facing_up: :point_left:

MAnalytics commented 1 year ago

As for the installation, apologies it was my PC acting out! This is a very nice package and I think would be useful in transportation research! No major issues (separate from the ones already highlighted by @kanishkan91) are identified! But would like to emphasise two minor revisions:

MA.

maximelenormand commented 1 year ago

@MAnalytics @kanishkan91 @crvernon Thanks a lot for your reviews. I've just updated the paper by adding a package "Functionality" section describing the main functions of the package. I also added a description and limitations of existing R packages in the "Statement of need" section. Thanks again for the suggestions.

kanishkan91 commented 1 year ago

@whedon generate pdf

editorialbot commented 1 year ago

My name is now @editorialbot

kanishkan91 commented 1 year ago

@editorialbot generate pdf

editorialbot commented 1 year ago

:point_right::page_facing_up: Download article proof :page_facing_up: View article proof on GitHub :page_facing_up: :point_left:

kanishkan91 commented 1 year ago

@maximelenormand Looks great! I checked off the last item.

@crvernon All looks good from my side. I approve for publication.

MAnalytics commented 1 year ago

@crvernon I will also like to approve the paper for publication! Congrats to @maximelenormand

danielskatz commented 1 year ago

@crvernon - it looks like this is ready to proceed?

crvernon commented 1 year ago

@danielskatz yes, I will run through my part this weekend. Thanks!

crvernon commented 1 year ago

@editorialbot check references

editorialbot commented 1 year ago
Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.5281/zenodo.5171373 is OK

MISSING DOIs

- 10.1038/nature10856 may be a valid DOI for title: A universal model for mobility and migration patterns
- 10.1038/srep05662 may be a valid DOI for title: Limits of Predictability in Commuting Flows in the Absence of Data for Calibration
- 10.1371/journal.pone.0045985 may be a valid DOI for title: A Universal Model of Commuting Networks
- 10.1103/physreve.88.022812 may be a valid DOI for title: Gravity versus radiation models: On the importance of scale and heterogeneity in commuting flows
- 10.21105/joss.01038 may be a valid DOI for title: Gravity: Estimation Methods for Gravity Models in R

INVALID DOIs

- None
crvernon commented 1 year ago

@editorialbot generate pdf

editorialbot commented 1 year ago

:point_right::page_facing_up: Download article proof :page_facing_up: View article proof on GitHub :page_facing_up: :point_left:

crvernon commented 1 year ago

:wave: @maximelenormand - you are almost there! Here are a few comments from me that I need you to take a look at before we can move forward:

Additionally, you are missing DOI for the following references and several others, please check these to make sure they use a DOI where available:

Thanks!

maximelenormand commented 1 year ago

@crvernon Thank you for these suggestions. I have just updated the paper.

crvernon commented 1 year ago

@editorialbot check references

editorialbot commented 1 year ago
Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.1016/j.physrep.2018.01.001 is OK
- 10.1016/j.jtrangeo.2015.12.008 is OK
- 10.1038/nature10856 is OK
- 10.1038/srep05662 is OK
- 10.1371/journal.pone.0045985 is OK
- 10.1103/physreve.88.022812 is OK
- 10.21105/joss.01038 is OK
- 10.5281/zenodo.5171373 is OK

MISSING DOIs

- None

INVALID DOIs

- None
crvernon commented 1 year ago

@editorialbot generate pdf

editorialbot commented 1 year ago

:point_right::page_facing_up: Download article proof :page_facing_up: View article proof on GitHub :page_facing_up: :point_left:

crvernon commented 1 year ago

Thank you @maximelenormand !

I am going to move forward with getting this paper ready for acceptance.

We want to make sure the archival has the correct metadata that JOSS requires. This includes a title that matches the paper title and a correct author list.

So here is what we have left to do:

I can then move forward with accepting the submission.