The goal of reviewer2r
is to show a practical example of how to build
an R package for the ETL assignment during winter 2021 at the Political
Science Department at the Federal University of Pernambuco.
You can install the released version of reviewer2r
If for some reason you want to install the released version of
reviewer2r
from CRAN you can do it with:
install.packages("reviewer2r")
Or you can just install development version available on github with:
This is a basic example which shows you how to use the package:
library(reviewer2r)
The main function in the package is the rev_function
. It has an
argument: review.
If review
is TRUE
, than it returns:
rev_function(review = TRUE)
#> [1] "Your theoretical claims did not convince me!"
On the other hand, when review
is FALSE
:
rev_function(review = FALSE)
#> [1] "Go back to the procrastination land!"