R installation

The easiest method is to install direct from this GitHub repository using:

1
2
3
# R
library(devtools)
install_github("datasciencecampus/trendr")

Otherwise, you can pull this repository and install locally using:

1
2
# R
install("path/to/trendr/dir")

R building

If neither method above works. Or you wish to make changes to the package. Then you will need to build the package. Building trendy requires devtools and roxygen2:

1
2
3
# R
install.packages("devtools")
install.packages("roxygen2")

Then:

1
2
3
# R
build("path/to/trendr/dir")
install("path/to/trendr/dir")

Once you have installed trendr using RStudio you can now start using it in RStudio.

Edit on GitHub