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

Use relative paths instead of Pkg.dir() #30

Closed swt30 closed 9 years ago

swt30 commented 9 years ago

Pkg.dir() won't work if RDatasets is installed outside the standard package location, so use relative paths instead to access other files in the package. See https://github.com/JuliaLang/julia/issues/8679#issuecomment-75796502

Tests don't work on my machine before making this change, so I can't verify that it breaks nothing, but it shouldn't really affect anything.

johnmyleswhite commented 9 years ago

Thanks!