I’m hoping to finalize a package for deployment soon, but when I try to install it from github, everything works except for the Graphs.jl dependency.
Weirdly enough, it does install Graphs, but when I try to load my package, it complains that Graphs isn’t installed (specifically that the data struct SimpleGraph isn’t defined), until I install Graphs manually. I do have a few “using” statements in my various files, but it doesn’t behave the same way with the using Pipe @pipe statement.
In my module definition, I use Reexport to reexport all the dependencies to make sure they’re usable if necessary. Also, I use Distributed to try to make sure the files that are part of the module are available for parallelism on the end users’ machine without too fuss.
I’ve included my module definition below, if anyone can point me in the right direction here, I would seriously appreciate it!
module Package_Name (still private until PI says I can release it) using Reexport @reexport using Graphs, Distributed, StatsBase, LinearAlgebra , Random, Distributions #,StaticArrays using Pipe: @pipe # Write your package code here. include("pure_functions.jl") include("optimize.jl") include("actions.jl") @everywhere include("pure_functions.jl") @everywhere include("optimize.jl") @everywhere include("actions.jl") export main, starting_network, create_targets, normalize_am, assign_node_type export action1, action2, action3, action4, action5, action6, action7, action8 export extract_matrix, generate_graph end