JuliaStats / RDatasets.jl

Julia package for loading many of the data sets available in R
GNU General Public License v3.0
160 stars 56 forks source link

no method matching getindex(::Void, ::String) on missing RData #44

Closed colbec closed 5 years ago

colbec commented 8 years ago

Using Julia 0.6 with RDatatsets installed and passing tests but no RData installed, if I call for a dataset RDatasets correctly finds I have no RData and volunteers to install it for me. This appears to happen ok but ends with

should we install RData for you? (y/n):
y
INFO: Start installing RData...
INFO: Installing RData v0.0.4
INFO: Building Rmath
INFO: Package database updated
ERROR: MethodError: no method matching getindex(::Void, ::String)
 in dataset(::String, ::String) at /home/colin/.julia/v0.6/RDatasets/src/dataset.jl:6

RData seems to be correctly installed since now I can call for a dataset and it will display. I tried checkout of RDatasets and same behaviour. Also tried Pkg.rm("RData") and the behaviour repeated. On Julia 0.4.6 I get a depwarn error which is quite different, but will hold off on that report.

asinghvi17 commented 5 years ago

I believe this is not an issue any more?