danielkrizian / rChartsDygraphs

An `rCharts` extension. Run `dygraphs` from R - interactive visualizations of time series using JavaScript and HTML canvas. See: http://dygraphs.com/ and
http://rcharts.io/
9 stars 10 forks source link

Add `data.table` as dependency? #12

Closed przmv closed 10 years ago

przmv commented 10 years ago

When I was trying to install rChartsDygraphs with

> install_github('rChartsDygraphs', 'danielkrizian')

command, I got the following error message:

** preparing package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  there is no package called 'data.table'
ERROR: lazy loading failed for package 'rChartsDygraphs'
* removing '/home/petr/R/x86_64-pc-linux-gnu-library/3.0/rChartsDygraphs'
Error: Command failed (1)

So, I had to manually install data.table package:

> install.packages("data.table")
przmv commented 10 years ago

The same goes for quantmod as well.

danielkrizian commented 10 years ago

Thanks. Although import(quantmod) and import(data.table) instructions were already in NAMESPACE, the two reference packages were missing in the DESCRIPTION file. Added them under Imports, may consider as Depends or Suggests