In my package with multiple modules have some plot functions for some data types that I am trying to move into extensions to remove plots dependency and allow a Makie option as well. The module extensions which are based on RecipesBase move over fine, but the ones based on Plots give Precompile warnings and seem to fail because of this (but I could be on a wild goose chase.)
I tried putting precompile(false) at the top of the extension with the segregated plot routines, and I thought that worked, but testing doesn’t like it so much. I was hoping I could still get precompile on the majority of the module, and not worry about it for the Plotting portion if that is required.
I thought I’d ask is there a standard way to do this. I ultimately don’t want Plots as a dependency for this, do I need to create a whole new package just for plotting some of this stuff and forget the extensions?
Does this make sense?