3

I am working on an R project (R studio) that requires several packages and packrat to manage them. I have been able to find CRAN or binaries for all of them except rCharts which has to be installed with:

   require(devtools)
   install_github('rCharts', 'ramnathv')

This method of installation does not seem to work at all with packrat.

Since this project needs to be easily setup/run on a variety of computers, packrat seems like it is the only solution to keep the required packages in order for this project.

How can I make rCharts work with packrat so that the user does not have to manually install rCharts?

Thanks in advance for any advice.

nassimhddd
  • 8,340
  • 1
  • 29
  • 44
Ryan
  • 231
  • 3
  • 9

1 Answers1

3

Packrat provides a special function to install packages from github.

packrat::install_github("ramnathv/rCharts")
nassimhddd
  • 8,340
  • 1
  • 29
  • 44