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 `UndefVarError` of `@sprintf` in Issue #55 #56

Closed szcf-weiya closed 6 years ago

szcf-weiya commented 6 years ago

For Julia v1.0, it is necessary to load Printf module before calling @sprintf.(#55 ) So there might be two ways to resolve this issue. One is to add dependence of Printf which might bring a new trouble for old versions. Another way is directly to use error function with substrings, as in this pull request.

randyzwitch commented 6 years ago

Thanks for the contribution. I think this has already been handled with https://github.com/johnmyleswhite/RDatasets.jl/pull/54, which should be merged in in the next day or so

szcf-weiya commented 6 years ago

@randyzwitch OK!

randyzwitch commented 6 years ago

Just merged #54 to master, closing