Streamlined way of making a package?

Print your versioninfo(), and maybe versioninfo(verbose = true). I think you may have a package load path set up which is messing with things.

EDIT: see JULIA_LOAD_PATH and LOAD_PATH. So just display LOAD_PATH in the REPL.

EDIT2: to clarify, the load path is mostly used for testing/debugging things, at least nowadays. I don’t have it set up (it has the default value), so I’m guessing you have a leftover setting for load path that makes it prefer packages in the current directory to the global packages, or something like that. This is how it looks for me:

julia> LOAD_PATH
3-element Vector{String}:
 "@"
 "@v#.#"
 "@stdlib"
1 Like