boxuancui / DataExplorer

Automate Data Exploration and Treatment
http://boxuancui.github.io/DataExplorer/
Other
513 stars 88 forks source link

eda? #13

Closed victor-moreno closed 8 years ago

victor-moreno commented 8 years ago

Hi Where is package "eda" that GenerateReport requires?

GenerateReport<- function (input_data, output_file = "report.html", output_dir = getwd(), ...) { report_dir <- system.file("rmd_template/report.rmd", package = "eda")

boxuancui commented 8 years ago

This is due to renaming the package from eda to DataExplorer. For now, please run the following code to replace the function:

GenerateReport <- function(input_data, output_file = "report.html", output_dir = getwd(), ...) {
  report_dir <- system.file("rmd_template/report.rmd", package = "DataExplorer") ## this line causes the bug
  render(input = report_dir,
         output_file = output_file,
         output_dir = output_dir,
         params=list(data = input_data, fun_options = list()),
         ...)
  browseURL(file.path(output_dir, output_file))
}

I will push a fix soon.

boxuancui commented 8 years ago

The bug is fixed on both master and develop. Feel free to install from GitHub:

if (!require(devtools)) install.packages("devtools")
library(devtools)
install_github("boxuancui/DataExplorer")

I will close this ticket when CRAN accepts the new version.

boxuancui commented 8 years ago

Version 0.2.4 is on CRAN now and the function should work as expected. Please re-open this ticket if you see any more issues.