JuliaEarth / GeoStats.jl

An extensible framework for geospatial data science and geostatistical modeling fully written in Julia
https://juliaearth.github.io/GeoStatsDocs/stable/
MIT License
514 stars 62 forks source link

GeoStats.examples() not working #11

Closed Balinus closed 7 years ago

Balinus commented 7 years ago

Hello, I tried the GeoStats.examples() command from the REPL and got the following error:

julia> GeoStats.examples()
ERROR: UndefVarError: examples not defined
julia> Pkg.status("GeoStats")
 - GeoStats                      0.3.5+             master
julia> versioninfo()
Julia Version 0.6.0
Commit 903644385b* (2017-06-19 13:05 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, haswell)

edit - The function is perhaps not exported?

juliohm commented 7 years ago

Hi @Balinus, thank you for reporting the issue. I am not sure why the examples are not launching in your machine. Are you using the latest version of GeoStats.jl (master branch), correct? I think so given your status output. It is working for me here.

I expect it to be called like GeoStats.examples(), so it shouldn't be exported.

Balinus commented 7 years ago

It now works. I restarted Julia. Don't know why it works now as I already had GeoStats installed.

edit - good idea btw! Nice way to show the examples.

juliohm commented 7 years ago

Thanks, I am glad it is working :blush: I hope these examples will be useful to demonstrate the current features of the package and also to educate people about the existence of geostatistics. Please feel free to spread the words :+1: and report any other issue that you may have.