Open Kingslin0810 opened 2 years ago
The package includes all the following forms of documentation:
URL
, BugReports
and Maintainer
(which may be autogenerated via Authors@R
).Estimated hours spent reviewing: 1.5
Hi group 30, well done on this package! Similar to my comments for your python package, your repo is clean, concise, presents a great tool for chemists, and seems as though you are the one of the first to create something like this in the R space. This project is really well put together; everything is clearly organized, mostly everything required is included and easy to find, and the written documentation is very well organized so it's simple to follow.
I have a few notes on some things I saw in your project that you could explore for improvement. Some of these are the same comments from your python package as the same things existed here:
moles_grams_converter()
there is a small spelling mistake: "A checmical formula for the conversion" moles_grams_converter()
there is a small grammar mistake, a "for" is missing: "A number FOR mass that is converted to either moles or grams"compute_mass()
there are periods ending the sentences. I believe official Roxygen style is to leave them without a period.moles_grams_converter()
might not be performing what is intended here, similar to in your python package.
convert_to
is "The type of conversion to be made to either "moles" or "grams"", however in your test function it shows this:In addition to the above comments, there are some missed check boxes above that you could review as well. All of your tests passed with no notes or warnings, as well as the covr coverage test, which is excellent. Again, great work everyone, please reach out if you have any questions. Thank you
Please check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide
The package includes all the following forms of documentation:
URL
, BugReports
and Maintainer
(which may be autogenerated via Authors@R
).Estimated hours spent reviewing: 2
Hello group 30, congratulations on your repository. It is a unique repo that is focused on chemists in R space, and it is one of the first that I have come across something like this. I think your repository is well organized and easy to understand. It is well put together and simple to follow.
I have a few comments that you can work on to improve further.
You can separate each function to have its own unique script file for future upgradeability and reduction in merge conflicts.
The installation instructions are not working. I currently cannot install package using "install.packages("chemcalculatorrr")". I think this can be updated to include necessary steps. You can list all the steps by using git to install package.
There are 4 contributors in your repository but in your Readme.md you have listed 3 contributors as contributor developers.
In the Roxygen of function moles_grams_converter
function there is a small spelling mistake: "A checmical formula for the conversion"
In the Roxygen documentation for compute_mass()
sentences end with periods. Roxygen suggested style is to leave them without a period.
All of your tests passed including coverage test. Great work to everyone - let me know if you have any questions!
@berkaybulut Thanks for your review! To address some of your comments:
install_github("UBC-MDS/chemcalculatorrr")
instead of install.packages
thanks @berkaybulut some typos are fixed here
Please check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide
The package includes all the following forms of documentation:
URL
, BugReports
and Maintainer
(which may be autogenerated via Authors@R
).Estimated hours spent reviewing: 1.5
After adding Vignettes parts and updating your documentation, I think your repo looks fantastic! As a business background person who have very limited chemistry knowledge, I can still easily understand your functions by reading through the documentation. The structure looks very clean and organized. Each file resides in the right folder. The package can be successfully installed and functions also works well. The test coverage also goes to 95.55%. Congratulations on completion of this project!
Here are some problems and suggestions:
I see that you keep 3 decimals for the outcome. However, in the help
file, the examples part shows outcome of different number of decimals. I think you can update the document.
Also, the outcome in help
file for compute_mass("H2O")
example is different from the actual number which returns 18.013. Same problem happens to percent_mass()
.
As a suggestion, you can separate the functions into different R file, since it will be more flexible to make modification and update on each function, and it will reduce conflicts to a big extent when making PR and merging contribution.
Package dependencies and License can be added to Readme file.
It is better to write library with the function. For example, use here::here(...)
in the code instead of putting `library(here) on the top.
Congrats again for finishing the repo. Let me know if you have any question.
Submitting Author Name: Kingslin Lv, Joyce Wang, and Allyson Stoll Submitting Author Github Handle: @Kingslin0810, @jo4356, and @datallurgy Repository: chemcalculatorrr Version submitted: 1.0.0 Submission type: Standard Editor: Florencia D'Andrea (@flor14) Language: en
Paste the full DESCRIPTION file inside a code block below:
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.):
(If applicable) Does your package comply with our guidance around Ethics, Data Privacy and Human Subjects Research?
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.Technical checks
Confirm each of the following by checking the box.
This package:
Publication options
MEE Options
* [ ] The package is novel and will be of interest to the broad readership of the journal. * [ ] The manuscript describing the package is no longer than 3000 words. * [ ] You intend to archive the code for the package in a long-term repository which meets the requirements of the journal (see MEE's Policy on Publishing Code - (Scope: Do consider MEE's Aims and Scope for your manuscript. We make no guarantee that your manuscript will be within MEE scope.) - (Although not required, we strongly recommend having a full manuscript prepared when you submit here.) - (Please do not submit your package separately to Methods in Ecology and Evolution)