Open ZherenXu opened 2 years ago
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: 45 minutes
pracma
can be referred to.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: 1hr
# ------ tests is_orthogonal with integer input ------
test_that("Error in is_orthogonal for float input", { ...}
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: 1hours
_pkgdown.yml
is empty as well -- this is probably the source of the missing vignette mentioned by other commentors.
Value
d, A numerical value for distance between the two parallel lines
dist_pll_lines_2d(-4, 11, 23) d <- "2.9104"
As is, I thought this was some input I needed to create a var `d <-` to make the function work. It was a little confusing as a new user to the function.
4. I think the R documentation for `is_intersection_3d` description is too long. Just the first sentence of the description would be sufficient -- "Determines whether two infinite lines intersect in 3-dimensional space." I don't think a full paragraph is necessary.
5. There are 17 active branches on the main repo and some of them seem repetitive and/or have now defunct purposes. For example, `feat_is_intersection_3d` and `feat_is_intersection`. I think for contributing purposes, it would be cut down on the number of branches.
Overall, this was an extremely well done package and I'm impressed by the quality achieved in a few short weeks. I apologize for the nit-picky comments - it was hard to find things to comment on! So don't take these critiques too harshly. 😆 Great job!
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
Great work! Here are some minor points to consider.
I think choosing a package name that would follow a similar format for both R and Python packages would have been helpful. Currently, the R package is named CoordGeomR
, whereas the Python package is named coordgeompy
. I personally prefer the R package name, since the capital letters helps with easier readability.
I think since the functions in this package recreate functions that already exist in other packages, it would have been good to explain why a user might want to use CoordGeomR over other packages in the motivation section.
As mentioned, it seems like the rendered vignette does not show up in the repo.
I really liked the testing of the package. I think different test functions for different purposes is definitely organized very well and is easy to read.
Just a very minor comment about the testing comments, for is_orthogonal
tests, the comments for two of test functions repeat "tests is_orthogonal with integer input", but it seems like the last test function is actually testing float input. Also, the inputs test for this function will just throw an error of "Invalid inputs". It could be helpful to provide a more helpful error message.
Currently the example, includes the usage of only one of the functions. It would be helpful to include examples of other functions in the package.
Very detailed docstrings for the functions that help the user understand what each of them do, and in particular, I found the defensive programming to be very impressive.
Submitting Author Name: Arlin Cherian, Jordan Casoli, Nico Van den Hooff, Zheren Xu Submitting Author Github Handle: @arlincherian, @jcasoli, @nicovandenhooff, @ZherenXu Repository: https://github.com/UBC-MDS/CoordGeomR Version submitted: v1.0.0 Submission type: Standard Editor: TBD Reviewers: Vera Cui, Jasmine ORTEGA, Mel Liow, Anahita Einolghozati
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): coordgeomr is a simple coordinate geometry helper package. It allows users to perform various geometric operations
Who is the target audience and what are scientific applications of this package? Data analysts, statisticians or any other R users who need to do simple geometry calculations.
Are there other R packages that accomplish the same thing? If so, how does yours differ or meet our criteria for best-in-category? There is an existing package called LearnGeom that executes similar functions. For example, the package has functions like DistanceLines that computes the distance between two lines and IntersectLines which finds the intersection of two lines. The intention for coordgeomr is to be a light and beginner-friendly R library for basic geometry manipulation.
(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
[ ] 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
- [ ] 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](http://besjournals.onlinelibrary.wiley.com/hub/journal/10.1111/(ISSN)2041-210X/journal-resources/policy-on-publishing-code.html)) - (*Scope: Do consider MEE's [Aims and Scope](http://besjournals.onlinelibrary.wiley.com/hub/journal/10.1111/(ISSN)2041-210X/aims-and-scope/read-full-aims-and-scope.html) 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*)Code of conduct