Two examples of lightweight packages as alternatives to a large package:
- RecipesBase.jl instead of Plots.jl
- OrdinaryDiffEq.jl instead of DifferentialEquations.jl
In both cases, the former is added to a personal package to avoid the sheer size of the latter as a dependency.
For example, in OrdinaryDiffEq.jl, you choose the algorithm. But what if I want to run the same code with solve
from DifferentialEquations.jl to see what algorithm is chosen for me?
And another example, with RecipesBase.jl I’ll be implementing recipes, but to test them I need to install the Plots.jl package anyway.
Is it as simple as Pkg.add
ing both the smaller and larger packages to my package, but avoid import
/using
them in my source code?