How to conditionally load code with package extensions

Christopher_Fisher
Thu, 13 Jul 2023 15:27:34 +0000
General Usage

I have been going through documentation and examples on GitHub to learn how to conditionally load code. I keep running into issues. I think I would benefit from a MWE. I created a repo for this purpose here. I would like some code load conditionally when Distributions.jl is also loaded. Here is what I have done so far:

using PackageExtensionsExample
using Distributions

When I load Distributions, I receive the following error:
Summary (click for more details)
Running resolve and instantiate do not solve the issue. Any help would be greatly apprecaited.

3 posts - 1 participant