JuliaStats / RDatasets.jl

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

Fix minor regression in datasets.jl #58

Closed mneilsen closed 5 years ago

mneilsen commented 5 years ago

Prior to this changeset, calling RDatasets.datasets("package") would return a DataFrame with only a single row if "package" was found (even if there were more datasets in the package) or raise an error if "package" was not found. This change fixes the regression; all datasets are now returned when "package" is found and an empty DataFrame is returned if "package" is not found.

randyzwitch commented 5 years ago

Merging, since it passes on master.