Open xiangwxt 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:
Great job team! Similar to the python package review I agree that this package is definitely valuable to the intended audience as you have mentioned in your documentation. I hope you have used this package to find some interesting analytics from Twitter polls. Overall you have done an excellent job of creating this package, all the checks ran without any issues. The documentation also seems to be clear and concise on the usage of the functions.
The following comments pertain to your package version on Feb 3, 2022 (5:30 pm PST)
tweetr
package. However, I couldn’t find this package online. I wonder if you are referring to twitteR
package? In which case, I would also suggest adding a URL to this package.ID
.You have done an excellent job on this package! It was really intriguing reading your code and understanding the functionality of your package. Looking forward to newer versions of this package!
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:
30 mins
Great job team! Echoing my comments in the Python review that I really see the research value this has in terms of making it really easy and reproducible to use twitter data. I can see auto-updating dashboards that build off of the funcitonality in this package. Vignette was well done and made it easy to review.
Some constructive feedback:
Once again thank you for producing this package, it was a pleasure to review.
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 hour
I enjoy this package idea, and I think it is very creative and could be of great help to visualize the poll results especially for someone who checks for poll results frequently. Here are some observations from my review and I hope these will help with further improvement of the package.
I got the following warning when installing the package from CRAN as instructed in the Readme. Warning in install.packages : package ‘tweetRpoll’ is not available for this version of R
; I am using this R version R version 4.1.2 (2021-11-01) -- "Bird Hippie"
If installing from CRAN is not working as expected, it might be better to remove this instruction from the Readme file since it was not required.
By the time of this review, there are 8 active branches in the repository, and I think it is general good practice to close out the completed branches and use issues to communicate if there is any further features to be added via branches.
There exists minor inconsistency In the Roxygen of the get_poll_by_id
function. The general description states the function returns data frame, while the returned parameter is actually list.
While testing the function get_poll_by_id
with the output ID from the first function, most of the tests encountered Request returned error
error. The error message itself is not very informative and could be confusing. However, there was a good error message suggesting that tweet does not contain a poll, which makes more sense. It might be helpful if the function could point out what's wrong the input ID and why this error was raised.
When running the following two lines of code, the y label in the visualization graph was not rendered properly. For better visualizations, it might be helpful to consider checking the authorized types of characters in the labels.
poll_info <- get_poll_by_id(1233970022109892608)
visualize_poll(poll_info)
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 hour
Great work overall! Appreciate the effort all of you have been put into the development of this package. Here're some places that I think can be improved:
It would be better by showing some function results along with pictures, tables if any in the Features block under README to provide users with a more clear and straightforward overview of this package, instead of writing descriptions with sentences only.
Although your package is completed, you have one to-do card in your project Kanban. I think you can put it in "Done" list if you are done with ci-cd.
The last few lines of get_tweet_by_id()
contain some comments . Although they have been commented out, you should still consider removing them from your source code. If you believe this is something useful for demonstration, you can put it in your documentation instead.
The installation instructions in README say the package can be installed from CRAN while it is not. Therefore, you should consider removing the CRAN part and just leave the GitHub installation instruction there.
Although I see vignettes in your repo, you have not put a link to it in README so that people can see the full example of your package, I recommend adding it.
Submitting Author: Wenxin Xiang (@xiangwxt), Rada Rudyak (@Radascript), Linh Giang Nguyen (@gn385x) Package Name: tweetRpoll One-Line Description of Package: A R package that allow users to extract and visualize poll data from Twitter! Repository Link: https://github.com/UBC-MDS/tweetRpoll Version submitted: 0.0.0.9000 Reviewer 1: Luming Yang Reviewer 2: Masha Sarafrazi Reviewer 3: Julien Gordon Reviewer 4: Arlin Cherian Submission type: Standard Editor: TBD