Open zjr-mds 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: 1.5 hours
Overall great work! Here are some of my comments:
The wordCloud
function does not seem to produce an animal-shaped image. I have tried inputting different links and got a square-shaped image in each run.
The output images do not seem to display in the Usage section of the vignette: https://ubc-mds.github.io/Ranimalsgonewild/articles/ranimalgonewild-vignette.html
In the function textTransformer
, three lines of code are repeated, it might be a typo:
I like how you have added comment lines for wordCloud
, it might be a good idea to also include some comment lines for the other three functions.
Minor: In README, the font for Contributors
looks much larger than the other section titles.
Please let me know if you have any questions. Thank you!
@lynnwbl Hello Lynn, thank you for the awesome feedback! And yes, the wordcloud in R package is a bit different from the python package that it can’t produce an animal shaped wordcloud but we’re happy that Rstudio is able to generate a wordcloud based on word counts. Also, good eyes! Thanks for catching the img rendering issue, and duplicate code 🙌
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:
textTransformer
has a bug that it would combine the word with punctuation marks. For example:
> text = "Your chances of being ambushed by a duck are low... but never zero!"
> textTransformer(text)
[1] "Your chances of being ambushed by a duck are horse but never zero!"
The above text should only replace low
with horse
, not low...
textTransformer
description doesn't match the function parameters. The function doesn't actually take a species name but an integer.
From the readme:
This function takes a sequence of text(character) and a species(character), and randomly replaces a set number of words with a random animal.
From the function:
#' @param text String Character
# ' @param num_words Integer
If your function have optional parameter(s), I suggest to include it in the README. For example, the usage of textTransformer
should have both textTransformer(text)
and textTransformer(text, int)
animalClassifier
throws an error when passing empty value:
> animalClassifier("")
Error in if (ratio <= 0.4) { : missing value where TRUE/FALSE needed
I suggest trying to catch it in the function and printing out the message to the user
animalType
there is no check if the user enter none of "Duck", "Monkey", "Giraffe", "Whale"
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:
Same as Python one, great and interesting work!
Here's something that could be improved on:
animalType
and wordCloud
functions. Without seeing those pictures, users may not be able to know what's the functionality of those two functions.textTransformer
function, I don't know how this parameter works in this function.Overall, great works! Thanks for creating such a fun package.
Best, Zack
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 hr
Great work team 16, it was really fun working out this function in R. I have one suggestion:
name: Ranimalsgonewild about: demonstrate basic features of text analysis while applying a humorous lens
Submitting Author Name: Junrong Zhu @zjr-mds, Morgan Rosenberg @morganrosenberg50, Kyle Maj @Kylemaj, Nagraj Rao @nrao944 Submitting Author Github Handle: Junrong Zhu @zjr-mds Other Package Authors Github handles: @morganrosenberg50, @Kylemaj, @nrao944 Repository: https://github.com/UBC-MDS/Ranimalsgonewild Version submitted: 1.0.0 Submission type: Standard Editor: Junrong Zhu @zjr-mds, Morgan Rosenberg @morganrosenberg50, Kyle Maj @Kylemaj, Nagraj Rao @nrao944 Reviewers: Shiva Jena, shiva Jena (@jena), Lynn Wu (@lynnwbl), Son Chau (@SonQBChau), Zack Tang (@zackt113)
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):
Who is the target audience and what are scientific applications of this package?
Are there other R packages that accomplish the same thing? If so, how does yours differ or meet our criteria for best-in-category?
(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