-
-
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
Submission: mcbette #360
Comments
Editor checks:
Editor commentsThanks @richelbilderbeek for your submission! I'm now looking for reviewers. In the meantime, I have a few comments/questions you can address:
✖ not use "Depends" in DESCRIPTION, as it can cause name clashes, and
poor interaction with other packages. Use "Imports" instead.
✖ not import packages as a whole, as this can cause name clashes between
the imported packages. Instead, import only the specific functions you need. What are the reasons for importing the whole packages? ✖ fix this R CMD check WARNING: LaTeX errors when creating PDF version.
This typically indicates Rd problems. LaTeX errors found: ! LaTeX Error: File
`ltxcmds.sty' not found. Type X to quit or <RETURN> to proceed, or enter new
name. (Default extension: sty) ! Emergency stop. <read *> l.105
\RequirePackage{ltxcmds}[2010/11/12] ^^M ! ==> Fatal error occurred, no output
PDF file produced! Maybe/probably just a setup thing? |
You can now add a review badge |
I forgot a question: why are there expectations in examples? Can't these cases & expectations live in tests? |
Reviewer 1: @vbaliga (thanks for agreeing to review!). I'll add a deadline once the second reviewer is assigned. |
Thanks @maelle for the first wave of feedback 👍
I have thought about about it, but I felt it not worth the effort to put another CI in place. Usually I add an AppVeyor build to check on Windows, but because You think I should?
Thanks!
They are, I will update the FAQ
Because my other R packages on rOpenSci do not have it either. I'll look into this.
No. BEAST2 has its own (albeit BEAST2) packages. I think they are aware of babette. You think I should contact them?
Correct, I made an Issue here. This JOSS item on rOpenSci is new to me, and I think it's cool. Because I am in the lost months of my PhD, though, I do need to be careful with my time. I suggest the deadline of
✖ not use "Depends" in DESCRIPTION, as it can cause name clashes, and
There are -really!- dozens of functions that need to be imported. OTOH, ✖ fix this R CMD check WARNING: LaTeX errors when creating PDF version.
Thanks, I have fiixed it
After asking the CRAN maintainers for help, indeed, one should not put tests in examples. I've removed these. |
Thank you! No need to add a trivial Appveyor build. :-) Yes I think it might make sense to contact BEAST2 developers because their website is probably the first place an user would look for an R package? (second being a search engine, which would probably uncover your packages). Yes let's put this on hold until 2020/02/09 (@vbaliga, thanks for your understanding, sorry for contacting you too soon). Good luck with your PhD tasks! |
Thanks @maelle 👍 |
Second reviewer @bjoelle (thank you!) - after 2020/02/09 |
@maelle: the JOSS paper is ready for review, but I still need some time (say, another weekend) to fix the other points you've mentioned. |
Great, thanks for the update! |
@maelle: I've worked on some of the points you've mentioned, but have not been able to complete them all yet. Will probably fix before Sunday February 16th 23:59, or at least give another update :+1; |
Just a quick update: done everything, except that I am struggling with some goodpractice issues.
Will post when having solved those last things. Then -AFAICS- the package is ready for review 👍 |
thanks for the update! |
Just a quick update: nearly there, just waiting for the Travis CI and AppVeyor builds to finish, but this will take until tomorrow (I've queued quite some). I will update when I did the last tiny tidbits 👍 |
Still to do:
|
The first reviewer's comments:
I completely agree that getting However, I feel hand-coding the same subset of functionality is not the way to go. Note that the
I have documented using BEAST2 installed at a custom location with this commit.
This would indeed be weird! I looked into this, by writing a test that installs
I agree info on this was thin. I've created a vignette in
I've described the relation to the
I added this.
I moved Additionally, I followed your suggestion and replaced: x <- create_ns_test_inference_model() by x <- create_ns_inference_model()
x$mcmc <- create_test_ns_mcmc()
I made these link to one another. Note that the
This is a neat observation, that I was unaware of. I have fixed this.
Well spotted! I've updated the doc in this commit.
Hmmm, I wish I could reproduce that! Because if I look into the code, I do not treat the inference model different than the BEAST2 options: tryCatch({
bbt_run_out <- babette::bbt_run_from_model(
fasta_filename = fasta_filename,
inference_model = inference_model,
beast2_options = beast2_options
)
ns <- bbt_run_out$ns
},
error = function(e) {
stop(
"Could not estimate the marginal likelihood. \n",
"Error message: ", e$message, "\n",
"fasta_filename: ", fasta_filename, "\n",
"beast2_options: ", beast2_options, "\n",
"inference_model: ", inference_model, "\n"
)
} I would enjoy fixing this, but if I cannot check my results, I cannot see if I have fixed it. Could you reproduce the bug? If yes, I will happily add it!
I agreed, up until I added Minor comments
Well spotted! It now links correctly to
Renamed. Functionality
To the
Great idea, I did so by adding
I added DOIs to all journal articles.
Blimey, well spotted! I've put the Summary there 👍
I removed these quotes altogether. I've added a Travis CI test to verify that
Agreed, I've used to wording you suggested.
I rewrote most of the paper, after which phylogenies are introduced sooner.
Agreed, I've used your more precise wording. Thanks!
I have reworded in a such a way to avoid using the word 'best', and it includes that it is dependent on the alignment/dataset:
Agreed, I removed it. Thanks!
Fixed. Thanks!
Fixed. Thanks!
Did so. |
Second reviewer's reply:
Indeed, it was a bit concise. I have rephrased this as such:
To do so,
Great!
Great!
Happy to read I did a good job 👍
Happy to read I did a good job 👍
Happy to read I did a good job 👍 For packages co-submitting to JOSS
Indeed, somehow this short summary is missing! I've added it 👍
Thanks to your feedback, I have removed the whole -indeed slow- introduction and started at the point you suggested. With some rewriting, I feel I have introduced the need for statistical models enough (by introducing the term 'evidence', aka marginal likelihood) and I hope you agree.
Agreed! I have added a section 'Getting Started' that should introduce the reader to the field and direct him/her to the literature.
Agreed, thanks! I have added these! Functionality
Thanks! If you like that one, you'll love
Cool!
Awesome.
I have the same error. This was not the case upon the submission of Final approval (post-review)
Let's see what this reviewer thinks about this 👍
Done, including the ORCID ID 👍
Happy to hear this!
As noted above, the devtools issues are caused by something upstream (in the lintr package) and needs to be resolved there. Regarding the second error, I can perfectly reproduce this. I predict this is a feature, not a bug. With CTRL+SHIFT+T in R Studio or
I am happy to have this confirmed 👍
I added quite some documentation, due to feedback from the other reviewer indeed. I hope this will also satisfy your needs.
I have restructured the paper from a mix of both reviews. I hope you both like it. I, for sure, do!
Thanks so much for reviewing! |
@maelle: Here goes! A bit clumsy that I forgot 😊 .... |
Thank you, no problem! @vbaliga @bjoelle are you satisfied with @richelbilderbeek's response? If so would you mind checking the box " The author has responded to my review and made changes to my satisfaction. I recommend approving this package." in your review and if not would you be able to add some comments in this thread? In any case many thanks already and again for your reviews. |
Rather than edit my previous review, I am electing to write a fresh one here: 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:
As noted by the other reviewer, some DOIs are missing and it would be great to have them included Functionality
Final approval (post-review)
Estimated hours spent reviewing: <1 for this round
Review CommentsThanks very much for taking my feedback into account. This package was already very good and I think it is even better now in the sense that it is more approachable for new users. I have a couple minor points to bring up, but please note that despite these points I am satisfied with the changes I already see and I am supportive of this work's publication. During > checking R code for possible problems ... NOTE
interpret_marg_lik_estimates: no visible global function definition for
‘na.omit’
Undefined global functions or variables:
na.omit
Consider adding
importFrom("stats", "na.omit")
to your NAMESPACE file. The other point is that I think it would be a nice touch to link to the vignettes at the end of Thanks again to @maelle for the opportunity to review this and to @richelbilderbeek for taking my feedback. I am looking forward to using Best regards, 🐢 |
@vbaliga is right: |
Sorry it took me so long to come back to this review ! Overall I am happy with the changes that have been made to the package and documentation. |
Thank you @bjoelle! The JOSS comments are very important. @richelbilderbeek note that JOSS recently changed their scope so please read the scope again before submitting https://joss.theoj.org/about#submitting Approved! Thanks @richelbilderbeek for submitting and @vbaliga @bjoelle for your reviews! 😸
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 @stefaniebutland in your reply. She will get in touch about timing and can answer any questions. We've put together an online book with our best practice and tips, this chapter starts the 3d section that's about guidance for after onboarding. Please tell us what could be improved, the corresponding repo is here. |
Great! Will do so ASAP, probably next weekend 👍 |
Ok, thanks for the update! 🙏 |
I re-read the scope. AFAICS, the article is still within the scope.
Done 👍
I did a 'replace all' using a regex searching for all files with
Done.
Not applicable
Done 👍
Done 👍
Unsure if I did so correctly. I did create a DOI for the current version, 10.5281/zenodo.4076183
Done, DOI is 10.5281/zenodo.4076183
Done so, at openjournals/joss-reviews#2738
Done 👍
Hi @stefaniebutland, I would enjoy to write a blog post about
I did not need the book this time... |
Congratulations @richelbilderbeek on another package passing peer review! Do you think this one would be suitable as a tech note, rather than longer narrative blog post? Our Blog Guide has details to help you decide, and provides technical details for submitting your post. I think we published this after your babette post. Please suggest a date by which you would like to submit a draft via pull request and I will reply with a publication date. My colleague Steffi LaZerte will review. |
Thanks @richelbilderbeek ! |
Hi @stefaniebutland,
I would prefer the longer narrative blog post, as this one is for a broader audience. I do wonder if that is not too similar to the JOSS acticle I submitted. What do you think?
👍 |
I'm happy to leave this up to your judgement @richelbilderbeek. The post will reach a different audience, so a good way to get more attention for it. That will work as long as you make the content different enough from the JOSS paper. A blog post allows for a somewhat more casual tone. You may use 2020-11-17 or 2020-12-01 as a tentative publication date; date to be finalized during review. |
Hi @richelbilderbeek. Do you prefer 2020-11-17 or 2020-12-01 as a tentative publication date? If 2020-11-17, fyi my colleague @steffilazerte will review on 2020-11-13, so a short turnaround time for edits. |
@stefaniebutland I prefer 2020-12-01, as I will not make it sooner. I will submit a version fit for review before Sunday 2020-11-22 23:59, is that soon enough? |
Perfect. Thank you |
Submitting Author: Richel Bilderbeek (@richelbilderbeek)
Repository: https://github.com/richelbilderbeek/mcbette
Version submitted: 1.8.2
Editor: @maelle
Reviewer 1: @vbaliga
Reviewer 2: @bjoelle
Archive: TBD
Version accepted: TBD
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):
mcbette
automates a model comparison using the tool 'BEAST2' with one of its packages.mcbette
is a wrapper for 'BEAST2' and because 'BEAST2' does not allow to do whatmcbette
does on Windows, this package does not work under the Windows operating system.This package aims at scientists in the field of phylogenetics, as it allows to do a Bayesian model comparison of phylogenetic inference models. Or simpler: with
mcbette
you can pick the best model to build a phylogeny from a DNA sequence.There is some overlap, as model comparison is an important topic in phylogenetics. Unique about
mcbette
is the way how it does so: it uses a novel 'BEAST2' package (called 'NS', shorthand of 'Nested Sampling') to directly estimate the marginal likelihood (a.k.a. the evidence) of an inference model. Because the technique of Nested Sampling is -in this field- novel, the 'BEAST2' package is novel andmcbette
is novel.Technical checks
Confirm each of the following by checking the box. This package:
Publication options
JOSS Options
paper.md
matching JOSS's requirements with a high-level description in the package root or ininst/
.I do intend to submit to JOSS, as it looks awesome! Because I did not expect this (for me, new) option, I am not prepared yet. I will await the acceptance of my submission first, than happily write this!
Not yet.
MEE Options
Code of conduct
The text was updated successfully, but these errors were encountered: